예제 #1
0
        public UCLayerCoolingPara(LayerCoolingModel layerCooling) : this()
        {
            this.Model = this.mvvmContext1.GetViewModel <LayerCoolingModel>();
            CopyUtil.CopyModel(this.Model, layerCooling ?? DefaultParaHelper.GetDefaultLayerCoolingModel());
            this.InitializeBindings();
            var monitor = new UnitMonitor(this, () => this.Model.RaisePropertiesChanged());

            monitor.Listen();
        }