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)); } }
public void HandleCustomCommandDeleteFlux(CustomCommandModel customCommand) { LogD.Info($"CustomCommand: 收到删除[{customCommand.CMDData:D3}]号抽采测点命令 ******"); ConfigFluxEvent?.Invoke(this, new ConfigFluxEventArgs(customCommand, int.Parse(customCommand.CMDData), CustomOperation.Delete)); }