Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationTerminal
This commit is contained in:
commit
e4d0530cc3
1 file changed
+5
-1
+5
-1
@@ -221,6 +221,7 @@ public class InfoMachineItem
|
||||
public static void Info_data(string dat, string id)
|
||||
{
|
||||
var data = JsonSerializer.Deserialize<List<Dictionary<string, object>>>(dat)!;
|
||||
//助剂原料查询
|
||||
if (id == "00")
|
||||
{
|
||||
foreach (var item in data!)
|
||||
@@ -258,7 +259,8 @@ public class InfoMachineItem
|
||||
}
|
||||
if (InfoProbuctItems.Count == 0) InfoProbuctItems.Add(new ProbuctItem());
|
||||
}
|
||||
else if(id == "10")
|
||||
//染料查询
|
||||
else if (id == "10")
|
||||
{
|
||||
foreach (var item in data!)
|
||||
{
|
||||
@@ -289,6 +291,7 @@ public class InfoMachineItem
|
||||
}
|
||||
if (InfoMachineItems.Count == 0) InfoMachineItems.Add(new InfoMachineItem());
|
||||
}
|
||||
//染料查询查询化料货架
|
||||
else if (id == "12")
|
||||
{
|
||||
foreach (var item in data!)
|
||||
@@ -330,6 +333,7 @@ public class InfoMachineItem
|
||||
}
|
||||
if (InfoMachineItems.Count == 0) InfoMachineItems.Add(new InfoMachineItem());
|
||||
}
|
||||
//助剂查询
|
||||
else if (id == "20")
|
||||
{
|
||||
foreach (var item in data!)
|
||||
|
||||
Reference in new issue
Block a user