void ICommandClient.DoCommand(object commandTag) { if (!(commandTag is Command)) { return; } switch ((Command)commandTag) { case Command.Mark: SledOutDevice.OutLine(SledMessageType.Info, "------ Mark ------"); break; case Command.Clear: SledOutDevice.Clear(); break; } }