摘要:        
类CSocketClient主要包括以下内容: private TcpClient _client; public Thread _connectionThread; private StreamWriter _write; public ClientRecMsgClass GClientRecMs    阅读全文
posted @ 2024-09-29 17:27
echo-efun
阅读(150)
评论(0)
推荐(0)
        
            
        
        
摘要:        
如16进制A要填充为000A string str ="A"; str.PadLeft(4,'0');    阅读全文
posted @ 2024-09-29 17:26
echo-efun
阅读(22)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.读取一个或多个保持寄存器的数值 如指令00 02 00 00 00 06 01 03 F2 00 00 06 00 02 事务标识符 00 00 协议标识符 00 06 长度标识符(从站号开始到指令结尾共有6个byte) 01 站号 03 功能码(读取一个或多个保持寄存器的数值) F2 00 起    阅读全文
posted @ 2024-09-29 16:04
echo-efun
阅读(943)
评论(0)
推荐(0)
        
            
        
        
摘要:        
类继承INotifyPropertyChanged接口,然后把List的类型改为ObservableCollection 如下 private ObservableCollection<string> reagentNameList = new ObservableCollection<string    阅读全文
posted @ 2024-09-29 15:30
echo-efun
阅读(52)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号