Ejemplo n.º 1
0
        //구조체 라인


        public bool setACDC(Cmm1_RtuMath rtuMath, int status)
        {
            if (status == 1)
            {
                return(setACDC(rtuMath, true));
            }
            else
            {
                return(setACDC(rtuMath, false));
            }
        }
Ejemplo n.º 2
0
 public int getACDC(Cmm1_RtuMath rtuMath)
 {
     if (EnumControlName.AC == rtuMath.ControlName)
     {
         return(getAC(rtuMath.ControlNo));
     }
     else if (EnumControlName.DC == rtuMath.ControlName)
     {
         return(getDC(rtuMath.ControlNo));
     }
     else
     {
         return(-1);
     }
 }
Ejemplo n.º 3
0
 public bool setACDC(Cmm1_RtuMath rtuMath, bool status)
 {
     return(setACDC(rtuMath.ControlName, rtuMath.ControlNo, status));
 }