Ejemplo n.º 1
0
        public ValidateViewModel(JCHVRF.Model.Project project, ref AddFlow addFlow)
        {
            this.ProjectLegacy = project;
            this.addFlowPiping = addFlow;
            if (ProjectLegacy.SystemListNextGen[0] == null)
            {
                return;
            }
            if (curSystemItem == null && ProjectLegacy.SystemListNextGen[0] != null)
            {
                if (ProjectLegacy.SystemListNextGen.Count == 0)
                {
                    return;
                }
                curSystemItem = ProjectLegacy.SystemListNextGen[0];
            }

            utilPiping     = new UtilPiping();
            ut_length      = SystemSetting.UserSetting.unitsSetting.settingLENGTH;
            ut_power       = SystemSetting.UserSetting.unitsSetting.settingPOWER;
            ut_temperature = SystemSetting.UserSetting.unitsSetting.settingTEMPERATURE;
            ut_airflow     = SystemSetting.UserSetting.unitsSetting.settingAIRFLOW;
            ut_weight      = SystemSetting.UserSetting.unitsSetting.settingWEIGHT;

            DoPipingFinalVerification();
            addFlow = this.addFlowPiping;
        }
Ejemplo n.º 2
0
 public AutoControlWiring(bool isAutoWiringComplete, Project project, ControlSystem controlSystem, AddFlow addflowWiring)
 {
     //_addflowWiring = new AddFlow();
     thisProject    = project;
     _addflowWiring = addflowWiring;
     DoAutoWiring(isAutoWiringComplete, thisProject, controlSystem);
 }
Ejemplo n.º 3
0
        public IndoorUnitInfoViewModel(IEventAggregator EventAggregator, IModalWindowService winService)
        {
            try
            {
                _project = JCHVRF.Model.Project.GetProjectInstance;

                _bllProject = new JCHVRF.BLL.ProjectBLL(_project);

                _eventAggregator = EventAggregator;


                SelectedIDU = new ObservableCollection <IDU>();
                SetIndoorSystemSpecificIndoorInfo();

                RemoveCommand     = new DelegateCommand(OnRemove);
                SelectCommand     = new DelegateCommand(RefreshHeaderAndRemoveButton);
                _winService       = winService;
                OpenAddIndoorUnit = new DelegateCommand(OpenAddIndoorUnitView);
            }
            catch (Exception ex)
            {
                int?id = _project?.projectID;
                Logger.LogProjectError(id, ex);
            }
        }
Ejemplo n.º 4
0
 public Wiring(JCHVRF.Model.Project project, ng.SystemVRF systemVRF, AddFlow AddFlowWiring)
 {
     thisProject   = project;
     sysItem       = systemVRF;
     addFlowWiring = AddFlowWiring;
     DoDrawingWiring(thisProject, sysItem);
     utilWiring = new UtilityWiring(thisProject);
 }
Ejemplo n.º 5
0
 public UtilityValidation(old.Project project, ref AddFlow addFlow)
 {
     thisProject      = project;
     addFlowPiping    = addFlow;
     bmpMeasureString = new Bitmap(500, 100);
     gMeasureString   = Graphics.FromImage(this.bmpMeasureString);
     if (SystemSetting.UserSetting.unitsSetting.settingDimension == Unit.ut_Dimension_inch)
     {
         isInch = true;
     }
 }
Ejemplo n.º 6
0
        /// <summary>
        /// Add all IDU to the legacy project object and do the validation
        /// </summary>
        private void UpdateProject(ObservableCollection <RoomIndoor> item)
        {
            Debug.WriteLine("Update project called");

            if (_project == null)
            {
                _project = JCHVRF.Model.Project.GetProjectInstance;
            }


            //_project.RoomIndoorList.AddRange(item.ToList());
            AddIndoors(item.ToList());
        }
Ejemplo n.º 7
0
        private void DoDrawingWiring(JCHVRF.Model.Project thisProject, ng.SystemVRF sysItem)
        {
            //if (tnOut == null) return;
            //if (this.tabControl1.SelectedTab.Name != "tpgWiring" && this.tabControl1.SelectedTab.Name != "tpgReport")
            //    return;
            //SystemVRF sysItem = tnOut.Tag as SystemVRF;
            //if (sysItem == null || sysItem.OutdoorItem == null)
            //    return;
            //curSystemItem = sysItem;

            string imgDir = @"/Image/TypeImages/";

            InitWiringNodes(addFlowWiring);

            //if (addFlowPiping.Nodes.Count == 0)       DOUBT
            //    BindPipingDrawing(tnOut);

            //ControllerWiringBLL bll = new ControllerWiringBLL(thisProject, addFlowControllerWiring);
            WiringBLL bll = new WiringBLL(thisProject, addFlowWiring);

            bll.CreateWiringNodeStructure(sysItem);

            ptArrayList.Clear();
            ptArrayList_power.Clear();
            ptArrayList_ground.Clear();
            ptArrayList_mainpower.Clear();
            strArrayList_powerType.Clear();
            strArrayList_powerVoltage.Clear();
            dArrayList_powerCurrent.Clear();

            if (sysItem == null || sysItem.MyWiringNodeOut == null)
            {
                return;
            }

            ng.WiringNodeOut nodeOut = sysItem.MyWiringNodeOut;
            if (nodeOut.ChildNodes.Count == 0 || sysItem.OutdoorItem == null)
            {
                DrawDiagError();
                return;
            }

            if (bll.IsHeatRecovery(sysItem))
            {
                DoDrawingHRWiring(sysItem, nodeOut, imgDir);
            }
            else
            {
                DoDrawingWiring(sysItem, nodeOut, imgDir);
            }
        }
Ejemplo n.º 8
0
        private NextGenBLL.PipingBLL GetPipingBLLInstance()
        {
            projectLegacy = JCHVRF.Model.Project.GetProjectInstance;
            string ut_length      = SystemSetting.UserSetting.unitsSetting.settingLENGTH;
            string ut_power       = SystemSetting.UserSetting.unitsSetting.settingPOWER;
            string ut_temperature = SystemSetting.UserSetting.unitsSetting.settingTEMPERATURE;
            string ut_airflow     = SystemSetting.UserSetting.unitsSetting.settingAIRFLOW;
            string ut_weight      = SystemSetting.UserSetting.unitsSetting.settingWEIGHT;
            string ut_dimension   = SystemSetting.UserSetting.unitsSetting.settingDimension;
            bool   isInch         = CommonBLL.IsDimension_inch();

            NextGenBLL.UtilPiping utilPiping = new NextGenBLL.UtilPiping();
            return(new NextGenBLL.PipingBLL(projectLegacy, utilPiping, null, isInch, ut_weight, ut_length, ut_power));
        }
Ejemplo n.º 9
0
        public SystemPropertiesViewmodel(JCHVRF.Model.Project projectLegacy)
        {
            try
            {
                this.ProjectLegacy = projectLegacy;
                this.CurrentSystem = this.ProjectLegacy.SystemListNextGen.FirstOrDefault();

                GetSystemPropertiesValues();
                BindUnit();
            }
            catch (Exception ex)
            {
                int?id = Project.GetProjectInstance?.projectID;
                Logger.LogProjectError(id, ex);
            }
        }
Ejemplo n.º 10
0
        public PipingLengthSettingsViewModel(JCHVRF.Model.Project Project, IEventAggregator eventAggregator, IProjectInfoBAL projectInfoBll)
        {
            this.Project = JCHVRF.Model.Project.GetProjectInstance;
            thisProject  = JCHVRF.Model.Project.GetProjectInstance;
            var ProjcurrentSystem = JCHVRF.Model.Project.GetProjectInstance.SystemListNextGen;
            var Lists             = ProjcurrentSystem.FirstOrDefault(); //.Where(idu => idu.Id == Syste.Id)

            PipeLengthGridSelectionChanged = new DelegateCommand <IList <Object> >(OnSelectionChanged);
            CurrentSystems = Lists;
            LengthUnit     = SystemSetting.UserSetting.unitsSetting.settingLENGTH;
            //NextGenModel.SystemVRF curSystemItem = (NextGenModel.SystemVRF)CurrentSystems;
            if (WorkFlowContext.CurrentSystem != null)
            {
                if (WorkFlowContext.CurrentSystem is NextGenModel.SystemVRF)
                {
                    NextGenModel.SystemVRF curSystemItem = (NextGenModel.SystemVRF)WorkFlowContext.CurrentSystem;
                    this._eventAggregator = eventAggregator;
                    _eventAggregator      = eventAggregator;
                    ListIDU = new ObservableCollection <IDUList>();
                    //SelectedRow = new ObservableCollection<IDUList>();
                    ut_length = SystemSetting.UserSetting.unitsSetting.settingLENGTH;
                    NextGenBLL.PipingBLL pipBll = new NextGenBLL.PipingBLL(this.Project);

                    if (curSystemItem != null)
                    {
                        sysItemSource = curSystemItem;
                        initPipLength();
                        //CreateDataGridViewColumns();
                        //BindPositionType();
                        BindHighDifference();
                    }
                    PopupSettings       = Visibility.Hidden;
                    IsPipingPopupOpened = false;
                    Settings            = new DelegateCommand(OnSettingsClicked);
                    SettingsOk          = new DelegateCommand(OnSettingsOk);
                    SettingsCancel      = new DelegateCommand(OnSettingsCancel);
                }
            }
            Eq_lengthError = "[0-" + Unit.ConvertToControl(sysItemSource.MaxEqPipeLength, UnitType.LENGTH_M, ut_length).ToString("n1") + "]";
            HD_lengthError = "[0-" + Unit.ConvertToControl(sysItemSource.MaxDiffIndoorLength, UnitType.LENGTH_M, ut_length).ToString("n1") + "]";
        }
Ejemplo n.º 11
0
 public AddEditRoomViewModel(IEventAggregator eventAggregator, IModalWindowService modalWindowService)
 {
     try
     {
         CurrentProject                = JCHVRF.Model.Project.GetProjectInstance;
         _eventAggregator              = eventAggregator;
         _modalWindowService           = modalWindowService;
         TemperatureUnit               = SystemSetting.UserSetting.unitsSetting.settingTEMPERATURE;
         AreaUnit                      = SystemSetting.UserSetting.unitsSetting.settingAREA;
         PowerUnit                     = SystemSetting.UserSetting.unitsSetting.settingPOWER;
         AirFlowRateUnit               = SystemSetting.UserSetting.unitsSetting.settingAIRFLOW;
         PressureUnit                  = SystemSetting.UserSetting.unitsSetting.settingESP;
         SaveClickCommand              = new DelegateCommand(AddEditRoomClick);
         AddRoomCommand                = new DelegateCommand(AddRoomIconClick);
         RemoveRoomCommand             = new DelegateCommand(RemoveRoomIconClick);
         BulkRemoveRoomCommand         = new DelegateCommand(BulkRemoveRoom);
         chkSelectAll_UnCheckedCommand = new DelegateCommand(chkSelectAll_UnChecked);
         chkSelectAll_CheckedCommand   = new DelegateCommand(chkSelectAll_Checked);
         BulkAddCommand                = new DelegateCommand(BulkAddClick);
         _eventAggregator.GetEvent <PubSubEvent <int> >().Subscribe(OnMultiRoomValueBulkUpload);
         AddRoomDefoult();
         RoomCheckChangedCommand = new DelegateCommand(() =>
         {
             RaisePropertyChanged(nameof(AreAllRoomChecked));
         });
         GridTextchanged = new DelegateCommand(RoomListchanged_event);
         if (_modalWindowService.GetParameters(ViewKeys.AddEditRoom) != null)
         {
             AreSaveCancelVisible = (bool)_modalWindowService.GetParameters(ViewKeys.AddEditRoom)["ShowSaveCancel"];
         }
     }
     catch (Exception ex)
     {
         int?id = Project.GetProjectInstance?.projectID;
         Logger.LogProjectError(id, ex);
     }
 }
Ejemplo n.º 12
0
        public ODUPropertiesViewModel(IEventAggregator eventAggregator)
        {
            OduList          = null;
            _eventAggregator = eventAggregator;
            CurrentProject   = JCHVRF.Model.Project.GetProjectInstance;

            NumericHeatDryBulbCommand      = new DelegateCommand(NumericHeatingDryBulb_LostFocus);
            NumericHeatWetBulbCommand      = new DelegateCommand(NumericHeatWetBulb_LostFocus);
            NumericInternalRHCommand       = new DelegateCommand(NumericInternalRH_LostFocus);
            LostFocusCoolingDryBulbCommand = new DelegateCommand(NumericCoolDryBulb_LostFocus);

            ManualSelectionCheckedCommand   = new DelegateCommand(ManualSelectionCheckedEvent);
            ManualSelectionUnCheckedCommand = new DelegateCommand(ManualSelectionUnCheckedEvent);
            ChangeTempCommand = new DelegateCommand(btnChangeTempClicked);

            if (ProjectBLL.IsSupportedUniversalSelection(JCHVRF.Model.Project.GetProjectInstance))
            {
                bll = new OutdoorBLL(JCHVRF.Model.Project.CurrentProject.SubRegionCode, JCHVRF.Model.Project.CurrentProject.BrandCode, JCHVRF.Model.Project.CurrentProject.RegionCode);
            }
            else
            {
                bll = new JCHVRF.BLL.OutdoorBLL(JCHVRF.Model.Project.CurrentProject.SubRegionCode, JCHVRF.Model.Project.CurrentProject.BrandCode);
            }
        }
Ejemplo n.º 13
0
        public IDUEquipmentPropertiesViewModel(JCHVRF.Model.Project projectLegacy, RoomIndoor roomIndoor)
        {
            try
            {
                this.ProjectLegacy = projectLegacy;
                pbll = new ProjectBLL(this.ProjectLegacy);

                this.indoorBLL = new IndoorBLL(ProjectLegacy.SubRegionCode, ProjectLegacy.RegionCode, ProjectLegacy.BrandCode);
                // Bind Equipment Pre Selected Data To View Model
                if (roomIndoor != null)
                {
                    this.EquipmentName = roomIndoor.IndoorName;
                    this.SelectedFloor = roomIndoor.RoomName;
                }
                // End Bind Equipment Pre Selected Data To View Model
                GetFloorList();


                BindFanSpeed();
                BindToControl();


                // Bind Equipment Pre Selected Data To View Model
                //if (this.SelectedFanSpeed != null)
                //{
                if (roomIndoor != null)
                {
                    this.SelectedFanSpeed = roomIndoor.FanSpeedLevel;
                    if (ProjectBLL.IsSupportedUniversalSelection(JCHVRF.Model.Project.GetProjectInstance))
                    {
                        GetTypeLookUpData(roomIndoor.DisplayImageName);
                    }
                    else
                    {
                        GetTypeLookUpDataRegionWise(roomIndoor.DisplayImageName);
                    }
                }// roomIndoor.FanSpeedLevel == 1 ? "Max" : roomIndoor.FanSpeedLevel == 0 ? "High2" : roomIndoor.FanSpeedLevel == 1 ? "High" : roomIndoor.FanSpeedLevel == 2 ? "Medium" : roomIndoor.FanSpeedLevel == 3 ? "Low" : "";
                 // }
                 // End Bind Equipment Pre Selected Data To View Model



                // Bind Equipment Pre Selected Data To View Model
                if (roomIndoor != null)
                {
                    if (roomIndoor.IndoorItem.DisplayName != null)
                    {
                        this.SelectedType = roomIndoor.IndoorItem.DisplayName;
                    }
                    // End Bind Equipment Pre Selected Data To View Model
                    // GetSelectedIDUAccessories();


                    //this.AddAccessoryViewModel = new AddAccessoriesTemplateViewModel(this.ProjectLegacy, roomIndoor);
                    OnPropertyChanged(AddAccessoryViewModel.Accessories.ToString());
                }


                //SetEquipmentProperties();
                //To Select

                if (roomIndoor != null && roomIndoor.IndoorItem != null)
                {
                    // this.SelectedType = roomIndoor.IndoorItem.Type;
                }

                // Bind Equipment for Pre Selected Data
                if (roomIndoor != null)
                {
                    if (roomIndoor.IndoorItem != null && roomIndoor.IndoorItem.Model != null)
                    {
                        this.SelectedModel = roomIndoor.IndoorItem.Model;
                        //this.SelectedIndexModel = this.ListModel.FindIndex(a => a.Value == roomIndoor.IndoorItem.Model);
                    }
                    else
                    {
                        if (ListModel != null && ListModel.Count > 0)
                        {
                            this.SelectedModel = ListModel.FirstOrDefault().Value;
                        }
                    }
                }

                if (roomIndoor != null && roomIndoor.IndoorItem != null && roomIndoor.IndoorItem.ListAccessory != null)
                {
                    var itemIndex = this.ProjectLegacy.RoomIndoorList.FindIndex(x => x.IndoorNO == roomIndoor.IndoorNO);
                    var item      = this.ProjectLegacy.RoomIndoorList.ElementAt(itemIndex);
                    this.ProjectLegacy.RoomIndoorList.RemoveAt(itemIndex);
                    item.ListAccessory = roomIndoor.IndoorItem.ListAccessory;
                    this.ProjectLegacy.RoomIndoorList.Insert(itemIndex, item);
                }
                // this.SelectedFanSpeed = 0;
                // End Bind Equipment Pre Selected Data To View Model
            }
            catch (Exception ex)
            {
                int?id = JCHVRF.Model.Project.GetProjectInstance?.projectID;
                Logger.LogProjectError(id, ex);
            }
        }
Ejemplo n.º 14
0
 public UtilityWiring(JCHVRF.Model.Project thisProject)
 {
     ProjectLegacy    = thisProject;
     bmpMeasureString = new Bitmap(500, 100);
     gMeasureString   = Graphics.FromImage(this.bmpMeasureString);
 }
Ejemplo n.º 15
0
        public bool updateProject(JCHVRF.Model.Project project)
        {
            bool isUpdated = false;

            using (IDbConnection db = new OleDbConnection(projectDB))
            {
                byte[] projectBlob  = Utility.Serialize(project);
                string processQuery = @"Update ProjectInfo set  
                                                SystemID=@SystemID,
                                                ProjectName=@ProjectName,
                                                ActiveFlag=@ActiveFlag,
                                                LastUpdateDate=@LastUpdateDate,
                                                ShipTo=@ShipTo,
                                                DBVersion=@DBVersion,
                                                Location=@Location,
                                                SoldTo=@SoldTo,
                                                Version=@Version,
                                                OrderNo=@OrderNo,
                                                ContractNo=@ContractNo,
                                                Region=@Region,
                                                Office=@Office,
                                                Engineer=@Engineer,
                                                YINO=@YINO,
                                                DeliveryDate=@DeliveryDate,
                                                OrderDate=@OrderDate,
                                                Remarks=@Remarks,                                               
                                                Vendor=@Vendor,
                                                ProjectBlob=@ProjectBlob,
                                                SystemBlob=@ProjectBlob,
                                                SQBlob=@ProjectBlob
                                              Where ProjectID=@ProjectID ";

                int rowsAffected = db.Execute(processQuery, new
                {
                    SystemID       = "999",
                    ProjectName    = project.Name,
                    ActiveFlag     = Convert.ToInt32(1),
                    LastUpdateDate = Convert.ToString(project.UpdateDate),
                    ShipTo         = string.IsNullOrEmpty(project.ShipTo) ? string.Empty : project.ShipTo,
                    DBVersion      = ConfigurationManager.AppSettings["DBVersion"],
                    Location       = string.IsNullOrEmpty(project.Location) ? string.Empty : project.Location,
                    SoldTo         = string.IsNullOrEmpty(project.SoldTo) ? string.Empty : project.SoldTo,
                    Version        = string.IsNullOrEmpty(project.Version) ? string.Empty : project.Version,
                    OrderNo        = string.IsNullOrEmpty(project.PurchaseOrderNO) ? string.Empty : project.PurchaseOrderNO,
                    ContractNo     = string.IsNullOrEmpty(project.ContractNO) ? string.Empty : project.ContractNO,
                    Region         = string.IsNullOrEmpty(project.RegionCode) ? string.Empty : project.RegionCode,
                    Office         = string.IsNullOrEmpty(project.SalesOffice) ? string.Empty : project.SalesOffice,
                    Engineer       = string.IsNullOrEmpty(project.SalesEngineer) ? string.Empty : project.SalesEngineer,
                    YINO           = string.IsNullOrEmpty(project.SalesYINO) ? string.Empty : project.SalesYINO,
                    DeliveryDate   = Convert.ToString(project.DeliveryRequiredDate),
                    OrderDate      = Convert.ToString(project.OrderDate),
                    Remarks        = string.IsNullOrEmpty(project.Remarks) ? string.Empty : project.Remarks,
                    Vendor         = string.IsNullOrEmpty(project.salesCompany) ? string.Empty : project.salesCompany,
                    ProjectBlob    = projectBlob,
                    //ToDo
                    SystemBlob = projectBlob,
                    SQBlob     = projectBlob,
                    ProjectID  = project.projectID
                });


                //string processQuery1 = "Update ProjectInfo set SystemID ='" + Convert.ToString(999) + "',ProjectName ='" + project.Name +
                //       "',ActiveFlag ='" + Convert.ToInt32(1) +
                //       "',LastUpdateDate ='" + project.UpdateDate +
                //       "',ShipTo = '" + project.ShipTo +
                //       "',DBVersion = '" + ConfigurationManager.AppSettings["DBVersion"] +
                //       "',Measure = '" + 0 + //ToDo
                //       "',Location = '" + project.Location +
                //       "',SoldTo = '" + project.SoldTo +
                //       "',Version = '" + project.Version +
                //       "',OrderNo = '" + project.PurchaseOrderNO +
                //       "',ContractNo = '" + project.ContractNO +
                //       "',Region = '" + project.RegionCode +
                //       "',Office = '" + project.SalesOffice +
                //       "',Engineer = '" + project.SalesEngineer +
                //       "',YINO = '" + project.SalesYINO +
                //       "',DeliveryDate = '" + project.DeliveryRequiredDate +
                //       "',OrderDate = '" + project.OrderDate +
                //       "',Remarks = '" + project.Remarks +
                //       "',ProjectType = '" + "" +
                //       "',Vendor = '" + project.salesCompany +
                //       "',SystemBlob = '" + projectBlob +
                //       "',SQBlob = '" + projectBlob + "' where ProjectID= " + project.projectID;

                // int rowsAffected = db.Execute(processQuery1);
                if (rowsAffected > 0)
                {
                    isUpdated = true;
                }
            }
            return(isUpdated);
        }
Ejemplo n.º 16
0
        public ODUEquipmentPropertiesViewModel(JCHVRF.Model.Project projectLegacy, NextGenModel.SystemVRF ODUItem)
        {
            try
            {
                this.newProjectLegacy = projectLegacy;
                if (ODUItem != null)
                {
                    this.IsAuto  = ODUItem.IsAuto;
                    this.OduName = ODUItem.Name;
                    //  curSystemItem = new SystemVRF();
                    curSystemItem = ODUItem; // Right Now only 1 SystemVRF in projectLegacy obj
                                             // bll = new JCHVRF.BLL.NextGen.OutdoorBLL("GBR", "H", "EU_W");
                    bll = new JCHVRF.BLL.NextGen.OutdoorBLL(projectLegacy.SubRegionCode, projectLegacy.BrandCode, projectLegacy.RegionCode);

                    if (ODUItem.Series != null)
                    {
                        this.SelectedSeries = ODUItem.Series;
                        GetType(ODUItem.Series);
                    }

                    if (ODUItem.SelOutdoorType != null)
                    {
                        this.SelectedType = ODUItem.SelOutdoorType;
                    }
                    if (ODUItem.Power != null)
                    {
                        this.SelectedPower = ODUItem.Power;
                    }
                    if (ODUItem.OutdoorItem != null && ODUItem.OutdoorItem.ModelFull != null)
                    {
                        this.SelectedOutdoor = ODUItem.OutdoorItem.ModelFull;
                    }
                    // GetPower("Commercial VRF HP, FSXNSE", "FSXNSE (Top discharge)");
                    // GetOutDoor();
                    //if (projectLegacy.SystemList[0].Series != null)

                    BindMaxRatio();

                    if (ODUItem != null)
                    {
                        this.SelectedMaxRatio = Convert.ToInt32(ODUItem.MaxRatio * 100);
                    }

                    if (ODUItem.SysType == SystemType.CompositeMode)
                    {
                        this.IsBothIndoreFreshAir = true;
                    }
                    else
                    {
                        this.IsBothIndoreFreshAir = false;
                    }

                    //if (projectLegacy.SystemListNextGen[0].MaxRatio > 0)
                    //    this.SelectedMaxRatio = Convert.ToInt32(projectLegacy.SystemListNextGen[0].MaxRatio);
                }
            }
            catch (Exception ex)
            {
                int?id = Project.GetProjectInstance?.projectID;
                Logger.LogProjectError(id, ex);
            }
        }
Ejemplo n.º 17
0
 private void Initializations()
 {
     CurrentProject      = JCHVRF.Model.Project.GetProjectInstance;
     IsSingleFoorChecked = true;
     IsRegular           = true;
 }