This commit is contained in:
Binary file not shown.
@ -82,7 +82,8 @@
|
|||||||
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="LightContrl">
|
<Reference Include="LightContrl, Version=3.0.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\DLL\LightContrl.dll</HintPath>
|
<HintPath>..\DLL\LightContrl.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
@ -143,14 +143,15 @@ namespace Epost.DPS.Controllers
|
|||||||
MainControl control = conlist.FirstOrDefault().maincontrol;
|
MainControl control = conlist.FirstOrDefault().maincontrol;
|
||||||
bool bo = false;
|
bool bo = false;
|
||||||
string Address = dt.Rows[0]["address"].ToString().Trim();
|
string Address = dt.Rows[0]["address"].ToString().Trim();
|
||||||
|
string resstr = string.Empty;
|
||||||
if (item.lightType == "0")
|
if (item.lightType == "0")
|
||||||
{
|
{
|
||||||
|
|
||||||
bo = control.LED_OFF(ipaddress, Address);
|
bo = control.LED_OFF(ipaddress, Address,ref resstr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bo = control.LED_ON(ipaddress, Address, "3", "0" , item.lightColor.Trim());
|
bo = control.LED_ON(ipaddress, Address, ref resstr, "3", "0" , item.lightColor.Trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -247,7 +248,8 @@ namespace Epost.DPS.Controllers
|
|||||||
list.Add(show);
|
list.Add(show);
|
||||||
|
|
||||||
}
|
}
|
||||||
bool bo = control.LED_By_Paragraph(ipaddress, address, list);
|
string resstr = string.Empty;
|
||||||
|
bool bo = control.LED_By_Paragraph(ipaddress, address, list,ref resstr);
|
||||||
if (bo)
|
if (bo)
|
||||||
{
|
{
|
||||||
res.resultCode = "0";
|
res.resultCode = "0";
|
||||||
@ -256,7 +258,7 @@ namespace Epost.DPS.Controllers
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
res.resultCode = "-1";
|
res.resultCode = "-1";
|
||||||
res.resultMsg = "失败";
|
res.resultMsg = resstr;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>Release|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<Use64BitIISExpress />
|
<Use64BitIISExpress />
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
<IISExpressAnonymousAuthentication />
|
<IISExpressAnonymousAuthentication />
|
||||||
|
Reference in New Issue
Block a user