Ejemplo n.º 1
0
 public TableData()
 {
     axisXData    = new TableAxisData();
     axisYData    = new TableAxisData();
     axisZData    = new TableAxisData();
     axisUData    = new TableAxisData();
     tablePosData = new TablePosData();
 }
Ejemplo n.º 2
0
 public void UpdateData(TableAxisData data)
 {
     axisData = data;
     comboBoxCardName.Text           = axisData.MotionCardName;
     comboBoxAxisNo.Text             = axisData.AxisNo.ToString();
     comboBoxLimt.SelectedIndex      = (int)axisData.limtLogic;
     comboBoxOrg.SelectedIndex       = (int)axisData.orgLogic;
     comboBoxAlarm.SelectedIndex     = (int)axisData.alarmLogic;
     comboBoxPulseMode.SelectedIndex = (int)axisData.pulseMode;
     comboBoxUsed.SelectedIndex      = axisData.iUsed;
     comboBoxPlusToMM.Text           = axisData.plusToMM.ToString();
     textBoxAcc.Text               = axisData.dAcc.ToString();
     textBoxDec.Text               = axisData.dDec.ToString();
     textBoxSpeed.Text             = axisData.dSpeed.ToString();
     textBoxJobLow.Text            = axisData.dJobLow.ToString();
     textBoxJobHigh.Text           = axisData.dJobHigh.ToString();
     textBoxLimtSearchSpd.Text     = axisData.dLimtSpd.ToString();
     textBoxOrgSpd.Text            = axisData.dOrgSpd.ToString();
     comboBoxOrgMode.SelectedIndex = axisData.iOrgMode;
     checkBoxConfig.Checked        = axisData.bUsedConfig;
     comboBoxCorNo.SelectedIndex   = axisData.iCorNo - 1;
     txt_Alias.Text = axisData.alias;
 }
Ejemplo n.º 3
0
 public FormAxisSetting(string axisName, TableAxisData data)
 {
     InitializeComponent();
     strAxisName = axisName;
     axisData    = data;
 }