fyf pirms 2 gadiem
vecāks
revīzija
5a01f4460b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      DataVAPI/UpAndDown/ProcessServer.cs

+ 1
- 1
DataVAPI/UpAndDown/ProcessServer.cs Parādīt failu

@@ -261,7 +261,7 @@ namespace DataVAPI.UpAndDown
int index = 0;

if (receiveModel.status.value == "离线") { index = devModel.operatingDeviceStatus.data.Count - 1; }
else index = devModel.operatingDeviceStatus.data.FindIndex(0, ar => ar.DeviceMS.Contains("离线"));
else index = devModel.operatingDeviceStatus.data.FindIndex(0, ar => ar.DeviceZT.Contains("离线"));
if (index > devModel.operatingDeviceStatus.data.Count - 1) index = devModel.operatingDeviceStatus.data.Count - 1;

int now = devModel.operatingDeviceStatus.data.IndexOf(dev);


Notiek ielāde…
Atcelt
Saglabāt