HslHelper 属性 |
HslHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
HslRandom |
本通讯项目的随机数信息 Random number information for this newsletter | |
LockLimit |
本通讯项目单个通信对象最多的锁累积次数,超过该次数,将直接返回失败。 The maximum number of lock accumulations for a single communication object in this communication item, beyond which the number will be returned as a failure. | |
UseAsyncLock |
本通信库的单个通信对象在异步通信的时候是否使用异步锁,默认True,适用于winform,wpf等UI程序(有效防止UI上同时读写PLC时发生死锁问题),如果是控制台程序或是纯后台线程采集的程序,适合配置False Whether a single communication object of this communication library uses asynchronous locks during asynchronous communication, the default is True, which is suitable for UI programs such as winform, wpf and so on (effectively preventing deadlock problems when reading and writing PLCs at the same time on the UI), and if it is a console program or a program collected by pure background threads, it is suitable to configure False |