From 71e4afb05d3b2c7d6ae3521b64f8931a743465db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E9=94=84=E5=A4=B4?= Date: Fri, 8 Dec 2023 16:56:42 +0800 Subject: [PATCH] GetLGInfo --- .../InterfaceDocking/HttpResponse.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/InterfaceDocking/HttpResponse.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/InterfaceDocking/HttpResponse.cs index 2cbb254..f5024f8 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/InterfaceDocking/HttpResponse.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/InterfaceDocking/HttpResponse.cs @@ -31,15 +31,15 @@ namespace Mesnac.Action.ChemicalWeighing.InterfaceDocking public Dictionary GetLGInfo() { Dictionary dic = new Dictionary(); - for (int i = 1; i <=8; i++) + for (int i = 1; i <= 8; i++) { dic.Add(i, ""); } - string stry = new GetLGInfoEntity().JsonTo(); - var str= Post("http://192.168.202.34:30000/prod-api/open/openInterface/getLGInfo", stry); try { + string stry = new GetLGInfoEntity().JsonTo(); + var str = Post("http://192.168.202.34:30000/prod-api/open/openInterface/getLGInfo", stry); var job = JObject.Parse(str); if (job["code"].ToString()== "200") {