コード例 #1
0
        public WeatherConditions()
        {
            WindLevelRepository windLevelRepository = new WindLevelRepository();

            this.windLevels = windLevelRepository.FindAll();

            SnowLevelRepository snowRepository = new SnowLevelRepository();

            this.snowLevels = snowRepository.FindAll();

            windIndex = 0;
            snowIndex = 0;
        }
コード例 #2
0
        public WorkLevelSelectCheckService()
        {
            RoofMaterialRepository roofRepository = new RoofMaterialRepository();

            roofMaterials = roofRepository.FindAll();

            WindLevelRepository windLevelRepository = new WindLevelRepository();

            this.windLevels = windLevelRepository.FindAll();

            SnowLevelRepository snowRepository = new SnowLevelRepository();

            this.snowLevels = snowRepository.FindAll();
        }
コード例 #3
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        public RoofTopModuleTypeCheckService()
        {
            WindLevelRepository windLevelRepository = new WindLevelRepository();

            this.windLevels = windLevelRepository.FindAll();

            SnowLevelRepository snowRepository = new SnowLevelRepository();

            this.snowLevels = snowRepository.FindAll();

            RoofTopModuleAngleRepository moduleAngleRepository = new RoofTopModuleAngleRepository();

            this.moduleAngles = moduleAngleRepository.FindAll();
        }