Ejemplo n.º 1
0
 /// <summary>
 /// Sets TAS Internal Condition Day Type
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <param name="DayType">Day Type</param>
 /// <param name="Add">Add</param>
 /// <returns name="InternalCondition">Internal Condition</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Set Internal Condition Day Type, tas, internalcondition,  set internal condition day type, DayType, SetDayType
 /// </search>
 public static InternalCondition SetDayType(InternalCondition InternalCondition, DayType DayType, bool Add)
 {
     if (InternalCondition.pInternalCondition.SetDayType(DayType.pDayType, Add) == 1)
     {
         return(InternalCondition);
     }
     else
     {
         return(null);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Gets TAS Internal Condition Zones
        /// </summary>
        /// <param name="InternalCondition">TAS Internal Condition</param>
        /// <returns name="Zones">Zone List</returns>
        /// <search>
        /// TAS, InternalCondition, Zones, Get Zones, tas, internalcondition, zones, get zones, Internal Condition
        /// </search>
        public static List <Zone> Zones(InternalCondition InternalCondition)
        {
            List <Zone> aZoneList = new List <Zone>();

            int aIndex = 0;

            TBD.zone aZone = InternalCondition.pInternalCondition.GetZone(aIndex);
            while (aZone != null)
            {
                aZoneList.Add(new Zone(aZone));
                aIndex++;
                aZone = InternalCondition.pInternalCondition.GetZone(aIndex);
            }
            return(aZoneList);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Gets TAS Internal Condition Day Types
        /// </summary>
        /// <param name="InternalCondition">TAS Internal Condition</param>
        /// <returns name="DayTypes">Day Type List</returns>
        /// <search>
        /// TAS, InternalCondition, DayTypes, Day Types
        /// </search>
        public static List <DayType> DayTypes(InternalCondition InternalCondition)
        {
            List <DayType> aDayTypeList = new List <DayType>();

            int aIndex = 1;

            TBD.dayType aDayType = InternalCondition.pInternalCondition.GetDayType(aIndex);
            while (aDayType != null)
            {
                aDayTypeList.Add(new DayType(aDayType));
                aIndex++;
                aDayType = InternalCondition.pInternalCondition.GetDayType(aIndex);
            }
            return(aDayTypeList);
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Gets Include Solar In MRT for Internal Condition
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="IncludeSolarInMRT">IncludeSolarInMRT</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition IncludeSolarInMRT, tas, internalcondition,  get internal condition Include Solar In MRT, includesolarinmrt
 /// </search>
 public static int IncludeSolarInMRT(InternalCondition InternalCondition)
 {
     return(InternalCondition.pInternalCondition.includeSolarInMRT);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Gets TAS Internal Condition zone
 /// </summary>
 /// <param name="InternalCondition">TAS Building</param>
 /// <param name="Index">zone index</param>
 /// <returns name="Zone">Zone</returns>
 /// <search>
 /// TAS, InternalCondition, Zone, Get Zone tas, internalcondition, zone, get zone, Internal Condition
 /// </search>
 public static Zone GetZone(InternalCondition InternalCondition, int Index)
 {
     return(new Zone(InternalCondition.pInternalCondition.GetZone(Index)));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Gets TAS Internal Condition Description
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="Description">Description</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition Description, tas, internalcondition,  get internal condition description
 /// </search>
 public static string Description(InternalCondition InternalCondition)
 {
     return(InternalCondition.pInternalCondition.description);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Gets TAS Internal Condition Name
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="Name">Name</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition Name, tas, internalcondition,  get internal condition name
 /// </search>
 public static string Name(InternalCondition InternalCondition)
 {
     return(InternalCondition.pInternalCondition.name);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Gets TAS Internal Condition Upper Limit
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="UpperLimit">Upper Limit</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition Upper Limit, tas, internalcondition,  get internal condition Upper Limit,GetUpperLimit
 /// </search>
 public static float UpperLimit(InternalCondition InternalCondition)
 {
     return(InternalCondition.pInternalCondition.GetUpperLimit());
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Gets TAS Internal Condition Internal Gain
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="InternalGain">Internal Gain</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition Internal Gain, tas, internalcondition,  get internal condition internal gain, internalgain, getinternalgain
 /// </search>
 public static InternalGain GetInternalGain(InternalCondition InternalCondition)
 {
     return(new InternalGain(InternalCondition.pInternalCondition.GetInternalGain()));
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Gets TAS Internal Condition Thermostat
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="Thermostat">Thermostat</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, GetThermostat, tas, internalcondition,  get internal condition thermostat, Thermostat, GetThermostat, getthermostat
 /// </search>
 public static Thermostat GetThermostat(InternalCondition InternalCondition)
 {
     return(new Thermostat(InternalCondition.pInternalCondition.GetThermostat()));
 }
Ejemplo n.º 11
0
 /// <summary>
 /// TAS Internal Condition Day Type
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <param name="Index">Day Type Index</param>
 /// <returns name="DayType">Day Type</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition Day Type, tas, internalcondition,  get internal condition day type, DayType, GetDayType
 /// </search>
 public static DayType GetDayType(InternalCondition InternalCondition, int Index)
 {
     return(new DayType(InternalCondition.pInternalCondition.GetDayType(Index)));
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Gets Heating Emitter for Internal Condition
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <returns name="Emitter">Emitter</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition Heating Emitter, tas, internalcondition,  get internal condition heating emitter, GetheatingEmitter, getheatingemitter
 /// </search>
 public static Emitter GetHeatingEmitter(InternalCondition InternalCondition)
 {
     return(new Emitter(InternalCondition.pInternalCondition.GetHeatingEmitter()));
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Sets Include Solar In MRT for Internal Condition
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <param name="Value">Value for Include Solar In MRT parameter</param>
 /// <returns name="InternalCondition">InternalCondition</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Get Internal Condition IncludeSolarInMRT, tas, internalcondition,  get internal condition Include Solar In MRT, includesolarinmrt, setincludesolarinmrt
 /// </search>
 public static InternalCondition SetIncludeSolarInMRT(InternalCondition InternalCondition, int Value)
 {
     InternalCondition.pInternalCondition.includeSolarInMRT = Value;
     return(InternalCondition);
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Assigns Internal Condition for Zone
 /// </summary>
 /// <param name="Zone">TAS Zone</param>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <param name="Add">Add</param>
 /// <returns name="Integer">Integer</returns>
 /// <search>
 /// TAS, AssignInternalCondition, Zone Assign Internal Condition, tas, assigninternalcondition,
 /// </search>
 public static int AssignInternalCondition(Zone Zone, InternalCondition InternalCondition, bool Add)
 {
     return(Zone.pZone.AssignIC(InternalCondition.pInternalCondition, Add));
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Sets TAS Internal Condition Day Type
 /// </summary>
 /// <param name="InternalCondition">TAS Internal Condition</param>
 /// <param name="DayType">Day Type</param>
 /// <param name="Add">Add</param>
 /// <returns name="DayType">Day Type</returns>
 /// <search>
 /// TAS, Internal Condition, InternalCondition, Set Internal Condition Day Type, tas, internalcondition,  set internal condition day type, DayType, SetDayType
 /// </search>
 public static int SetDayType(InternalCondition InternalCondition, DayType DayType, bool Add)
 {
     return(InternalCondition.pInternalCondition.SetDayType(DayType.pDayType, Add));
 }