Commit b5e600ac LN

托盘号0不需要更新

1 个父辈 3593d886
...@@ -792,6 +792,10 @@ namespace OnlineStore.DeviceLibrary ...@@ -792,6 +792,10 @@ namespace OnlineStore.DeviceLibrary
private static string Addr_updateTray = "/rest/api/qisda/device/updateTray"; private static string Addr_updateTray = "/rest/api/qisda/device/updateTray";
public static void updateTray(int trayNum) public static void updateTray(int trayNum)
{ {
if (trayNum <= 0)
{
return;
}
Task.Factory.StartNew(delegate Task.Factory.StartNew(delegate
{ {
try try
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!