21 lines
414 B
C#
21 lines
414 B
C#
|
|
|
|
/// <summary>
|
|
/// WCS 推送设备数据处理
|
|
/// </summary>
|
|
public interface IWcsSocketDataHandle:IDevice
|
|
{
|
|
/// <summary>
|
|
/// 后台数据变化处理
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
/// <param name="other"></param>
|
|
void DataHandle(object data,object other = null);
|
|
|
|
WebSocketChannleKey GetChannleKey()
|
|
{
|
|
return new WebSocketChannleKey(DeviceCode, DeviceType);
|
|
}
|
|
|
|
}
|