Browse Source

232

master
fyf 2 years ago
parent
commit
cf93f940fc
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      DataVAPI/Controllers/OrderController.cs

+ 3
- 3
DataVAPI/Controllers/OrderController.cs View File

@@ -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);
});


Loading…
Cancel
Save