点击或拖拽改变大小

DeviceServerActiveTimeSpan 属性

获取或设置两次数据交互时的最小时间间隔,默认为24小时。如果超过该设定的时间不进行数据交互,服务器就会强制断开当前的连接操作。
Get or set the minimum time interval between two data interactions, the default is 24 hours. If the data exchange is not performed for more than the set time, the server will forcibly disconnect the current connection operation.

命名空间:  HslCommunication.Core.Device
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public TimeSpan ActiveTimeSpan { get; set; }

属性值

类型:TimeSpan
备注
举例设置为10分钟,ActiveTimeSpan = TimeSpan.FromMinutes( 10 );
参见