kingSCADA这段脚本的含义 点击:1010 | 回复:0



旗旗_1

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:2帖 | 4回
  • 年度积分:2
  • 历史总积分:182
  • 注册:2012年7月10日
发表于:2019-04-25 17:28:07
楼主

string ConnectStr,SQLCommand,datetime;

string SQLCommand1,SQLCommand2,SQLCommand3,SQLCommand4,SQLCommand5,SQLCommand6,SQLCommand7,SQLCommand8,SQLCommand9;

string SQLCommand10,SQLCommand11,SQLCommand12,SQLCommand13,SQLCommand14,SQLCommand15,SQLCommand16,SQLCommand17,SQLCommand18;


\\local\日期时间纪录=\\local\$Date+" "+\\local\$Time;

ConnectStr="DSN=LCRL;UID=LCRL16;PWD=LCRL16;";


SQLCommand="insert into HTRDATA1002 Values('"+\\local\日期时间纪录+"',1161002,1,'"+\\local\日期时间纪录+"','"+\\local\浙报A区通讯状态+"','"+\\local\YCLX+"','"+\\local\浙报A区.一供污前压力+"','"+\\local\浙报A区.一供除后压力+"')";

insert into HTRDATA1007 Values('"+\\local\日期时间纪录+"',1161007,1,'"+\\local\日期时间纪录+"','"+\\local\湄河公寓通讯状态+"','"+\\local\YCLX+"','"+\\local\湄河公寓.一供污前压力+"')";

脚本中HTRDATA1002 ,HTRDATA1007是如何定义的,为何定义这样的数据:1161002,1,   1161007,1,  这两个数据又是依据什么定义的?请教各位师傅,多谢了。



热门招聘
相关主题

官方公众号

智造工程师