785
This commit is contained in:
parent
9a45eb758a
commit
d6e82d3bdc
@ -145,7 +145,7 @@ namespace ZR.Service.MES.andon
|
||||
DateTime midnight = GetMidnightTime(xdata);
|
||||
DateTime noon = GetNoonTime(xdata);
|
||||
var temp= InitData.Where(it => it.StartTime >= midnight && it.StartTime <= noon).Sum(it => it.Duration);
|
||||
Data[Xdata.IndexOf(xdata)] = Math.Round(temp, 2);
|
||||
Data[Xdata.IndexOf(xdata)] = Math.Round(temp.Value, 2);
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user