Beispiel #1
0
 public void VReSetAlm(ushort CardNo, ushort NodeID)
 {
     rc = CPCI_DMC.CS_DMC_01_set_ralm(gCardNo, NodeID, 0);
     if (rc != 0)
     {
         SendMsgToDisplayWarning("Clear the alm of PCI_DMC Master Card failed!");
     }
 }
Beispiel #2
0
        public int ResetAlarm(ushort NodeID)
        {
            if (CardNo.Count == 0)
            {
                return((int)DM_ErrorList.NoCardFound);
            }
            short rc = CPCI_DMC.CS_DMC_01_set_ralm(CardNo[0], NodeID, 0);

            if (rc != 0)
            {
                return((int)DM_ErrorList.ResetAlmFail);
            }
            return((int)DM_ErrorList.NoError);
        }
Beispiel #3
0
        private void btnralm_Click(object sender, EventArgs e)
        {
            gnodeid = ushort.Parse(cmbNodeID.Text);

            rc = CPCI_DMC.CS_DMC_01_set_ralm(gCardNo, gnodeid, 0);
        }