public CarInserterEditorViewModel( RoadTrafficSimulator.Components.BuildMode.Controls.CarsInserter control, IEnumerable<RouteViewModel> routes )
        {
            this._carInserter = control;
            this._basicInformation = new BasiInformationAboutControlViewModel( control );
            this._routeEditor = new RouteEditorViewModel( this._carInserter, routes );

            this.CarInsertInterval = this._carInserter.GetCarInsertInterval();
        }
        public LightEditorViewModel( LightBlock control )
        {
            this._light = control;
            this._basicInformation = new BasiInformationAboutControlViewModel( control );

            this.SetupDealy = this._light.Times.SetupDealy.Seconds;
            this.RedLightTime = this._light.Times.RedLightTime.Seconds;
            this.YellowLightTime = this._light.Times.YellowLightTime.Seconds;
            this.GreenLightTime = this._light.Times.GreenLightTime.Seconds;
        }