public override string dumpToString() { string toRet = "Input: " + _type.ToString()+_port.ToString(); return toRet; }
private void change_Input(rv.InputCommand.InputType x, int i) { InputCommand ic2 = new InputCommand(x, i); if (c.sendCommand(ic2) == Command.Response.SUCCESS) Console.WriteLine(ic2.dumpToString()); else Console.WriteLine("Communication Error"); }