private static void OnRobotCommand(RobotCmd command) { var e = new RobotCommandEventArgs(command); RobotCommandChanged?.Invoke(null, e); }
private void SyncHelper_RobotCommandChanged(object sender, RobotCommandEventArgs e) { e.Command.ProcessCommand(); }