瀏覽代碼

454343

master
fyf 2 年之前
父節點
當前提交
6c0fad7916
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      DataVAPI/UpAndDown/ProcessServer.cs

+ 1
- 1
DataVAPI/UpAndDown/ProcessServer.cs 查看文件

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

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

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


Loading…
取消
儲存