コード例 #1
0
        public override object Clone()
        {
            ScanBdMonitoredPowerData newObj = new ScanBdMonitoredPowerData();
            bool res = this.CopyTo(newObj);

            if (!res)
            {
                return(null);
            }
            else
            {
                return(newObj);
            }
        }
コード例 #2
0
        public OneDisplayMonitorData()
        {
            IsUpdateSBStatus      = true;
            IsDisplaySBValtage    = true;
            IsUpdateMCStatus      = false;
            IsUpdateHumidity      = false;
            IsUpdateSmoke         = false;
            IsUpdateRowLine       = false;
            IsUpdateGeneralStatus = false;
            IsUpdateFan           = false;
            IsUpdateMCVoltage     = false;

            MCFanInfo   = new ScanBdMonitoredParamUpdateData();
            MCPowerInfo = new ScanBdMonitoredPowerData();
        }