天猫精灵背景音乐 ,官方文档 上的设置接口不管用,经过询问使用 另一个接口,完美解决
This commit is contained in:
@@ -4346,10 +4346,20 @@ namespace WebSite.Controllers
|
||||
string KKey = CacheKey.HostModalStatus_Prefix + "_" + host.ID.ToString() + "_" + device.Address;
|
||||
var hostModal_T = CSRedisCacheHelper.Get_Partition<HostModal_Cache>(KKey);
|
||||
|
||||
bool JumpBrightcontrol = true;
|
||||
var is_100 = devicesItem.value.HasValue;
|
||||
if (is_100)
|
||||
{
|
||||
if (devicesItem.value == 100)
|
||||
{
|
||||
JumpBrightcontrol = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (co == 1085 || co == 1001 || co == 1003 || co > 2000)
|
||||
{
|
||||
//logger.Error("查询的Key值:"+KKey);
|
||||
if (hostModal_T != null && hostModal_T.Status == 2) { continue; }
|
||||
if (hostModal_T != null && hostModal_T.Status == 2 && JumpBrightcontrol == true) { continue; }
|
||||
}
|
||||
if (devicesItem.value.HasValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user