添加 ETV语音电视的支持。另外修改一些BUG
This commit is contained in:
@@ -188,7 +188,7 @@ namespace RCUHost.Implement
|
||||
{
|
||||
logger.Error("Host Server启动失败,端口:3339");
|
||||
Close();
|
||||
throw ex;//不能去掉,否则重启iis服务,通讯服务不会再次启动
|
||||
//throw ex;//不能去掉,否则重启iis服务,通讯服务不会再次启动
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -1517,10 +1517,13 @@ namespace RCUHost.Implement
|
||||
byte cmdTypeTTT = context.SystemHeader.Value.CmdType;
|
||||
if (cmdTypeTTT == 0x36)
|
||||
{
|
||||
IReceiver receiver = receivers[(CommandType)0x36];
|
||||
if (receiver != null)
|
||||
if (receivers.ContainsKey((CommandType)0x36))
|
||||
{
|
||||
(receiver as GenericReceiverBase).Process(context);//处理业务逻辑
|
||||
IReceiver receiver = receivers[((CommandType)0x36)];
|
||||
if (receiver != null)
|
||||
{
|
||||
(receiver as GenericReceiverBase).Process(context);//处理业务逻辑
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user