Beispiel #1
0
        public TelecmdProduce(AYS_YKYC.MainForm parent)
        {
            InitializeComponent();
            mform = parent;

            dataGridView1.Rows.Add(1);
            dataGridView1.AllowUserToAddRows = false;

            dataGridView2.Rows.Add(1);
            dataGridView2.AllowUserToAddRows = false;

            dataGridView1.Rows[0].Cells[0].Value = "00";
            dataGridView1.Rows[0].Cells[1].Value = "0";
            dataGridView1.Rows[0].Cells[2].Value = "0";
            dataGridView1.Rows[0].Cells[3].Value = "00";
            dataGridView1.Rows[0].Cells[4].Value = "44";
            dataGridView1.Rows[0].Cells[5].Value = "01";
            dataGridView1.Rows[0].Cells[6].Value = "1E";
            dataGridView1.Rows[0].Cells[7].Value = "00";
            dataGridView1.Rows[0].Cells[8].Value = "";

            dataGridView1.Rows[0].Cells[9].Value = "0000";
            this.Column9.ReadOnly = true;

            dataGridView2.Rows[0].Cells[0].Value = "401";
            dataGridView2.Rows[0].Cells[1].Value = "11";
            dataGridView2.Rows[0].Cells[2].Value = "000";
        }
Beispiel #2
0
 public Queue <byte[]> DataQueue = new Queue <byte[]>();   //处理APID对应的Queue
 public APIDForm(string apidstr, AYS_YKYC.MainForm parent)
 {
     InitializeComponent();
     this.Text       = apidstr;
     CurrentApidName = apidstr;
     myform          = parent;
 }
Beispiel #3
0
 String KcmdPath;//K令码表路径
 public SettingForm(AYS_YKYC.MainForm parent)
 {
     InitializeComponent();
     mform = parent;
     foreach (Control ctr in this.Controls)
     {
         ctr.Enabled = false;
     }
     this.pictureBox1.Enabled = true;
 }
Beispiel #4
0
 public ChartForm(AYS_YKYC.MainForm parent)
 {
     InitializeComponent();
     mform = parent;
 }
Beispiel #5
0
 public SelfTest(AYS_YKYC.MainForm parent)
 {
     InitializeComponent();
     mform = parent;
 }
Beispiel #6
0
 public QueryMyDB(AYS_YKYC.MainForm parent)
 {
     InitializeComponent();
     mform = parent;
 }