Commit a7cf8b39 LN

mark默认=0

1 个父辈 55b0c896
...@@ -196,7 +196,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -196,7 +196,7 @@ namespace OnlineStore.DeviceLibrary
} }
CylinderMove(MoveInfo, IO_Type.TopCylinder_Up, IO_Type.TopCylinder_Down); CylinderMove(MoveInfo, IO_Type.TopCylinder_Up, IO_Type.TopCylinder_Down);
} }
private string GetMarkInfo(string defualtMark = "") private string GetMarkInfo(string defualtMark = "0")
{ {
string mark = defualtMark; string mark = defualtMark;
......
...@@ -90,7 +90,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -90,7 +90,11 @@ namespace OnlineStore.DeviceLibrary
} }
public static void SetStatus(string id, string mark = "", string shelfId = "", ClientAction action = ClientAction.None, ClientLevel level = ClientLevel.Low, bool isMust = false) public static void SetStatus(string id, string mark = "", string shelfId = "", ClientAction action = ClientAction.None, ClientLevel level = ClientLevel.Low, bool isMust = false)
{ {
if (mark.Equals(""))
{
mark = "0";
}
if (!isMust) if (!isMust)
{ {
if (actionMap.ContainsKey(id)) if (actionMap.ContainsKey(id))
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!