Merge branch 'release/AddCheckRebalance_04'
This commit is contained in:
@@ -971,7 +971,11 @@ namespace NKC_WF.WebUserControls
|
||||
directAssign = true;
|
||||
StartSet.OrderSet = OrderedList.OrderByDescending(x => x.Value).Take(num2proc).ToDictionary(t => t.Key, t => t.Value);
|
||||
// tolgo ordini lunghi tra quelli da processare
|
||||
OrderedList = OrderedList.Take(OrderedList.Count - num2proc).ToDictionary(t => t.Key, t => t.Value);
|
||||
foreach (var ordTaken in StartSet.OrderSet)
|
||||
{
|
||||
OrderedList.Remove(ordTaken.Key);
|
||||
}
|
||||
//OrderedList = OrderedList.OrderBy(x => x.Value).Take(OrderedList.Count - num2proc).ToDictionary(t => t.Key, t => t.Value);
|
||||
// imposto nuovi target secondo sia abilitato
|
||||
int idx = 0;
|
||||
SetNe01.TargetValue -= enable01 ? StartSet.OrderSet.Skip(idx++).FirstOrDefault().Value : 0;
|
||||
|
||||
Reference in New Issue
Block a user