fyf 2 anos atrás
pai
commit
cf93f940fc
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      DataVAPI/Controllers/OrderController.cs

+ 3
- 3
DataVAPI/Controllers/OrderController.cs Ver arquivo

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


Carregando…
Cancelar
Salvar