Exemplo n.º 1
0
        /// <summary>ガラス層を初期化する</summary>
        /// <param name="glassPanes">ガラス層</param>
        public void Initialize(ImmutableGlassPanes glassPanes)
        {
            this.glassPanes.Copy(glassPanes);
            FO = glassPanes.ThermalTransmittance /
                    glassPanes.InsideFilmCoefficient;

            if (FIOChangeEvent != null) FIOChangeEvent(this, new EventArgs());
        }
Exemplo n.º 2
0
 /// <summary>初期化する</summary>
 /// <param name="glassPanes">ガラス層</param>
 /// <param name="incline">屋外側の傾斜面情報</param>
 /// <param name="sunShade">日除け</param>
 /// <param name="name">窓名称</param>
 private void initialize(ImmutableGlassPanes glassPanes, ImmutableIncline incline, ImmutableSunShade sunShade, string name)
 {
     this.glassPanes.Copy(glassPanes);
     FO = glassPanes.ThermalTransmittance /
             glassPanes.InsideFilmCoefficient;
     if(incline != null) this.incline.Copy(incline);
     if (sunShade != null)
     {
         SunShade ss = SunShade.EmptySunShade;
         ss.Copy(sunShade);
         this.sunShade = ss;
     }
     if(name != null) Name = name;
     hasChanged = true;
     makeSurface();
 }
Exemplo n.º 3
0
 /// <summary>Constructor</summary>
 /// <param name="glassPanes">ガラス層</param>
 /// <param name="incline">屋外側の傾斜面情報</param>
 /// <param name="sunShade">日除け</param>
 /// <param name="name">窓名称</param>
 public Window(ImmutableGlassPanes glassPanes, ImmutableIncline incline, ImmutableSunShade sunShade, string name)
 {
     initialize(glassPanes, incline, sunShade, name);
 }
Exemplo n.º 4
0
 /// <summary>Constructor</summary>
 /// <param name="glassPanes">ガラス層</param>
 /// <param name="name">窓名称</param>
 public Window(ImmutableGlassPanes glassPanes, string name)
 {
     initialize(glassPanes, null, null, name);
 }
Exemplo n.º 5
0
 /// <summary>Constructor</summary>
 /// <param name="glassPanes">ガラス層</param>
 /// <param name="incline">屋外側の傾斜面</param>
 public Window(ImmutableGlassPanes glassPanes, ImmutableIncline incline)
 {
     initialize(glassPanes, incline, null, null);
 }
Exemplo n.º 6
0
 /// <summary>Constructor</summary>
 /// <param name="glassPanes">ガラス層</param>
 public Window(ImmutableGlassPanes glassPanes)
 {
     initialize(glassPanes, null, null, null);
 }
Exemplo n.º 7
0
        /// <summary>ガラス層オブジェクトをコピーする</summary>
        /// <param name="glassPanes">ガラス層オブジェクト</param>
        public void Copy(ImmutableGlassPanes glassPanes)
        {
            this.OverallAbsorptivity = glassPanes.OverallAbsorptivity;
            this.OverallTransmissivity = glassPanes.OverallTransmissivity;
            this.ThermalTransmittanceOfGlass = glassPanes.ThermalTransmittanceOfGlass;

            if (Panes != null)
            {
                this.Panes = new Pane[glassPanes.Panes.Length];
                for (int i = 0; i < this.Panes.Length; i++) this.Panes[i] = new Pane(glassPanes.Panes[i]);
                this.heatTransferCoefficientsOfAirGaps.Clear();
                double[] aGap = glassPanes.HeatTransferCoefficientsOfGaps;
                for (int i = 0; i < aGap.Length; i++)
                {
                    this.heatTransferCoefficientsOfAirGaps.Add(aGap[i]);
                }
            }
            this.angularDependenceCoefficients.Clear();
            double[] ac = glassPanes.AngularDependenceCoefficients;
            for (int i = 0; i < ac.Length; i++)
            {
                angularDependenceCoefficients.Add(ac[i]);
            }
            SetOutsideFilmCoefficient(glassPanes.OutsideFilmCoefficient);
            SetInsideFilmCoefficient(glassPanes.InsideFilmCoefficient);

            initialize();
        }