Ver código fonte

更新MES查询参数,增加wo字段并调整顺序

将MES查询URL参数p由"sn,message"改为"message,sn,wo",以便接口返回数据时包含工单号(wo)信息,并调整了字段顺序。
徐孝锋 6 meses atrás
pai
commit
9d6c5eecd6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      TeamAAS-VM/Services/MesService.cs

+ 1 - 1
TeamAAS-VM/Services/MesService.cs

@@ -195,7 +195,7 @@ namespace TeamAAS_VP.Services
                 return (false, "Missing MES station URL");
 
             string url = "";
-            url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&p=sn,message";
+            url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&p=message,sn,wo";
 
             LogHelper.WriteLogMes($"¡¾Ñ¯ÎÊURL¡¿{url}");
             SendTaskMessage($"¡¾Ñ¯ÎÊURL¡¿{url}", MessageLevel.Info);