public void save(PrinterConnection conn) { if (!changed) { return; // nothing changed } string cmd = "M206 T" + type + " P" + position + " "; if (type == 3) { cmd += "X" + val; } else { cmd += "S" + val; } conn.injectManualCommand(cmd); changed = false; }
public Printjob(PrinterConnection c) { con = c; }
public EEPROMStorage(PrinterConnection conn) { this.conn = conn; list = new Dictionary <int, EEPROMParameter>(); }
public CommandExecutioner(PrinterConnection conn) { this.conn = conn; }
public EEPROMMarlinStorage(PrinterConnection conn) { this.conn = conn; }