Exemplo n.º 1
0
        public wndExperimentConfig(ExperimentConfig cnfg)
        {
            Cnfg = cnfg;

            InitializeComponent();

            slider           = new DoubleSlider(0, 1440, 5);
            slider.FromValue = cnfg.StartTime.TotalMinutes;
            slider.ToValue   = cnfg.StopTime.TotalMinutes;
            SliderPanel.Children.Add(slider);

            cbAgentAverangeLenght.Content          = AnalisisConstants.AGENT_AVERANGE_LENGHT_NAME;
            cbAgentAverangeLenght.IsChecked        = cnfg.AgentAverangeLenght;
            cbAgentAverangeLenghtByGroup.Content   = AnalisisConstants.AGENT_AVERANGE_LENGHT_BY_GROUP_NAME;
            cbAgentAverangeLenghtByGroup.IsChecked = cnfg.AgentAverangeLenghtByGroup;
            cbAgentAverangeSpeed.Content           = AnalisisConstants.AGENT_AVERANGE_SPEED_NAME;
            cbAgentAverangeSpeed.IsChecked         = cnfg.AgentAverangeSpeed;
            cbAgentAverangeSpeedByGroup.Content    = AnalisisConstants.AGENT_AVERANGE_SPEED_BY_GROUP_NAME;
            cbAgentAverangeSpeedByGroup.IsChecked  = cnfg.AgentAverangeSpeedByGroup;
            cbAgentAverangeTime.Content            = AnalisisConstants.AGENT_AVERANGE_TIME_NAME;
            cbAgentAverangeTime.IsChecked          = cnfg.AgentAverangeTime;
            cbAgentAverangeTimeByGroup.Content     = AnalisisConstants.AGENT_AVERANGE_TIME_BY_GROUP_NAME;
            cbAgentAverangeTimeByGroup.IsChecked   = cnfg.AgentAverangeTimeByGroup;
            cbAgentCountOnMap.Content           = AnalisisConstants.AGENT_COUNT_ON_MAP_NAME;
            cbAgentCountOnMap.IsChecked         = cnfg.AgentCountOnMap;
            cbAgentCountOnMapByGroup.Content    = AnalisisConstants.AGENT_COUNT_ON_MAP_BY_GROUP_NAME;
            cbAgentCountOnMapByGroup.IsChecked  = cnfg.AgentCountOnMapByGroup;
            cbAgentInputOutput.Content          = AnalisisConstants.AGENT_INPUT_OUTPUT_NAME;
            cbAgentInputOutput.IsChecked        = cnfg.AgentInputOutput;
            cbAgentInputOutputByGroup.Content   = AnalisisConstants.AGENT_INPUT_OUTPUT_BY_GROUP_NAME;
            cbAgentInputOutputByGroup.IsChecked = cnfg.AgentInputOutputByGroup;
            cbSpectralDensity.Content           = AnalisisConstants.SPECTRAL_DENSITY_NAME;
            cbSpectralDensity.IsChecked         = cnfg.SpectralDensity;
        }
Exemplo n.º 2
0
        public wndExperimentConfig()
        {
            Cnfg = new ExperimentConfig();

            InitializeComponent();

            slider           = new DoubleSlider(0, 1440, 5);
            slider.FromValue = 0;
            slider.ToValue   = 1440;
            SliderPanel.Children.Add(slider);

            cbAgentAverangeLenght.Content        = AnalisisConstants.AGENT_AVERANGE_LENGHT_NAME;
            cbAgentAverangeLenghtByGroup.Content = AnalisisConstants.AGENT_AVERANGE_LENGHT_BY_GROUP_NAME;
            cbAgentAverangeSpeed.Content         = AnalisisConstants.AGENT_AVERANGE_SPEED_NAME;
            cbAgentAverangeSpeedByGroup.Content  = AnalisisConstants.AGENT_AVERANGE_SPEED_BY_GROUP_NAME;
            cbAgentAverangeTime.Content          = AnalisisConstants.AGENT_AVERANGE_TIME_NAME;
            cbAgentAverangeTimeByGroup.Content   = AnalisisConstants.AGENT_AVERANGE_TIME_BY_GROUP_NAME;
            cbAgentCountOnMap.Content            = AnalisisConstants.AGENT_COUNT_ON_MAP_NAME;
            cbAgentCountOnMapByGroup.Content     = AnalisisConstants.AGENT_COUNT_ON_MAP_BY_GROUP_NAME;
            cbAgentInputOutput.Content           = AnalisisConstants.AGENT_INPUT_OUTPUT_NAME;
            cbAgentInputOutputByGroup.Content    = AnalisisConstants.AGENT_INPUT_OUTPUT_BY_GROUP_NAME;
            cbSpectralDensity.Content            = AnalisisConstants.SPECTRAL_DENSITY_NAME;
        }
        public wndExperimentConfig(ExperimentConfig cnfg)
        {
            Cnfg = cnfg;

            InitializeComponent();

            slider = new DoubleSlider(0, 1440, 5);
            slider.FromValue = cnfg.StartTime.TotalMinutes;
            slider.ToValue = cnfg.StopTime.TotalMinutes;
            SliderPanel.Children.Add(slider);

            cbAgentAverangeLenght.Content = AnalisisConstants.AGENT_AVERANGE_LENGHT_NAME;
            cbAgentAverangeLenght.IsChecked = cnfg.AgentAverangeLenght;
            cbAgentAverangeLenghtByGroup.Content = AnalisisConstants.AGENT_AVERANGE_LENGHT_BY_GROUP_NAME;
            cbAgentAverangeLenghtByGroup.IsChecked = cnfg.AgentAverangeLenghtByGroup;
            cbAgentAverangeSpeed.Content = AnalisisConstants.AGENT_AVERANGE_SPEED_NAME;
            cbAgentAverangeSpeed.IsChecked = cnfg.AgentAverangeSpeed;
            cbAgentAverangeSpeedByGroup.Content = AnalisisConstants.AGENT_AVERANGE_SPEED_BY_GROUP_NAME;
            cbAgentAverangeSpeedByGroup.IsChecked = cnfg.AgentAverangeSpeedByGroup;
            cbAgentAverangeTime.Content = AnalisisConstants.AGENT_AVERANGE_TIME_NAME;
            cbAgentAverangeTime.IsChecked = cnfg.AgentAverangeTime;
            cbAgentAverangeTimeByGroup.Content = AnalisisConstants.AGENT_AVERANGE_TIME_BY_GROUP_NAME;
            cbAgentAverangeTimeByGroup.IsChecked = cnfg.AgentAverangeTimeByGroup;
            cbAgentCountOnMap.Content = AnalisisConstants.AGENT_COUNT_ON_MAP_NAME;
            cbAgentCountOnMap.IsChecked = cnfg.AgentCountOnMap;
            cbAgentCountOnMapByGroup.Content = AnalisisConstants.AGENT_COUNT_ON_MAP_BY_GROUP_NAME;
            cbAgentCountOnMapByGroup.IsChecked = cnfg.AgentCountOnMapByGroup;
            cbAgentInputOutput.Content = AnalisisConstants.AGENT_INPUT_OUTPUT_NAME;
            cbAgentInputOutput.IsChecked = cnfg.AgentInputOutput;
            cbAgentInputOutputByGroup.Content = AnalisisConstants.AGENT_INPUT_OUTPUT_BY_GROUP_NAME;
            cbAgentInputOutputByGroup.IsChecked = cnfg.AgentInputOutputByGroup;
            cbSpectralDensity.Content = AnalisisConstants.SPECTRAL_DENSITY_NAME;
            cbSpectralDensity.IsChecked = cnfg.SpectralDensity;
        }
        public wndExperimentConfig()
        {
            Cnfg = new ExperimentConfig();

            InitializeComponent();

            slider = new DoubleSlider(0, 1440, 5);
            slider.FromValue = 0;
            slider.ToValue = 1440;
            SliderPanel.Children.Add(slider);

            cbAgentAverangeLenght.Content = AnalisisConstants.AGENT_AVERANGE_LENGHT_NAME;
            cbAgentAverangeLenghtByGroup.Content = AnalisisConstants.AGENT_AVERANGE_LENGHT_BY_GROUP_NAME;
            cbAgentAverangeSpeed.Content = AnalisisConstants.AGENT_AVERANGE_SPEED_NAME;
            cbAgentAverangeSpeedByGroup.Content = AnalisisConstants.AGENT_AVERANGE_SPEED_BY_GROUP_NAME;
            cbAgentAverangeTime.Content = AnalisisConstants.AGENT_AVERANGE_TIME_NAME;
            cbAgentAverangeTimeByGroup.Content = AnalisisConstants.AGENT_AVERANGE_TIME_BY_GROUP_NAME;
            cbAgentCountOnMap.Content = AnalisisConstants.AGENT_COUNT_ON_MAP_NAME;
            cbAgentCountOnMapByGroup.Content = AnalisisConstants.AGENT_COUNT_ON_MAP_BY_GROUP_NAME;
            cbAgentInputOutput.Content = AnalisisConstants.AGENT_INPUT_OUTPUT_NAME;
            cbAgentInputOutputByGroup.Content = AnalisisConstants.AGENT_INPUT_OUTPUT_BY_GROUP_NAME;
            cbSpectralDensity.Content = AnalisisConstants.SPECTRAL_DENSITY_NAME;
        }