Пример #1
0
        public static Gain PollutantGain(string name = "", Profile profile = null, GainUnit unit = GainUnit.Undefined, double value = 0.0)
        {
            PollutantGain properties = new PollutantGain
            {
                Name    = name,
                Profile = profile,
                Unit    = unit,
                Value   = value,
            };

            return(Gain(name, GainType.Pollutant, properties));
        }
Пример #2
0
        public static Gain LightingGain(string name = "", Profile profile = null, GainUnit unit = GainUnit.Undefined, double value = 0.0, double radiantFraction = 0.0, double viewCoefficient = 0.0, double luminousEfficacy = 0.0)
        {
            LightingGain properties = new LightingGain
            {
                Name             = name,
                Profile          = profile,
                Unit             = unit,
                Value            = value,
                RadiantFraction  = radiantFraction,
                ViewCoefficient  = viewCoefficient,
                LuminousEfficacy = luminousEfficacy,
            };

            return(Gain(name, GainType.Lighting, properties));
        }
Пример #3
0
        public static Gain PeopleGain(string name = "", Profile profile = null, GainUnit unit = GainUnit.Undefined, double value = 0.0, double radiantFraction = 0.0, double viewCoefficient = 0.0, double sensibleGain = 0.0, double latentGain = 0.0)
        {
            PeopleGain properties = new PeopleGain
            {
                Name            = name,
                Profile         = profile,
                Unit            = unit,
                Value           = value,
                RadiantFraction = radiantFraction,
                ViewCoefficient = viewCoefficient,
                SensibleGain    = sensibleGain,
                LatentGain      = latentGain,
            };

            return(Gain(name, GainType.People, properties));
        }
Пример #4
0
        public static Gain SensibleEquipmentGain(string name = "", Profile profile = null, GainUnit unit = GainUnit.Undefined, double value = 0.0, double radiantFraction = 0.0, double viewCoefficient = 0.0)
        {
            SensibleEquipmentGain properties = new SensibleEquipmentGain
            {
                Name            = name,
                Profile         = profile,
                Unit            = unit,
                Value           = value,
                RadiantFraction = radiantFraction,
                ViewCoefficient = viewCoefficient,
            };

            return(Gain(name, GainType.Equipment, properties));
        }
Пример #5
0
        public static Gain InfiltrationGain(string name = "", Profile profile = null, GainUnit unit = GainUnit.Undefined, double value = 0.0)
        {
            InfiltrationGain properties = new InfiltrationGain
            {
                Name    = name,
                Profile = profile,
                Unit    = unit,
                Value   = value,
            };

            return(Gain(name, GainType.Infiltration, properties));
        }