Beispiel #1
0
        private void 协议分析ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SerialPortConfigItem spci =
                SerialPortConfigItem.GetConfigItem(SerialPortConfigItemName.Zigbee模块串口设置);
            FrmSerialPort frmSP = new FrmSerialPort(spci);

            frmSP.SetShowDataStyle(SerialPortDataStyle.Hex);
            //frmSP.flag = 0;//串口基本实验
            frmSP.Text = "Zigbee协议分析实验";
            frmSP.ShowDialog();
        }
Beispiel #2
0
        private void 通信分析试验ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SerialPortConfigItem spci =
                SerialPortConfigItem.GetConfigItem(SerialPortConfigItemName.超高频RFID串口设置);
            UhfCommandItem uhfItem = new UhfCommandItem();
            FrmSerialPort  frmSP   = new FrmSerialPort(uhfItem, spci);

            frmSP.SetShowDataStyle(SerialPortDataStyle.Hex);
            frmSP.SetSendDataStyle(SerialPortDataStyle.Hex);
            frmSP.Text = "RFID模块通信分析实验";
            //frmSP.flag = 5;//RFID模块通信分析实验
            frmSP.ShowDialog();
        }