本软件下载地址未录入,如想要软件请评论,我们会补上!NModbus串口数据接收存入SQL是一份支持接收到数据中心的直通, 并存入 Sql。目前在使用中, 前端是西门子300主站, 通过云传输, 数据中心接收。
System.Timers.Timer t = new System.Timers.Timer(1000*15); //实例化Timer类,设置间隔时间为10000毫秒;
t.Elapsed += new System.Timers.ElapsedEventHandler(theout); //到达时间的时候执行事件;
t.AutoReset = true; //设置是执行一次(false)还是一直执行(true);