public ParameterForAnalysis(PropertiesSystem _propertiesSystem, NameParameterForAnalysis parameter, Func <double?> calculate)
        {
            TypeParameter    = parameter;
            propertiesSystem = _propertiesSystem;
            _propertiesSystem.ParametersForAnalysis.Add(TypeParameter, this);

            Calculate = calculate;
        }
        public ParameterWithEnter(PropertiesSystem _propertiesSystem, NameParameterWithEnter parameter)
        {
            TypeParameter = parameter;

            propertiesSystem = _propertiesSystem;

            _propertiesSystem.ParametersWithEnter.Add(TypeParameter, this);
        }
        public ParameterWithCalculation(PropertiesSystem _propertiesSystem, NameParameterWithCalculation parameter, Func <double?> calculate)
        {
            TypeParameter = parameter;

            propertiesSystem = _propertiesSystem;
            _propertiesSystem.ParametersWithCalculation.Add(TypeParameter, this);

            Calculate = calculate;
        }
Exemplo n.º 4
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            IsDefaultAutoRun = autoRun.IsStartUp();
            properties       = PropertiesSetting.DefaultSetting.Property;
            PropertyToUi();

            textBoxFtpUri.TextChanged        += textBox_TextChanged;
            textBoxFtpUser.TextChanged       += textBox_TextChanged;
            passwordBoxFtpPw.PasswordChanged += passwordBoxFtpPw_PasswordChanged;
            textBoxFolder.TextChanged        += textBox_TextChanged;

            IsUpdate = false;

            string version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major.ToString(); //AssemblyVersion을 가져온다.

            version += "." + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor.ToString();
            version += "." + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Build.ToString();
            Title    = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name + " " + version;
        }
Exemplo n.º 5
0
 public ParameterU(PropertiesSystem _propertiesSystem, Func <double?> calculate)
 {
     Calculate        = calculate;
     propertiesSystem = _propertiesSystem;
 }