/// <summary>
 /// Assign Aparture Type to building element
 /// </summary>
 /// <param name="BuildingElement">Building Element</param>
 /// <param name="ApertureType">Aperture Type</param>
 /// <returns name="Value">Value</returns>
 /// <search>
 /// TAS, BuildingElement, Building Element, AssignApertureType, Assign Aperture Type
 /// </search>
 public static int AssignApertureType(BuildingElement BuildingElement, ApertureType ApertureType)
 {
     return(BuildingElement.pBuildingElement.AssignApertureType(ApertureType.pApertureType));
 }
Пример #2
0
 /// <summary>
 /// Duplicates Aperture Type to Building
 /// </summary>
 /// <param name="Building">TAS Building</param>
 /// <param name="ApertureType">Base Aperture Type to be copied</param>
 /// <returns name="ApertureType">Aperture Type</returns>
 /// <search>
 /// TAS, Building, builidng, ApertureType, Aperture Type, AddApertureType, Add Aperture Type
 /// </search>
 public static ApertureType DuplicateApertureType(Building Building, ApertureType ApertureType)
 {
     return(new ApertureType(Building.pBuilding.AddApertureType(ApertureType.pApertureType)));
 }
Пример #3
0
 /// <summary>
 /// Gets Day Type of Aperture Type
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <param name="Index">dayType Index</param>
 /// <returns name="DayType">Day Type</returns>
 /// <search>
 /// TAS, ApertureType, DayType, Day Type, Aperture Type, GetDayType
 /// </search>
 public static DayType GetDayType(ApertureType ApertureType, int Index)
 {
     return(new DayType(ApertureType.pApertureType.GetDayType(Index)));
 }
Пример #4
0
 /// <summary>
 /// Gets Aperture Type Profile
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <returns name="Profile">Profile</returns>
 /// <search>
 /// TAS, ApertureType, Profile, Profile, Aperture Type, GetProfile
 /// </search>
 public static Profile GetProfile(ApertureType ApertureType)
 {
     return(new Profile(ApertureType.pApertureType.GetProfile()));
 }
Пример #5
0
 /// <summary>
 /// TAS Aperture Type Description
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <returns name="Description">Description</returns>
 /// <search>
 /// TAS, ApertureType, Description, Description, Aperture Type
 /// </search>
 public static string Description(ApertureType ApertureType)
 {
     return(ApertureType.pApertureType.description);
 }
Пример #6
0
 /// <summary>
 /// Sets Aperture Type Description
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <param name="Description">Aperture Type Description</param>
 /// <returns name="ApertureType">ApertureType</returns>
 /// <search>
 /// TAS, ApertureType, Description, Description, Aperture Type, SetDescription
 /// </search>
 public static ApertureType SetDescription(ApertureType ApertureType, string Description)
 {
     ApertureType.pApertureType.description = Description;
     return(ApertureType);
 }
Пример #7
0
 /// <summary>
 /// Sets Aperture Type Name
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <param name="Name">Name</param>
 /// <returns name="ApertureType">Aperture Type</returns>
 /// <search>
 /// TAS, ApertureType, Name, name, Aperture Type, SetName
 /// </search>
 public static ApertureType SetName(ApertureType ApertureType, string Name)
 {
     ApertureType.pApertureType.name = Name;
     return(ApertureType);
 }
Пример #8
0
 /// <summary>
 /// TAS Aperture Type Name
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <returns name="Name">Name</returns>
 /// <search>
 /// TAS, ApertureType, Name, name, Aperture Type
 /// </search>
 public static string Name(ApertureType ApertureType)
 {
     return(ApertureType.pApertureType.name);
 }
Пример #9
0
 /// <summary>
 /// Sets Aperture Type Sheltered
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <param name="Value">Aperture Type Sheltered Value</param>
 /// <returns name="ApertureType">Aperture Type</returns>
 /// <search>
 /// TAS, ApertureType, Sheltered, sheltered, Aperture Type, SetSheltered
 /// </search>
 public static ApertureType SetSheltered(ApertureType ApertureType, int Value)
 {
     ApertureType.pApertureType.sheltered = Value;
     return(ApertureType);
 }
Пример #10
0
 /// <summary>
 /// TAS Aperture Type Sheltered
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <returns name="Sheltered">Aperture Type Sheltered</returns>
 /// <search>
 /// TAS, ApertureType, Sheltered, sheltered, Aperture Type
 /// </search>
 public static int Sheltered(ApertureType ApertureType)
 {
     return(ApertureType.pApertureType.sheltered);
 }
Пример #11
0
 /// <summary>
 /// Sets Day Type for Aperture Type
 /// </summary>
 /// <param name="ApertureType">Aperture Type</param>
 /// <param name="DayType">Day Type</param>
 /// <param name="Add">Add Day Type</param>
 /// <returns name="Value">Value</returns>
 /// <search>
 /// TAS, ApertureType, DayType, Day Type, Aperture Type, SetDayType
 /// </search>
 public static int SetDayType(ApertureType ApertureType, DayType DayType, bool Add)
 {
     return(ApertureType.pApertureType.SetDayType(DayType.pDayType, Add));
 }