This commit is contained in:
@ -29,6 +29,7 @@ namespace Epost.DPS.Controllers
|
|||||||
ResultLightModel res = new ResultLightModel();
|
ResultLightModel res = new ResultLightModel();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
LogHelper.WriteLogInfo("CONNECT请求" + JsonHelper.SerializeObject(data));
|
||||||
if (data.Any() && data.Count > 0)
|
if (data.Any() && data.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (var item in data)
|
foreach (var item in data)
|
||||||
@ -46,6 +47,9 @@ namespace Epost.DPS.Controllers
|
|||||||
if (conlist != null && conlist.Count > 0)
|
if (conlist != null && conlist.Count > 0)
|
||||||
{
|
{
|
||||||
LogHelper.WriteLogInfo(ipaddress + "已连接!");
|
LogHelper.WriteLogInfo(ipaddress + "已连接!");
|
||||||
|
res.resultCode = "0";
|
||||||
|
res.resultMsg = "成功!";
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -66,22 +70,18 @@ namespace Epost.DPS.Controllers
|
|||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "连接失败" + ipaddress;
|
res.resultMsg = "连接失败" + ipaddress;
|
||||||
|
LogHelper.WriteLogInfo("连接失败" + ipaddress);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "播种墙号错误";
|
res.resultMsg = "播种墙号错误";
|
||||||
|
LogHelper.WriteLogInfo("播种墙号错误");
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -124,6 +124,7 @@ namespace Epost.DPS.Controllers
|
|||||||
ResultLightModel res = new ResultLightModel();
|
ResultLightModel res = new ResultLightModel();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
LogHelper.WriteLogInfo("LEDON请求" + JsonHelper.SerializeObject(data));
|
||||||
if (data.Any() && data.Count > 0)
|
if (data.Any() && data.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (var item in data)
|
foreach (var item in data)
|
||||||
@ -165,6 +166,7 @@ namespace Epost.DPS.Controllers
|
|||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "失败";
|
res.resultMsg = "失败";
|
||||||
|
LogHelper.WriteLogInfo(ipaddress+"失败!" +resstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -172,6 +174,7 @@ namespace Epost.DPS.Controllers
|
|||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "请先连接设备";
|
res.resultMsg = "请先连接设备";
|
||||||
|
LogHelper.WriteLogInfo("请先连接设备!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -190,6 +193,7 @@ namespace Epost.DPS.Controllers
|
|||||||
|
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "请求参数错误!";
|
res.resultMsg = "请求参数错误!";
|
||||||
|
LogHelper.WriteLogInfo("请求参数错误!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -215,6 +219,7 @@ namespace Epost.DPS.Controllers
|
|||||||
ResultLightModel res = new ResultLightModel();
|
ResultLightModel res = new ResultLightModel();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
LogHelper.WriteLogInfo("DISPLAYJOB请求" + JsonHelper.SerializeObject(data));
|
||||||
if (data.Any() && data.Count > 0)
|
if (data.Any() && data.Count > 0)
|
||||||
{
|
{
|
||||||
foreach (DisplayjobModelReq item in data)
|
foreach (DisplayjobModelReq item in data)
|
||||||
@ -252,11 +257,13 @@ namespace Epost.DPS.Controllers
|
|||||||
bool bo = control.LED_By_Paragraph(ipaddress, address, list,ref resstr);
|
bool bo = control.LED_By_Paragraph(ipaddress, address, list,ref resstr);
|
||||||
if (bo)
|
if (bo)
|
||||||
{
|
{
|
||||||
|
LogHelper.WriteLogInfo("成功" + ipaddress+"list:"+JsonHelper.SerializeObject(list));
|
||||||
res.resultCode = "0";
|
res.resultCode = "0";
|
||||||
res.resultMsg = "成功!";
|
res.resultMsg = "成功!";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
LogHelper.WriteLogInfo("失败"+ ipaddress + "list:" + JsonHelper.SerializeObject(list),LogHelper.Log_Type.ERROR);
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = resstr;
|
res.resultMsg = resstr;
|
||||||
return res;
|
return res;
|
||||||
@ -268,6 +275,7 @@ namespace Epost.DPS.Controllers
|
|||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "请先连接设备!";
|
res.resultMsg = "请先连接设备!";
|
||||||
|
LogHelper.WriteLogInfo("请先连接设备!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,7 +283,8 @@ namespace Epost.DPS.Controllers
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "连接失败";
|
res.resultMsg = "播种墙号错误!";
|
||||||
|
LogHelper.WriteLogInfo("播种墙号错误!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
|
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
|
||||||
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
<WebStackScaffolding_ViewDialogWidth>600</WebStackScaffolding_ViewDialogWidth>
|
||||||
<NameOfLastUsedPublishProfile>E:\WORK\代码管理\T系列\播种\Epost.TestToolsWeb\Properties\PublishProfiles\Toolsweb.pubxml</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>E:\WORK\代码管理\T系列\播种\Epost.TestToolsWeb\Properties\PublishProfiles\Toolsweb.pubxml</NameOfLastUsedPublishProfile>
|
||||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||||
<Use64BitIISExpress />
|
<Use64BitIISExpress />
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
<IISExpressAnonymousAuthentication />
|
<IISExpressAnonymousAuthentication />
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||||
<_PublishTargetUrl>D:\驿传\T系列</_PublishTargetUrl>
|
<_PublishTargetUrl>D:\驿传\T系列</_PublishTargetUrl>
|
||||||
<History>True|2023-04-20T02:35:53.5768979Z;True|2022-07-15T16:41:13.9750291+08:00;True|2022-07-14T14:02:20.7983427+08:00;True|2022-07-13T17:40:22.7531000+08:00;True|2022-07-13T17:34:22.9908701+08:00;True|2022-07-13T17:30:06.3588502+08:00;True|2022-07-11T10:32:06.9053981+08:00;True|2021-04-26T10:07:37.4889549+08:00;True|2021-04-09T10:32:51.9130162+08:00;True|2021-04-09T10:31:50.4974012+08:00;</History>
|
<History>True|2023-04-23T07:53:28.0062911Z;True|2023-04-22T10:28:09.9896404+08:00;True|2023-04-20T10:35:53.5768979+08:00;True|2022-07-15T16:41:13.9750291+08:00;True|2022-07-14T14:02:20.7983427+08:00;True|2022-07-13T17:40:22.7531000+08:00;True|2022-07-13T17:34:22.9908701+08:00;True|2022-07-13T17:30:06.3588502+08:00;True|2022-07-11T10:32:06.9053981+08:00;True|2021-04-26T10:07:37.4889549+08:00;True|2021-04-09T10:32:51.9130162+08:00;True|2021-04-09T10:31:50.4974012+08:00;</History>
|
||||||
<LastFailureDetails />
|
<LastFailureDetails />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -33,19 +33,19 @@
|
|||||||
<publishTime>04/04/2018 15:45:12</publishTime>
|
<publishTime>04/04/2018 15:45:12</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/App_global.asax.compiled">
|
<File Include="bin/App_global.asax.compiled">
|
||||||
<publishTime>04/20/2023 18:07:45</publishTime>
|
<publishTime>04/23/2023 15:53:24</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/App_global.asax.dll">
|
<File Include="bin/App_global.asax.dll">
|
||||||
<publishTime>04/20/2023 18:07:45</publishTime>
|
<publishTime>04/23/2023 15:53:24</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BouncyCastle.Crypto.dll">
|
<File Include="bin/BouncyCastle.Crypto.dll">
|
||||||
<publishTime>02/24/2020 15:29:24</publishTime>
|
<publishTime>02/24/2020 15:29:24</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Common.dll">
|
<File Include="bin/Common.dll">
|
||||||
<publishTime>04/20/2023 18:07:34</publishTime>
|
<publishTime>04/23/2023 15:53:13</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Common.pdb">
|
<File Include="bin/Common.pdb">
|
||||||
<publishTime>04/20/2023 18:07:34</publishTime>
|
<publishTime>04/23/2023 15:53:13</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/ComposerSDK.dll">
|
<File Include="bin/ComposerSDK.dll">
|
||||||
<publishTime>04/29/2020 16:50:14</publishTime>
|
<publishTime>04/29/2020 16:50:14</publishTime>
|
||||||
@ -63,31 +63,31 @@
|
|||||||
<publishTime>10/23/2017 13:15:20</publishTime>
|
<publishTime>10/23/2017 13:15:20</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.BLL.dll">
|
<File Include="bin/Epost.BLL.dll">
|
||||||
<publishTime>04/20/2023 18:07:35</publishTime>
|
<publishTime>04/23/2023 15:53:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.BLL.pdb">
|
<File Include="bin/Epost.BLL.pdb">
|
||||||
<publishTime>04/20/2023 18:07:35</publishTime>
|
<publishTime>04/23/2023 15:53:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.BLL.XmlSerializers.dll">
|
<File Include="bin/Epost.BLL.XmlSerializers.dll">
|
||||||
<publishTime>08/26/2020 18:09:48</publishTime>
|
<publishTime>08/26/2020 18:09:48</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.DAL.dll">
|
<File Include="bin/Epost.DAL.dll">
|
||||||
<publishTime>04/20/2023 18:07:35</publishTime>
|
<publishTime>04/23/2023 15:53:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.DAL.pdb">
|
<File Include="bin/Epost.DAL.pdb">
|
||||||
<publishTime>04/20/2023 18:07:35</publishTime>
|
<publishTime>04/23/2023 15:53:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.DPS.dll">
|
<File Include="bin/Epost.DPS.dll">
|
||||||
<publishTime>04/20/2023 18:07:38</publishTime>
|
<publishTime>04/23/2023 15:53:16</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.DPS.pdb">
|
<File Include="bin/Epost.DPS.pdb">
|
||||||
<publishTime>04/20/2023 18:07:38</publishTime>
|
<publishTime>04/23/2023 15:53:16</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.Model.dll">
|
<File Include="bin/Epost.Model.dll">
|
||||||
<publishTime>04/20/2023 18:07:34</publishTime>
|
<publishTime>04/22/2023 10:27:45</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.Model.pdb">
|
<File Include="bin/Epost.Model.pdb">
|
||||||
<publishTime>04/20/2023 18:07:34</publishTime>
|
<publishTime>04/22/2023 10:27:45</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Epost.TestToolsWeb.dll">
|
<File Include="bin/Epost.TestToolsWeb.dll">
|
||||||
<publishTime>09/06/2018 11:57:11</publishTime>
|
<publishTime>09/06/2018 11:57:11</publishTime>
|
||||||
@ -114,10 +114,10 @@
|
|||||||
<publishTime>08/09/2019 08:40:22</publishTime>
|
<publishTime>08/09/2019 08:40:22</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/LightContrl.dll">
|
<File Include="bin/LightContrl.dll">
|
||||||
<publishTime>04/19/2023 15:22:32</publishTime>
|
<publishTime>04/22/2023 10:23:53</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/LightContrl.pdb">
|
<File Include="bin/LightContrl.pdb">
|
||||||
<publishTime>04/19/2023 15:22:32</publishTime>
|
<publishTime>04/22/2023 10:23:53</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/log4net.dll">
|
<File Include="bin/log4net.dll">
|
||||||
<publishTime>03/08/2017 19:26:22</publishTime>
|
<publishTime>03/08/2017 19:26:22</publishTime>
|
||||||
@ -5658,7 +5658,7 @@
|
|||||||
<publishTime>05/30/2022 16:58:47</publishTime>
|
<publishTime>05/30/2022 16:58:47</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="PrecompiledApp.config">
|
<File Include="PrecompiledApp.config">
|
||||||
<publishTime>04/20/2023 18:07:40</publishTime>
|
<publishTime>04/23/2023 15:53:18</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="Scripts/ai.0.22.9-build00167.js">
|
<File Include="Scripts/ai.0.22.9-build00167.js">
|
||||||
<publishTime>04/04/2018 15:45:12</publishTime>
|
<publishTime>04/04/2018 15:45:12</publishTime>
|
||||||
@ -7578,7 +7578,7 @@
|
|||||||
<publishTime>07/04/2022 14:22:38</publishTime>
|
<publishTime>07/04/2022 14:22:38</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="Web.config">
|
<File Include="Web.config">
|
||||||
<publishTime>04/20/2023 10:35:41</publishTime>
|
<publishTime>04/22/2023 10:27:50</publishTime>
|
||||||
</File>
|
</File>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Reference in New Issue
Block a user