Beispiel #1
0
 /// <summary>
 /// Sets Day Type of Design Day
 /// </summary>
 /// <param name="DesignDay">Design Day</param>
 /// <param name="DayType">Day Type</param>
 /// <returns name="DesignDay">Design Day</returns>
 /// <search>
 /// TAS, DesignDay, designday, Design Day, designday, Day Type, Design Day Name, designdaydaytype, DayType, daytype, setdaytype
 /// </search>
 public static int SetDayType(DesignDay DesignDay, DayType DayType)
 {
     return(DesignDay.pDesignDay.SetDayType(DayType.pDayType));
 }
Beispiel #2
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);
     }
 }
Beispiel #3
0
 /// <summary>
 /// TAS Design Day Name
 /// </summary>
 /// <param name="DayType">Day Type</param>
 /// <returns name="Name">Name</returns>
 /// <search>
 /// TAS, DayType, Day Type, Name, DayTypeDescription, daytypename, name
 /// </search>
 public static string Name(DayType DayType)
 {
     return(DayType.pDayType.name);
 }
Beispiel #4
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));
 }
Beispiel #5
0
 /// <summary>
 /// TAS Design Day description
 /// </summary>
 /// <param name="DayType">Day Type</param>
 /// <returns name="Description">Description</returns>
 /// <search>
 /// TAS, DayType, Day Type, Description, DayTypeDescription, daytypedescription, description
 /// </search>
 public static string Description(DayType DayType)
 {
     return(DayType.pDayType.description);
 }
Beispiel #6
0
 /// <summary>
 /// TAS Design Day End Break
 /// </summary>
 /// <param name="DayType">Day Type</param>
 /// <returns name="EndBreak">End Break</returns>
 /// <search>
 /// TAS, DayType, Day Type, EndBreak, DayTypeDescription, daytypeendbreak, endbreak, End Break
 /// </search>
 public static int EndBreak(DayType DayType)
 {
     return(DayType.pDayType.endBreak);
 }
Beispiel #7
0
 /// <summary>
 /// TAS Design Day Daylight Adjustment
 /// </summary>
 /// <param name="DayType">Day Type</param>
 /// <returns name="DaylightAdjustment">Daylight Adjustment</returns>
 /// <search>
 /// TAS, DayType, Day Type, DaylightAdjustment, DayTypeDaylightAdjustment, daytypedaylightadjustment, daylightadjustment
 /// </search>
 public static int DaylightAdjustment(DayType DayType)
 {
     return(DayType.pDayType.daylightAdjustment);
 }
Beispiel #8
0
 /// <summary>
 /// TAS Design Day Color
 /// </summary>
 /// <param name="DayType">Day Type</param>
 /// <returns name="Color">Color</returns>
 /// <search>
 /// TAS, DayType, Day Type, Colour, Color, DayTypeColour, daytypecolour, color, colour
 /// </search>
 public static DSCore.Color Color(DayType DayType)
 {
     return(Generic.Utils.UIntRGBToColor(DayType.pDayType.color));
 }
Beispiel #9
0
 /// <summary>
 /// TAS Design Day Color
 /// </summary>
 /// <param name="DayType">Day Type</param>
 /// <returns name="Color">Color</returns>
 /// <search>
 /// TAS, DayType, Day Type, Colour, Color, DayTypeColour, daytypecolour, color, colour
 /// </search>
 public static uint Color(DayType DayType)
 {
     return(DayType.pDayType.color);
 }
 /// <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));
 }
Beispiel #11
0
 /// <summary>
 /// Sets Day Type of TAS Day
 /// </summary>
 /// <param name="Day">Day</param>
 /// <param name="DayType">Day Type</param>
 /// <returns name="Day">Day</returns>
 /// <search>
 /// TAS, Day, day, DayType, daytype, DayType, description, SetDayType, Set Day Type, setdaytype
 /// </search>
 public static Day SetDayType(Day Day, DayType DayType)
 {
     Day.pDay.dayType = DayType.pDayType;
     return(Day);
 }