/// <summary>
 /// Returns true if Plastic instances are equal
 /// </summary>
 /// <param name="input">Instance of Plastic to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Plastic input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Modifier, input.Modifier)
            ) && base.Equals(input) &&
            (
                this.Dependencies == input.Dependencies ||
                Extension.AllEquals(this.Dependencies, input.Dependencies)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.RReflectance, input.RReflectance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GReflectance, input.GReflectance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.BReflectance, input.BReflectance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Specularity, input.Specularity)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Roughness, input.Roughness)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #2
0
 /// <summary>
 /// Returns true if ScheduleFixedInterval instances are equal
 /// </summary>
 /// <param name="input">Instance of ScheduleFixedInterval to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(ScheduleFixedInterval input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Values == input.Values ||
                Extension.AllEquals(this.Values, input.Values)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ScheduleTypeLimit, input.ScheduleTypeLimit)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Timestep, input.Timestep)
            ) && base.Equals(input) &&
            (
                this.StartDate == input.StartDate ||
                Extension.AllEquals(this.StartDate, input.StartDate)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.PlaceholderValue, input.PlaceholderValue)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Interpolate, input.Interpolate)
            ));
 }
 /// <summary>
 /// Returns true if Light instances are equal
 /// </summary>
 /// <param name="input">Instance of Light to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Light input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Modifier, input.Modifier)
            ) && base.Equals(input) &&
            (
                this.Dependencies == input.Dependencies ||
                Extension.AllEquals(this.Dependencies, input.Dependencies)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.REmittance, input.REmittance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GEmittance, input.GEmittance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.BEmittance, input.BEmittance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #4
0
 /// <summary>
 /// Returns true if DaylightingControl instances are equal
 /// </summary>
 /// <param name="input">Instance of DaylightingControl to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(DaylightingControl input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.SensorPosition == input.SensorPosition ||
                Extension.AllEquals(this.SensorPosition, input.SensorPosition)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.IlluminanceSetpoint, input.IlluminanceSetpoint)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ControlFraction, input.ControlFraction)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.MinPowerInput, input.MinPowerInput)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.MinLightOutput, input.MinLightOutput)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.OffAtMinimum, input.OffAtMinimum)
            ));
 }
 /// <summary>
 /// Returns true if RunPeriod instances are equal
 /// </summary>
 /// <param name="input">Instance of RunPeriod to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(RunPeriod input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.StartDate == input.StartDate ||
                Extension.AllEquals(this.StartDate, input.StartDate)
            ) && base.Equals(input) &&
            (
                this.EndDate == input.EndDate ||
                Extension.AllEquals(this.EndDate, input.EndDate)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.StartDayOfWeek, input.StartDayOfWeek)
            ) && base.Equals(input) &&
            (
                this.Holidays == input.Holidays ||
                Extension.AllEquals(this.Holidays, input.Holidays)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.DaylightSavingTime, input.DaylightSavingTime)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.LeapYear, input.LeapYear)
            ));
 }
Beispiel #6
0
 /// <summary>
 /// Returns true if ModelRadianceProperties instances are equal
 /// </summary>
 /// <param name="input">Instance of ModelRadianceProperties to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(ModelRadianceProperties input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GlobalModifierSet, input.GlobalModifierSet)
            ) && base.Equals(input) &&
            (
                this.Modifiers == input.Modifiers ||
                Extension.AllEquals(this.Modifiers, input.Modifiers)
            ) && base.Equals(input) &&
            (
                this.ModifierSets == input.ModifierSets ||
                Extension.AllEquals(this.ModifierSets, input.ModifierSets)
            ) && base.Equals(input) &&
            (
                this.SensorGrids == input.SensorGrids ||
                Extension.AllEquals(this.SensorGrids, input.SensorGrids)
            ) && base.Equals(input) &&
            (
                this.Views == input.Views ||
                Extension.AllEquals(this.Views, input.Views)
            ));
 }
 /// <summary>
 /// Returns true if SensorGrid instances are equal
 /// </summary>
 /// <param name="input">Instance of SensorGrid to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(SensorGrid input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Sensors == input.Sensors ||
                Extension.AllEquals(this.Sensors, input.Sensors)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Mesh, input.Mesh)
            ) && base.Equals(input) &&
            (
                this.BaseGeometry == input.BaseGeometry ||
                Extension.AllEquals(this.BaseGeometry, input.BaseGeometry)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GroupIdentifier, input.GroupIdentifier)
            ));
 }
 /// <summary>
 /// Returns true if ScheduleRulesetAbridged instances are equal
 /// </summary>
 /// <param name="input">Instance of ScheduleRulesetAbridged to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(ScheduleRulesetAbridged input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.DaySchedules == input.DaySchedules ||
                Extension.AllEquals(this.DaySchedules, input.DaySchedules)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.DefaultDaySchedule, input.DefaultDaySchedule)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.ScheduleRules == input.ScheduleRules ||
                Extension.AllEquals(this.ScheduleRules, input.ScheduleRules)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.HolidaySchedule, input.HolidaySchedule)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.SummerDesigndaySchedule, input.SummerDesigndaySchedule)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.WinterDesigndaySchedule, input.WinterDesigndaySchedule)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ScheduleTypeLimit, input.ScheduleTypeLimit)
            ));
 }
Beispiel #9
0
 /// <summary>
 /// Returns true if Room instances are equal
 /// </summary>
 /// <param name="input">Instance of Room to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Room input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Faces == input.Faces ||
                Extension.AllEquals(this.Faces, input.Faces)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Properties, input.Properties)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.IndoorShades == input.IndoorShades ||
                Extension.AllEquals(this.IndoorShades, input.IndoorShades)
            ) && base.Equals(input) &&
            (
                this.OutdoorShades == input.OutdoorShades ||
                Extension.AllEquals(this.OutdoorShades, input.OutdoorShades)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Multiplier, input.Multiplier)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ExcludeFloorArea, input.ExcludeFloorArea)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Story, input.Story)
            ));
 }
Beispiel #10
0
 /// <summary>
 /// Returns true if Mirror instances are equal
 /// </summary>
 /// <param name="input">Instance of Mirror to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Mirror input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Modifier, input.Modifier)
            ) && base.Equals(input) &&
            (
                this.Dependencies == input.Dependencies ||
                Extension.AllEquals(this.Dependencies, input.Dependencies)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.RReflectance, input.RReflectance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GReflectance, input.GReflectance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.BReflectance, input.BReflectance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.AlternateMaterial, input.AlternateMaterial)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #11
0
 /// <summary>
 /// Returns true if Glass instances are equal
 /// </summary>
 /// <param name="input">Instance of Glass to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Glass input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Modifier, input.Modifier)
            ) && base.Equals(input) &&
            (
                this.Dependencies == input.Dependencies ||
                Extension.AllEquals(this.Dependencies, input.Dependencies)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.RTransmissivity, input.RTransmissivity)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GTransmissivity, input.GTransmissivity)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.BTransmissivity, input.BTransmissivity)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.RefractionIndex, input.RefractionIndex)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #12
0
 /// <summary>
 /// Returns true if Aperture instances are equal
 /// </summary>
 /// <param name="input">Instance of Aperture to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Aperture input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Geometry, input.Geometry)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.BoundaryCondition, input.BoundaryCondition)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Properties, input.Properties)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.IsOperable, input.IsOperable)
            ) && base.Equals(input) &&
            (
                this.IndoorShades == input.IndoorShades ||
                Extension.AllEquals(this.IndoorShades, input.IndoorShades)
            ) && base.Equals(input) &&
            (
                this.OutdoorShades == input.OutdoorShades ||
                Extension.AllEquals(this.OutdoorShades, input.OutdoorShades)
            ));
 }
 /// <summary>
 /// Returns true if ModelEnergyProperties instances are equal
 /// </summary>
 /// <param name="input">Instance of ModelEnergyProperties to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(ModelEnergyProperties input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GlobalConstructionSet, input.GlobalConstructionSet)
            ) && base.Equals(input) &&
            (
                this.ConstructionSets == input.ConstructionSets ||
                Extension.AllEquals(this.ConstructionSets, input.ConstructionSets)
            ) && base.Equals(input) &&
            (
                this.Constructions == input.Constructions ||
                Extension.AllEquals(this.Constructions, input.Constructions)
            ) && base.Equals(input) &&
            (
                this.Materials == input.Materials ||
                Extension.AllEquals(this.Materials, input.Materials)
            ) && base.Equals(input) &&
            (
                this.Hvacs == input.Hvacs ||
                Extension.AllEquals(this.Hvacs, input.Hvacs)
            ) && base.Equals(input) &&
            (
                this.Shws == input.Shws ||
                Extension.AllEquals(this.Shws, input.Shws)
            ) && base.Equals(input) &&
            (
                this.ProgramTypes == input.ProgramTypes ||
                Extension.AllEquals(this.ProgramTypes, input.ProgramTypes)
            ) && base.Equals(input) &&
            (
                this.Schedules == input.Schedules ||
                Extension.AllEquals(this.Schedules, input.Schedules)
            ) && base.Equals(input) &&
            (
                this.ScheduleTypeLimits == input.ScheduleTypeLimits ||
                Extension.AllEquals(this.ScheduleTypeLimits, input.ScheduleTypeLimits)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.VentilationSimulationControl, input.VentilationSimulationControl)
            ));
 }
Beispiel #14
0
 /// <summary>
 /// Returns true if Surface instances are equal
 /// </summary>
 /// <param name="input">Instance of Surface to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Surface input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.BoundaryConditionObjects == input.BoundaryConditionObjects ||
                Extension.AllEquals(this.BoundaryConditionObjects, input.BoundaryConditionObjects)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #15
0
 /// <summary>
 /// Returns true if OpaqueConstruction instances are equal
 /// </summary>
 /// <param name="input">Instance of OpaqueConstruction to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(OpaqueConstruction input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Materials == input.Materials ||
                Extension.AllEquals(this.Materials, input.Materials)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
 /// <summary>
 /// Returns true if View instances are equal
 /// </summary>
 /// <param name="input">Instance of View to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(View input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Position == input.Position ||
                Extension.AllEquals(this.Position, input.Position)
            ) && base.Equals(input) &&
            (
                this.Direction == input.Direction ||
                Extension.AllEquals(this.Direction, input.Direction)
            ) && base.Equals(input) &&
            (
                this.UpVector == input.UpVector ||
                Extension.AllEquals(this.UpVector, input.UpVector)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ViewType, input.ViewType)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.HSize, input.HSize)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.VSize, input.VSize)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Shift, input.Shift)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Lift, input.Lift)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ForeClip, input.ForeClip)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.AftClip, input.AftClip)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.GroupIdentifier, input.GroupIdentifier)
            ));
 }
 /// <summary>
 /// Returns true if Model instances are equal
 /// </summary>
 /// <param name="input">Instance of Model to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Model input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Properties, input.Properties)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Version, input.Version)
            ) && base.Equals(input) &&
            (
                this.Rooms == input.Rooms ||
                Extension.AllEquals(this.Rooms, input.Rooms)
            ) && base.Equals(input) &&
            (
                this.OrphanedFaces == input.OrphanedFaces ||
                Extension.AllEquals(this.OrphanedFaces, input.OrphanedFaces)
            ) && base.Equals(input) &&
            (
                this.OrphanedShades == input.OrphanedShades ||
                Extension.AllEquals(this.OrphanedShades, input.OrphanedShades)
            ) && base.Equals(input) &&
            (
                this.OrphanedApertures == input.OrphanedApertures ||
                Extension.AllEquals(this.OrphanedApertures, input.OrphanedApertures)
            ) && base.Equals(input) &&
            (
                this.OrphanedDoors == input.OrphanedDoors ||
                Extension.AllEquals(this.OrphanedDoors, input.OrphanedDoors)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Units, input.Units)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Tolerance, input.Tolerance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.AngleTolerance, input.AngleTolerance)
            ));
 }
 /// <summary>
 /// Returns true if BSDF instances are equal
 /// </summary>
 /// <param name="input">Instance of BSDF to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(BSDF input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.BsdfData, input.BsdfData)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Modifier, input.Modifier)
            ) && base.Equals(input) &&
            (
                this.Dependencies == input.Dependencies ||
                Extension.AllEquals(this.Dependencies, input.Dependencies)
            ) && base.Equals(input) &&
            (
                this.UpOrientation == input.UpOrientation ||
                Extension.AllEquals(this.UpOrientation, input.UpOrientation)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Thickness, input.Thickness)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.FunctionFile, input.FunctionFile)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Transform, input.Transform)
            ) && base.Equals(input) &&
            (
                this.FrontDiffuseReflectance == input.FrontDiffuseReflectance ||
                Extension.AllEquals(this.FrontDiffuseReflectance, input.FrontDiffuseReflectance)
            ) && base.Equals(input) &&
            (
                this.BackDiffuseReflectance == input.BackDiffuseReflectance ||
                Extension.AllEquals(this.BackDiffuseReflectance, input.BackDiffuseReflectance)
            ) && base.Equals(input) &&
            (
                this.DiffuseTransmittance == input.DiffuseTransmittance ||
                Extension.AllEquals(this.DiffuseTransmittance, input.DiffuseTransmittance)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
 /// <summary>
 /// Returns true if RadianceAsset instances are equal
 /// </summary>
 /// <param name="input">Instance of RadianceAsset to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(RadianceAsset input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.RoomIdentifier, input.RoomIdentifier)
            ) && base.Equals(input) &&
            (
                this.LightPath == input.LightPath ||
                Extension.AllEquals(this.LightPath, input.LightPath)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #20
0
 /// <summary>
 /// Returns true if SkyCondition instances are equal
 /// </summary>
 /// <param name="input">Instance of SkyCondition to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(SkyCondition input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Date == input.Date ||
                Extension.AllEquals(this.Date, input.Date)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.DaylightSavings, input.DaylightSavings)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
 /// <summary>
 /// Returns true if WindowConstructionDynamicAbridged instances are equal
 /// </summary>
 /// <param name="input">Instance of WindowConstructionDynamicAbridged to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(WindowConstructionDynamicAbridged input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Constructions == input.Constructions ||
                Extension.AllEquals(this.Constructions, input.Constructions)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Schedule, input.Schedule)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
 /// <summary>
 /// Returns true if DoorRadiancePropertiesAbridged instances are equal
 /// </summary>
 /// <param name="input">Instance of DoorRadiancePropertiesAbridged to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(DoorRadiancePropertiesAbridged input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.DynamicGroupIdentifier, input.DynamicGroupIdentifier)
            ) && base.Equals(input) &&
            (
                this.States == input.States ||
                Extension.AllEquals(this.States, input.States)
            ));
 }
Beispiel #23
0
 /// <summary>
 /// Returns true if Sensor instances are equal
 /// </summary>
 /// <param name="input">Instance of Sensor to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Sensor input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Pos == input.Pos ||
                Extension.AllEquals(this.Pos, input.Pos)
            ) && base.Equals(input) &&
            (
                this.Dir == input.Dir ||
                Extension.AllEquals(this.Dir, input.Dir)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ));
 }
Beispiel #24
0
 /// <summary>
 /// Returns true if ScheduleRuleAbridged instances are equal
 /// </summary>
 /// <param name="input">Instance of ScheduleRuleAbridged to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(ScheduleRuleAbridged input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.ScheduleDay, input.ScheduleDay)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplySunday, input.ApplySunday)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplyMonday, input.ApplyMonday)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplyTuesday, input.ApplyTuesday)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplyWednesday, input.ApplyWednesday)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplyThursday, input.ApplyThursday)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplyFriday, input.ApplyFriday)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApplySaturday, input.ApplySaturday)
            ) && base.Equals(input) &&
            (
                this.StartDate == input.StartDate ||
                Extension.AllEquals(this.StartDate, input.StartDate)
            ) && base.Equals(input) &&
            (
                this.EndDate == input.EndDate ||
                Extension.AllEquals(this.EndDate, input.EndDate)
            ));
 }
Beispiel #25
0
 /// <summary>
 /// Returns true if DaylightSavingTime instances are equal
 /// </summary>
 /// <param name="input">Instance of DaylightSavingTime to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(DaylightSavingTime input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.StartDate == input.StartDate ||
                Extension.AllEquals(this.StartDate, input.StartDate)
            ) && base.Equals(input) &&
            (
                this.EndDate == input.EndDate ||
                Extension.AllEquals(this.EndDate, input.EndDate)
            ));
 }
Beispiel #26
0
 /// <summary>
 /// Returns true if SizingParameter instances are equal
 /// </summary>
 /// <param name="input">Instance of SizingParameter to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(SizingParameter input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.DesignDays == input.DesignDays ||
                Extension.AllEquals(this.DesignDays, input.DesignDays)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.HeatingFactor, input.HeatingFactor)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.CoolingFactor, input.CoolingFactor)
            ));
 }
 /// <summary>
 /// Returns true if RadianceShadeStateAbridged instances are equal
 /// </summary>
 /// <param name="input">Instance of RadianceShadeStateAbridged to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(RadianceShadeStateAbridged input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Modifier, input.Modifier)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ModifierDirect, input.ModifierDirect)
            ) && base.Equals(input) &&
            (
                this.Shades == input.Shades ||
                Extension.AllEquals(this.Shades, input.Shades)
            ));
 }
 /// <summary>
 /// Returns true if GlobalConstructionSet instances are equal
 /// </summary>
 /// <param name="input">Instance of GlobalConstructionSet to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(GlobalConstructionSet input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.Materials == input.Materials ||
                Extension.AllEquals(this.Materials, input.Materials)
            ) && base.Equals(input) &&
            (
                this.Constructions == input.Constructions ||
                Extension.AllEquals(this.Constructions, input.Constructions)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.WallSet, input.WallSet)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.FloorSet, input.FloorSet)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.RoofCeilingSet, input.RoofCeilingSet)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ApertureSet, input.ApertureSet)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.DoorSet, input.DoorSet)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.ShadeConstruction, input.ShadeConstruction)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.AirBoundaryConstruction, input.AirBoundaryConstruction)
            ));
 }
 /// <summary>
 /// Returns true if EnergyWindowMaterialGasMixture instances are equal
 /// </summary>
 /// <param name="input">Instance of EnergyWindowMaterialGasMixture to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(EnergyWindowMaterialGasMixture input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.GasTypes == input.GasTypes ||
                Extension.AllEquals(this.GasTypes, input.GasTypes)
            ) && base.Equals(input) &&
            (
                this.GasFractions == input.GasFractions ||
                Extension.AllEquals(this.GasFractions, input.GasFractions)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Thickness, input.Thickness)
            ));
 }
Beispiel #30
0
 /// <summary>
 /// Returns true if Face3D instances are equal
 /// </summary>
 /// <param name="input">Instance of Face3D to be compared</param>
 /// <returns>Boolean</returns>
 public bool Equals(Face3D input)
 {
     if (input == null)
     {
         return(false);
     }
     return(base.Equals(input) &&
            (
                this.Boundary == input.Boundary ||
                Extension.AllEquals(this.Boundary, input.Boundary)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Type, input.Type)
            ) && base.Equals(input) &&
            (
                this.Holes == input.Holes ||
                Extension.AllEquals(this.Holes, input.Holes)
            ) && base.Equals(input) &&
            (
                Extension.Equals(this.Plane, input.Plane)
            ));
 }