This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user