|
|
@@ -99,18 +99,11 @@ namespace TeamAAS_VP.Services
|
|
|
}
|
|
|
|
|
|
string url = "";
|
|
|
- if (deviceNo == 0)//×é×°Õ¾
|
|
|
+ if (device.F == "PTL")
|
|
|
{
|
|
|
- if (device.F == "PTL")
|
|
|
- {
|
|
|
- url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&comp={device.comp}:{comp}&p=message,sn,wo,model_num,color,ppid,revision";
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&p=message,sn,wo,model_num,color,ppid,revision";
|
|
|
- }
|
|
|
+ url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&comp={device.comp}:{comp}&p=message,sn,wo,model_num,color,ppid,revision";
|
|
|
}
|
|
|
- else//±£Ñ¹Õ¾
|
|
|
+ else
|
|
|
{
|
|
|
url = $"{device.MesUrl}?c=QUERY_RECORD&line={device.Line}&station={device.Station}&fixtureid={device.FixtureId}&sn={sn}&p=message,sn,wo,model_num,color,ppid,revision";
|
|
|
}
|