private void btnCancelCc_Click(object sender, EventArgs e)//取消出厂 { Protocol645 p645 = new Protocol645(); if (p645.Factory040001E0(false)) { MessageBox.Show("清出厂成功!"); } else { MessageBox.Show("清出厂失败!"); } }
private void btnSetCc_Click(object sender, EventArgs e)//设出厂 { Protocol645 p645 = new Protocol645(); if (p645.Factory040001E0(true)) { MessageBox.Show("设出厂成功!"); } else { MessageBox.Show("设出厂失败!"); } }