示例#1
0
        /// <summary>
        /// Gets Profiles from Internal Gain
        /// </summary>
        /// <param name="InternalGain">TAS Internal Gain</param>
        /// <returns name="Profiles">Profile List</returns>
        /// <search>
        /// TAS, Internal Gain, internal gains, Profiles, Get Profiles, tas, Internal Gain, zones, get zones
        /// </search>
        public static List <Profile> Profiles(InternalGain InternalGain)
        {
            List <int> aEnumList = new List <int>();

            aEnumList.Add((int)TBD.Profiles.ticI);       // Infiltration
            aEnumList.Add((int)TBD.Profiles.ticV);       // Ventilation
            aEnumList.Add((int)TBD.Profiles.ticLG);      // Lighting Gain
            aEnumList.Add((int)TBD.Profiles.ticOSG);     // Occupancy Sensible Gain
            aEnumList.Add((int)TBD.Profiles.ticOLG);     // Occupancy Latent Gain
            aEnumList.Add((int)TBD.Profiles.ticESG);     // Equipment Sensible Gain
            aEnumList.Add((int)TBD.Profiles.ticELG);     // Equipment Latent Gain
            aEnumList.Add((int)TBD.Profiles.ticCOG);     // Polutant Generation

            List <Profile> aProfileList = new List <Profile>();

            TBD.profile aProfile = null;
            foreach (int index in aEnumList)
            {
                aProfile = InternalGain.pInternalGain.GetProfile(index);
                if (aProfile != null)
                {
                    aProfileList.Add(new Profile(aProfile));
                }
            }

            return(aProfileList);
        }
示例#2
0
        /// <summary>
        /// Gets Profiles from Internal Gain
        /// </summary>
        /// <param name="InternalGain">TAS Internal Gain</param>
        /// <returns name="Profiles">Profile List</returns>
        /// <search>
        /// TAS, Internal Gain, internal gains, Profiles, Get Profiles, tas, Internal Gain, zones, get zones
        /// </search>
        public static List <Profile> Profiles(InternalGain InternalGain)
        {
            List <Profile> aProfileList = new List <Profile>();

            int aIndex = 0;

            TBD.profile aProfile = InternalGain.pInternalGain.GetProfile(aIndex);
            while (aProfile != null)
            {
                aProfileList.Add(new Profile(aProfile));
                aIndex++;
                aProfile = InternalGain.pInternalGain.GetProfile(aIndex);
            }
            return(aProfileList);
        }
示例#3
0
 /// <summary>
 /// Internal Gain Domestic Hot Water
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="DomesticHotWater">Domestic Hot Water</returns>
 /// <search>
 /// TAS, Internal Gain, Domestic Hot Water, InternalGain
 /// </search>
 public static float DomesticHotWater(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.domesticHotWater);
 }
示例#4
0
 /// <summary>
 /// Internal Gain Activity ID
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="ID">Activity ID</returns>
 /// <search>
 /// TAS, Internal Gain, Activity ID, InternalGain, activityID, activityid
 /// </search>
 public static int ActivityID(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.activityID);
 }
示例#5
0
 /// <summary>
 /// Sets Internal Gain Description
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Description">Internal Gain Description</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, Description, InternalGain, SetDescription
 /// </search>
 public static InternalGain SetDescription(InternalGain InternalGain, string Description)
 {
     InternalGain.pInternalGain.description = Description;
     return(InternalGain);
 }
示例#6
0
 /// <summary>
 /// Sets Internal Gain Person Gain
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Person Gain Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, PersonGain, InternalGain, Person Gain, SetPersonGain
 /// </search>
 public static InternalGain SetPersonGain(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.personGain = Value;
     return(InternalGain);
 }
示例#7
0
 /// <summary>
 /// Sets Internal Gain Occupant View Coefficient
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Occupant View Coefficient Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, Occupant View Coefficient, InternalGain, OccupantViewCoefficient, SetOccupantViewCoefficient
 /// </search>
 public static InternalGain SetOccupantViewCoefficient(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.occupantViewCoefficient = Value;
     return(InternalGain);
 }
示例#8
0
 /// <summary>
 /// Sets Internal Gain Occupant Rad Prop
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Occupant Rad Prop Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, OccupantRadProp, InternalGain, Occupant Rad Prop, SetOccupantRadProp
 /// </search>
 public static InternalGain SetOccupantRadProp(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.occupantRadProp = Value;
     return(InternalGain);
 }
示例#9
0
 /// <summary>
 /// Internal Gain Profile
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Profiles">Profiles</param>
 /// <returns name="Profile">Profile</returns>
 /// <search>
 /// TAS, Internal Gain, Profile, InternalGain, getprofile, get profile
 /// </search>
 public static Profile GetProfile(InternalGain InternalGain, Profiles Profiles)
 {
     return(new Profile(InternalGain.pInternalGain.GetProfile((int)Profiles)));
 }
示例#10
0
 /// <summary>
 /// Sets Fresh Air Rate
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Internal Gain Fresh Air Rate Value</param>
 /// <returns name="Name">Name</returns>
 /// <search>
 /// TAS, Internal Gain, SetFreshAirRate, InternalGain
 /// </search>
 public static InternalGain SetFreshAirRate(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.freshAirRate = Value;
     return(InternalGain);
 }
示例#11
0
 /// <summary>
 /// Internal Gain Fresh Air Rate
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Rate">Fresh Air Rate</returns>
 /// <search>
 /// TAS, Internal Gain, Fresh Air Rate, InternalGain
 /// </search>
 public static float FreshAirRate(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.freshAirRate);
 }
示例#12
0
 /// <summary>
 /// Sets Internal Gain Equipment View Coefficient
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Equipment View Coefficient Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, Description, InternalGain, SetEquipmentViewCoefficient, SetEquipmentViewCoefficient
 /// </search>
 public static InternalGain SetEquipmentViewCoefficient(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.equipmentViewCoefficient = Value;
     return(InternalGain);
 }
示例#13
0
 /// <summary>
 /// Internal Gain Equipment View Coefficient
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Coefficient">EquipmentViewCoefficient</returns>
 /// <search>
 /// TAS, Internal Gain, Description, InternalGain
 /// </search>
 public static float EquipmentViewCoefficient(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.equipmentViewCoefficient);
 }
示例#14
0
 /// <summary>
 /// Sets Internal Gain Equipment Rad Prop
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Equipment Rad Prop Value</param>
 /// <returns name="Value">Equipment Rad Prop</returns>
 /// <search>
 /// TAS, Internal Gain, Equipment Rad Prop, InternalGain, equipmentradprop, SetEquipmentRadProp
 /// </search>
 public static InternalGain SetEquipmentRadProp(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.equipmentRadProp = Value;
     return(InternalGain);
 }
示例#15
0
 /// <summary>
 /// Internal Gain Equipment Rad Prop
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Value">Equipment Rad Prop</returns>
 /// <search>
 /// TAS, Internal Gain, Equipment Rad Prop, InternalGain, equipmentradprop
 /// </search>
 public static float EquipmentRadProp(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.equipmentRadProp);
 }
示例#16
0
 /// <summary>
 /// Sets Internal Gain Name
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Name">Internal Gain Name</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, Name, InternalGain, SetName
 /// </search>
 public static InternalGain SetName(InternalGain InternalGain, string Name)
 {
     InternalGain.pInternalGain.name = Name;
     return(InternalGain);
 }
示例#17
0
 /// <summary>
 /// Internal Gain Occupant Rad Prop
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Value">Occupant Rad Prop</returns>
 /// <search>
 /// TAS, Internal Gain, OccupantRadProp, InternalGain, Occupant Rad Prop
 /// </search>
 public static float OccupantRadProp(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.occupantRadProp);
 }
示例#18
0
 /// <summary>
 /// Internal Gain Lighting Rad Prop
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Value">Lighting Rad Prop</returns>
 /// <search>
 /// TAS, Internal Gain, LightingRadProp, InternalGain, Lighting Rad Prop
 /// </search>
 public static float LightingRadProp(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.lightingRadProp);
 }
示例#19
0
 /// <summary>
 /// Internal Gain Occupant View Coefficient
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Coefficient">Occupant View Coefficient</returns>
 /// <search>
 /// TAS, Internal Gain, Occupant View Coefficient, InternalGain, OccupantViewCoefficient
 /// </search>
 public static float OccupantViewCoefficient(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.occupantViewCoefficient);
 }
示例#20
0
 /// <summary>
 /// Set Internal Gain Lighting Rad Prop
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Lighting Rad Prop Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, LightingRadProp, InternalGain, Lighting Rad Prop, SetLightingRadProp
 /// </search>
 public static InternalGain SetLightingRadProp(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.lightingRadProp = Value;
     return(InternalGain);
 }
示例#21
0
 /// <summary>
 /// Internal Gain Person Gain
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="PersonGain">Person Gain</returns>
 /// <search>
 /// TAS, Internal Gain, PersonGain, InternalGain, Person Gain
 /// </search>
 public static float PersonGain(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.personGain);
 }
示例#22
0
 /// <summary>
 /// Internal Gain Lighting View Coefficient
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Coefficient">LightingViewCoefficient</returns>
 /// <search>
 /// TAS, Internal Gain, LightingViewCoefficient, InternalGain, Lighting View Coefficient
 /// </search>
 public static float LightingViewCoefficient(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.lightingViewCoefficient);
 }
示例#23
0
 /// <summary>
 /// Internal Gain Target Illuminance
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="TargetIlluminance">Target Illuminance</returns>
 /// <search>
 /// TAS, Internal Gain, TargetIlluminance, InternalGain, Target Illuminance
 /// </search>
 public static float TargetIlluminance(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.targetIlluminance);
 }
示例#24
0
 /// <summary>
 /// Internal Gain Description
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Description">Description</returns>
 /// <search>
 /// TAS, Internal Gain, Description, InternalGain
 /// </search>
 public static string Description(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.description);
 }
示例#25
0
 /// <summary>
 /// Sets Internal Gain Target Illuminance
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Target Illuminance Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, TargetIlluminance, InternalGain, Target Illuminance, SetTargetIlluminance
 /// </search>
 public static InternalGain SetTargetIlluminance(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.targetIlluminance = Value;
     return(InternalGain);
 }
示例#26
0
 /// <summary>
 /// Sets Internal Gain Lighting View Coefficient
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Lighting View Coefficient Value</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Gain, LightingViewCoefficient, InternalGain, Lighting View Coefficient, SetLightingViewCoefficient
 /// </search>
 public static InternalGain SetLightingViewCoefficient(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.lightingViewCoefficient = Value;
     return(InternalGain);
 }
示例#27
0
 /// <summary>
 /// Ssts Internal Gain Activity ID
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="ActivityID">ActivityID</param>
 /// <returns name="ID">Activity ID</returns>
 /// <search>
 /// TAS, Internal Gain, Activity ID, InternalGain, activityID, activityid, SetActivityID
 /// </search>
 public static InternalGain SetActivityID(InternalGain InternalGain, int ActivityID)
 {
     InternalGain.pInternalGain.activityID = ActivityID;
     return(InternalGain);
 }
示例#28
0
 /// <summary>
 /// Internal Gain Name
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <returns name="Name">Name</returns>
 /// <search>
 /// TAS, Internal Gain, Name, InternalGain
 /// </search>
 public static string Name(InternalGain InternalGain)
 {
     return(InternalGain.pInternalGain.name);
 }
示例#29
0
 /// <summary>
 /// Sets Internal Gain Domestic Hot Water
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Value">Domestic Hot Water Value</param>
 /// <returns name="InternalGain">InternalGain</returns>
 /// <search>
 /// TAS, Internal Gain, Domestic Hot Water, InternalGain
 /// </search>
 public static InternalGain SetDomesticHotWater(InternalGain InternalGain, float Value)
 {
     InternalGain.pInternalGain.domesticHotWater = Value;
     return(InternalGain);
 }
示例#30
0
 /// <summary>
 /// Internal Gain Profile
 /// </summary>
 /// <param name="InternalGain">TAS Internal Gain</param>
 /// <param name="Index">Profile Index</param>
 /// <returns name="Profile">Profile</returns>
 /// <search>
 /// TAS, Internal Gain, Profile, InternalGain, getprofile, get profile
 /// </search>
 public static Profile GetProfile(InternalGain InternalGain, int Index)
 {
     return(new Profile(InternalGain.pInternalGain.GetProfile(Index)));
 }