Demo 程序:
MoveValue('simulator.Channel_1.Device_1.Tag_1','simulator.Channel_2.Device_1.Tag_1');
MoveValue('simulator.Channel_1.Device_1.Tag_2','simulator.Channel_2.Device_1.Tag_2');
MoveValue('simulator.Channel_1.Device_1.Tag_3','simulator.Channel_2.Device_1.Tag_3');
MoveValue('simulator.Channel_1.Device_1.Tag_4','simulator.Channel_2.Device_1.Tag_4');
MoveValue('simulator.Channel_1.Device_1.Tag_5','simulator.Channel_2.Device_1.Tag_5');
MoveValue('simulator.Channel_1.Device_1.Tag_6','simulator.Channel_2.Device_1.Tag_6');
MoveValue('simulator.Channel_1.Device_1.Tag_7','simulator.Channel_2.Device_1.Tag_7');
MoveValue('simulator.Channel_1.Device_1.Tag_8','simulator.Channel_2.Device_1.Tag_8');
Demo 程序说明:
通过 JS 脚本内的 MoveValue( )函数将 Channel.Device_1 设备的数据赋给 Channe2.Device_1 设备,这样就实现了两个从站设备之间的通讯。