示例#1
0
        /// <summary>
        /// Returns true if HoyListSchema instances are equal
        /// </summary>
        /// <param name="input">Instance of HoyListSchema to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(HoyListSchema input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DirectReflectionGridBasedSchema" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Type">Type.</param>
 /// <param name="AnalysisGrids">AnalysisGrids.</param>
 /// <param name="Surfaces">Surfaces.</param>
 /// <param name="Location">Location.</param>
 /// <param name="Hoys">Hoys.</param>
 /// <param name="SunVectors">A list of vectors if location is not provided.</param>
 public DirectReflectionGridBasedSchema(IdEnum?Id = default(IdEnum?), TypeEnum?Type = default(TypeEnum?), List <AnalysisGridSchema> AnalysisGrids = default(List <AnalysisGridSchema>), List <HBSurfaceSchema> Surfaces = default(List <HBSurfaceSchema>), EpwLocationSchema Location = default(EpwLocationSchema), HoyListSchema Hoys = default(HoyListSchema), List <VectorSchema> SunVectors = default(List <VectorSchema>))
 {
     this.Id            = Id;
     this.Type          = Type;
     this.AnalysisGrids = AnalysisGrids;
     this.Surfaces      = Surfaces;
     this.Location      = Location;
     this.Hoys          = Hoys;
     this.SunVectors    = SunVectors;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SkyMtxSchema" /> class.
 /// </summary>
 /// <param name="Wea">Wea.</param>
 /// <param name="SkyDensity">1 - Tregenza Sky, 2 - Reinhart Sky, etc. (Default - 1).</param>
 /// <param name="North">angle in degrees between 0-360 to indicate North.</param>
 /// <param name="Hoys">Hoys.</param>
 /// <param name="Mode">sky mode.</param>
 /// <param name="Suffix">Suffix for the sky matrix.</param>
 public SkyMtxSchema(WeaSchema Wea = default(WeaSchema), int?SkyDensity = default(int?), decimal?North = default(decimal?), HoyListSchema Hoys = default(HoyListSchema), int?Mode = default(int?), string Suffix = default(string))
 {
     this.Wea        = Wea;
     this.SkyDensity = SkyDensity;
     this.North      = North;
     this.Hoys       = Hoys;
     this.Mode       = Mode;
     this.Suffix     = Suffix;
 }