/// <summary>
        /// 加调料2,暂定巧克力
        /// </summary>
        private void Add_Cholclate()
        {
            string comname = ControlBoardComPort_comboBox.SelectedItem.ToString();

            if (!ControlBoardConnectItem.ComPort.IsOpen)
            {
                ControlBoardConnectItem.ComPort.PortName = comname;
            }
            else
            {
                ControlBoardConnectItem.ComPort.Close();
                ControlBoardConnectItem.ComPort.PortName = ControlBoardComPort_comboBox.SelectedItem.ToString();
            }
            ControlBoardConnectItem.WriteControlSystem(ControlBoardConnectItem.Order_ControlBoard_AddSeasoning2);

            Thread.Sleep(500);

            byte[] bytes = ControlBoardConnectItem.ReadBackBytes();
            if (
                bytes != null && bytes.Length > 7 &&
                bytes[4] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[4] &&
                bytes[5] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[5] &&
                bytes[6] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[6] &&
                bytes[7] == ConnectControlBoard.CRC_Compute(bytes, 7)
                )
            {
                //序列命令收到,认为成功
            }
            else//发送不成功,立刻重发
            {
                Add_Cholclate();
                return;
            }
        }
        private void RleasACup()
        {
            try
            {
                if (ControlBoardComPort_comboBox.SelectedItem != null)
                {
                    byte[] Order_ReleaseACup = ControlBoardConnectItem.Order_ControlBoard_ReleaseACup;// { 0x55, 0xAA, 0x02, 0x04, 0x00, 0x01, 0x01, 0xF9 };

                    if (!ControlBoardConnectItem.ComPort.IsOpen)
                    {
                        ControlBoardConnectItem.InitComPort(ControlBoardComPort_comboBox.SelectedItem.ToString());
                    }

                    ControlBoardConnectItem.WriteControlSystem(ControlBoardConnectItem.Order_ControlBoard_ReleaseACup);

                    Sleep(100);

                    byte[] bytes = ControlBoardConnectItem.ReadBackBytes();

                    if (
                        bytes != null && bytes.Length > 7 &&
                        bytes[3] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[3] &&
                        bytes[4] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[4] &&
                        bytes[5] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[5] &&
                        bytes[6] == ControlBoardConnectItem.Order_ControlBoard_ReplyOK[6] &&
                        bytes[7] == ConnectControlBoard.CRC_Compute(bytes, 7)
                        )
                    {
                        //序列命令收到,认为成功
                        textBox1.Text += "落杯" + (char)0x0d + (char)0x0a;
                    }
                    else//发送不成功,重发
                    {
                        //序列命令接收失败,不成功,重发
                        textBox1.Text += "命令重发" + (char)0x0d + (char)0x0a;
                        Sleep(100);
                        RleasACup();
                        return;
                    }

                    //serialPort2.Close();
                    //
                }
            }
            catch { }
        }