示例#1
0
        string GetHeaterStatus(ST_Heater heater)
        {
            string result = UNKNOW;

            if (MiscUtility.GetBool(heater.member, PLCConstants.POS_DEVICE_FEEDBACK))
            {
                result = OPENED;
            }
            else
            {
                result = CLOSED;
            }

            return(result);
        }
示例#2
0
 bool GetHeaterManualAuto(ST_Heater heater)
 {
     return(MiscUtility.GetBool(heater.member, PLCConstants.POS_DEVICE_MODE));
 }
示例#3
0
 bool GetHeaterLocalRemote(ST_Heater heater)
 {
     return(MiscUtility.GetBool(heater.member, PLCConstants.POS_DEVICE_LOCALREMOTE));
 }