Commit 14e7fa7e LN

状态灯 黄灯亮蓝色灯

1 个父辈 623ac09b
......@@ -179,18 +179,6 @@ namespace SmartShelf.Common
/// 客户端发送 当前灯的状态:key为posOpened value为当前亮灯的库位,如果多个用|分割
/// </summary>
public static string posOpened = "posOpened";
///// <summary>
///// 卡信息: key为card value为读取到的卡内容,卡号-内容
///// </summary>
//public static string card = "card";
///// <summary>
///// 写卡: key=writeCard value为要写的内容
///// </summary>
//public static string writeCard = "writeCard";
///// <summary>
///// key= cardResult value = OK表示写成功
///// </summary>
//public static string cardResult = "cardResult";
}
}
......@@ -132,6 +132,7 @@ namespace SmartShelf.Common
LOGGER.Error("JsonHelper.SerializeObject(operation) 出错【operation.op=" + operation.op + "】" + ex);
}
string result = Post(url, json);
LOGGER.Debug("url【"+ url + "】【"+json+"】 result【"+result+"】" );
if (!string.IsNullOrEmpty(result))
{
try
......
......@@ -100,8 +100,8 @@ namespace SmartShelf.DeviceLibrary
else if ("yellow".Equals(color))
{
CurrLedStatus = 2;
sLed.Add(Light.YellowLight(dmx, index));
}
sLed.Add(Light.BlueLight(dmx, index));
}
}
}
module.LightOn(sLed.ToArray());
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!