Ejemplo n.º 1
0
 private void newline(EEPROMMarlinStorage p)
 {
     xstepsbox.Text    = p.SX;
     ystepsbox.Text    = p.SY;
     zstepsbox.Text    = p.SZ;
     estepsbox.Text    = p.SE;
     xfeedbox.Text     = p.FX;
     yfeedbox.Text     = p.FY;
     zfeedbox.Text     = p.FZ;
     efeedbox.Text     = p.FE;
     maccxbox.Text     = p.AX;
     maccybox.Text     = p.AY;
     macczbox.Text     = p.AZ;
     maccebox.Text     = p.AE;
     accbox.Text       = p.ACC;
     raccbox.Text      = p.RACC;
     minfeedbox.Text   = p.AVS;
     mintfeedbox.Text  = p.AVT;
     minsegtbox.Text   = p.AVB;
     maxxyjerkbox.Text = p.AVX;
     mzjerkbox.Text    = p.AVZ;
     ppidbox.Enabled   = ipidbox.Enabled = dpidbox.Enabled = p.hasPID;
     ppidbox.Text      = p.PPID;
     ipidbox.Text      = p.IPID;
     dpidbox.Text      = p.DPID;
     hoxbox.Text       = p.hox;
     hoybox.Text       = p.hoy;
     hozbox.Text       = p.hoz;
 }
Ejemplo n.º 2
0
 public EEPROMMarlin()
 {
     InitializeComponent();
     RegMemory.RestoreWindowPos("eepromMarlinWindow", this);
     storage             = Main.conn.eepromm;
     storage.eventAdded += newline;
     translate();
     Main.main.languageChanged += translate;
     newline(Main.conn.eepromm);
 }