This commit is contained in:
jl
2023-04-20 16:36:30 +08:00
parent ab8ac9cce6
commit 3a08c033ba
7 changed files with 63 additions and 38 deletions

View File

@ -10,6 +10,7 @@ using System.Web.Http;
using LightContrl;
using Epost.DAL.Cache;
using System.Net;
namespace Epost.DPS.Controllers
{
@ -72,6 +73,11 @@ namespace Epost.DPS.Controllers
}
else {
res.resultCode = "-1";
res.resultMsg = "播种墙号错误";
return res;
}
}
}
@ -123,7 +129,7 @@ namespace Epost.DPS.Controllers
}
else
{
bo = control.LED_ON(ipaddress, Address, "3", "0", "1");
bo = control.LED_ON(ipaddress, Address, "3", "0" , item.lightColor.Trim());
}