Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d1d2bd6bc | ||
|
|
e4d0530cc3 |
+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