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") {