ModbusTcpServerRequestDelayTime 属性 |
获取或设置两次请求直接的延时时间,单位毫秒,默认是0,不发生延时,设置为20的话,可以有效防止有客户端疯狂进行请求而导致服务器的CPU占用率上升。
Get or set the direct delay time of two requests, in milliseconds, the default is 0, no delay occurs, if it is set to 20,
it can effectively prevent the client from making crazy requests and causing the server's CPU usage to increase.
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public int RequestDelayTime { get; set; }
Public Property RequestDelayTime As Integer
Get
Set
public:
property int RequestDelayTime {
int get ();
void set (int value);
}
member RequestDelayTime : int with get, set
属性值
类型:
Int32参见