예제 #1
0
        private void btnCancelCc_Click(object sender, EventArgs e)//取消出厂
        {
            Protocol645 p645 = new Protocol645();

            if (p645.Factory040001E0(false))
            {
                MessageBox.Show("清出厂成功!");
            }
            else
            {
                MessageBox.Show("清出厂失败!");
            }
        }
예제 #2
0
        private void btnSetCc_Click(object sender, EventArgs e)//设出厂
        {
            Protocol645 p645 = new Protocol645();

            if (p645.Factory040001E0(true))
            {
                MessageBox.Show("设出厂成功!");
            }
            else
            {
                MessageBox.Show("设出厂失败!");
            }
        }