public void PrintIdMessage() { ConsoleColor c = prompt.helpTextColor; prompt.Write("SF id ", true); prompt.Write(id.ToString(), c, false); prompt.Write(" port ", false); prompt.Write(port.ToString(), c, false); prompt.Write(" comm ", false); prompt.Write(motecom + "\n", c, false); }
private void printVars(string f) { ConsoleColor valueColor = prompt.helpTextColor; if (f.Equals("X")) { prompt.Write("HEX: { ", true); } else { f = ""; prompt.Write("DEC: { ", true); } prompt.Write("dest = ", false); prompt.Write(this.dest.ToString(f), valueColor, false); prompt.Write(", ", false); prompt.Write("src = ", false); prompt.Write(this.src.ToString(f), valueColor, false); prompt.Write(", ", false); prompt.Write("am = ", false); prompt.Write(this.amtype.ToString(f), valueColor, false); prompt.Write(", ", false); prompt.Write("group = ", false); prompt.Write(this.group.ToString(f), valueColor, false); prompt.Write(" } \n", false); }