Пример #1
0
        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;
        }
Пример #2
0
 public Printjob(PrinterConnection c)
 {
     con = c;
 }
Пример #3
0
 public EEPROMStorage(PrinterConnection conn)
 {
     this.conn = conn;
     list      = new Dictionary <int, EEPROMParameter>();
 }
Пример #4
0
 public CommandExecutioner(PrinterConnection conn)
 {
     this.conn = conn;
 }
Пример #5
0
 public EEPROMMarlinStorage(PrinterConnection conn)
 {
     this.conn = conn;
 }