修改3
This commit is contained in:
parent
2e8cdf4461
commit
ec7dc065a8
@ -369,7 +369,7 @@ namespace ZR.Service.MES.dev
|
||||
{
|
||||
NoUseTotal++;
|
||||
deviceInfo.DeviceStatus = 4;
|
||||
NormalTotal++;
|
||||
|
||||
Children.Add(deviceInfo);
|
||||
continue;
|
||||
}
|
||||
@ -382,7 +382,7 @@ namespace ZR.Service.MES.dev
|
||||
{
|
||||
DamageTotal++;
|
||||
deviceInfo.DeviceStatus = 3;
|
||||
NormalTotal++;
|
||||
|
||||
Children.Add(deviceInfo);
|
||||
continue;
|
||||
}
|
||||
@ -395,12 +395,12 @@ namespace ZR.Service.MES.dev
|
||||
.Where((e, p, r) => r.FkDeviceAccountId == item.Id)
|
||||
.Where((e, p, r) => e.Status == 0 || e.Status == 1 || e.Status == 3)
|
||||
.Count();
|
||||
UnmaintainedTotal = UnmaintainedTotal + isExist_point;
|
||||
// UnmaintainedTotal = UnmaintainedTotal + isExist_point;
|
||||
if (isExist_point>0)
|
||||
{
|
||||
|
||||
deviceInfo.DeviceStatus = 2;
|
||||
NormalTotal++;
|
||||
UnmaintainedTotal++;
|
||||
Children.Add(deviceInfo);
|
||||
continue;
|
||||
|
||||
@ -415,13 +415,13 @@ namespace ZR.Service.MES.dev
|
||||
.Where((e, p, r) => e.Status == 0 || e.Status == 1 || e.Status == 3)
|
||||
.Count();
|
||||
|
||||
UnmaintainedTotal = UnmaintainedTotal + isExist_route;
|
||||
// UnmaintainedTotal = UnmaintainedTotal + isExist_route;
|
||||
|
||||
if (isExist_route>0)
|
||||
{
|
||||
|
||||
deviceInfo.DeviceStatus = 2;
|
||||
NormalTotal++;
|
||||
UnmaintainedTotal++;
|
||||
Children.Add(deviceInfo);
|
||||
continue;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user