Beispiel #1
0
 private void HandleCustomCommandConfigFlux(CustomCommandModel customCommand)
 {
     LogD.Info($"CustomCommand: 收到编辑[{customCommand.CMDData:D3}]号抽采测点命令 ******");
     if (string.IsNullOrEmpty(customCommand.CMDData))
     {
         customCommand.Finish();
     }
     else
     {
         ConfigFluxEvent?.Invoke(this, new ConfigFluxEventArgs(customCommand, int.Parse(customCommand.CMDData), CustomOperation.Update));
     }
 }
Beispiel #2
0
 public void HandleCustomCommandDeleteFlux(CustomCommandModel customCommand)
 {
     LogD.Info($"CustomCommand: 收到删除[{customCommand.CMDData:D3}]号抽采测点命令 ******");
     ConfigFluxEvent?.Invoke(this, new ConfigFluxEventArgs(customCommand, int.Parse(customCommand.CMDData), CustomOperation.Delete));
 }