|
|
@ -31,15 +31,15 @@ namespace Mesnac.Action.ChemicalWeighing.InterfaceDocking
|
|
|
|
public Dictionary<int, string> GetLGInfo()
|
|
|
|
public Dictionary<int, string> GetLGInfo()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Dictionary<int, string> dic = new Dictionary<int, string>();
|
|
|
|
Dictionary<int, string> dic = new Dictionary<int, string>();
|
|
|
|
for (int i = 1; i <=8; i++)
|
|
|
|
for (int i = 1; i <= 8; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dic.Add(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
|
|
|
|
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);
|
|
|
|
var job = JObject.Parse(str);
|
|
|
|
if (job["code"].ToString()== "200")
|
|
|
|
if (job["code"].ToString()== "200")
|
|
|
|
{
|
|
|
|
{
|
|
|
|