public RobotCommandEventArgs(RobotCmd cmd) { Command = cmd; }
private static void OnRobotCommand(RobotCmd command) { var e = new RobotCommandEventArgs(command); RobotCommandChanged?.Invoke(null, e); }