public OutIOParameterPoint() { tag_IniO1 = new InIOParameterPoint(); tag_IniO2 = new InIOParameterPoint(); tag_InOut1 = new InIOParameterPoint(); tag_InOut2 = new InIOParameterPoint(); }
public void show(InIOParameterPoint _io) { tag_io = _io; if (_io == null) { if (label_name.Text != null) { checkBox_en.Checked = false; } return; } label_name.Text = tag_io.tag_IOName; if (label_name.Text == null || label_name.Text.Length < 1) { checkBox_en.Checked = false; return; } if (_io.tag_var) { comboBox_IO.SelectedIndex = 1; } else { comboBox_IO.SelectedIndex = 0; } textBox_WaitTime.Text = tag_io.tag_IOParameterOutTime.ToString(); if (label_name.Text != null) { checkBox_en.Checked = true; } }
public void show(InIOParameterPoint _io, int type) { tag_io = _io; tag_type = type; label_name.Text = tag_io.tag_IOName; if (tag_io.tag_IOName == null) { checkBox_en.Checked = false; } else { checkBox_en.Checked = true; } textBox_WaitTime.Text = tag_io.tag_IOParameterOutTime.ToString(); if (_io.tag_var) { comboBox_IO.SelectedIndex = 1; } else { comboBox_IO.SelectedIndex = 0; } }