Пример #1
0
 private void InitMouseLeftButtonDownCommand()
 {
     MouseLeftButtonDownCommand = new RelayCommand(async() =>
     {
         var plcDeviceInfo = PLCDeviceService.GetPLCDeviceInfo(PortName, DeviceNumber);
         await plcDeviceInfo.RaiseDigitalSwitchStatus(ControlNumber);
     });
 }