|
|
@@ -220,7 +220,7 @@ namespace DataVAPI.Controllers |
|
|
|
#endregion |
|
|
|
if (i == 0) { |
|
|
|
devid = p.DeviceID.ToString(); |
|
|
|
namesy = dev != null ? dev.devicename : ""; |
|
|
|
namesy = dev != null ? dev.devicename : "空"; |
|
|
|
i++; |
|
|
|
} |
|
|
|
aly_data.Add( new |
|
|
@@ -230,7 +230,7 @@ namespace DataVAPI.Controllers |
|
|
|
DeviceID = p.DeviceID.ToString(), |
|
|
|
DeviceName = p.DeviceName, |
|
|
|
DeviceTypeKey = p.DeviceTypeKey, |
|
|
|
AlyName = dev != null ? dev.devicename : "", |
|
|
|
AlyName = dev != null ? dev.devicename : "空", |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
@@ -296,7 +296,7 @@ namespace DataVAPI.Controllers |
|
|
|
DeviceID= p.DeviceID.ToString(), |
|
|
|
DeviceName= p.DeviceName, |
|
|
|
DeviceTypeKey = p.DeviceTypeKey, |
|
|
|
AlyName= dev!=null?dev.devicename: "", |
|
|
|
AlyName= dev!=null?dev.devicename: "空", |
|
|
|
}; |
|
|
|
list.Add(obj); |
|
|
|
}); |
|
|
|