|
|
@@ -225,9 +225,9 @@ namespace DataVAPI.Controllers |
|
|
|
} |
|
|
|
aly_data.Add( new |
|
|
|
{ |
|
|
|
ClientId = p.ClientId, |
|
|
|
ClientId = p.ClientId.ToString(), |
|
|
|
ClientName = p.ClientName, |
|
|
|
DeviceID = p.DeviceID, |
|
|
|
DeviceID = p.DeviceID.ToString(), |
|
|
|
DeviceName = p.DeviceName, |
|
|
|
DeviceTypeKey = p.DeviceTypeKey, |
|
|
|
AlyName = dev != null ? dev.devicename : "", |
|
|
@@ -237,7 +237,7 @@ namespace DataVAPI.Controllers |
|
|
|
object _data = new |
|
|
|
{ |
|
|
|
Name = item.Value?[0]?.ClientName, |
|
|
|
ClientId = item.Value?[0]?.ClientId, |
|
|
|
ClientId = item.Value?[0]?.ClientId.ToString(), |
|
|
|
DeviceList= aly_data, |
|
|
|
FirstName = namesy, |
|
|
|
FirstDeviceID= devid |
|
|
@@ -291,9 +291,9 @@ namespace DataVAPI.Controllers |
|
|
|
}); |
|
|
|
object obj = new |
|
|
|
{ |
|
|
|
ClientId= p.ClientId, |
|
|
|
ClientId= p.ClientId.ToString(), |
|
|
|
ClientName= p.ClientName, |
|
|
|
DeviceID= p.DeviceID, |
|
|
|
DeviceID= p.DeviceID.ToString(), |
|
|
|
DeviceName= p.DeviceName, |
|
|
|
DeviceTypeKey = p.DeviceTypeKey, |
|
|
|
AlyName= dev!=null?dev.devicename: "", |
|
|
|