Exemplo n.º 1
0
 public Calibrate(List<List<SamplingResult>> src, Settings settings) {
     _src = src;
     _settings = settings;
     
     //Main()
     GetCoefficient_K();
 }
        private void SetSettingsData(Settings settings) {
            _driveCurrent = settings._data._ldDrive;
            _biasCurrent = settings._data._ldBias;
            _calibration = settings._data._ldCalib;
            
            //測定待ち時間
            //if(settings._data._interval._isAutoMeasure){
            //    _preparationTime = settings._data._interval._time;
            //}else{
            //    _preparationTime = "0";
            //}

            _offset = settings._data._offset;
            _gain = settings._data._gain;
        }
Exemplo n.º 3
0
        public string LaserSetting(Settings.Data.Interval interval) {
            
            string result = "";
            string autoStart = "";
            string autoOff = "";

            //if (interval._isAutoMeasure == true) {
            //    autoStart = "ON";
            //} else {
            //    autoStart = "OFF";
            //}

            if (interval._cutOffLaserAfterMeasure == true) {
                autoOff = "ON";
            } else {
                autoOff = "OFF";
            }

            result += "インターバル時間: " + interval._time + "秒" + "\r\n";
            result += "自動測定: " + autoStart + "\r\n";
            result += "自動レーザー停止: " + autoOff + "\r\n";

            return result;
        }
Exemplo n.º 4
0
 public GammaManager(Settings settings) {
     _settings = settings;
 }
Exemplo n.º 5
0
		public GammaManager(List<SamplingResult> src, Settings settings) {
			_src = src;
            _settings = settings;
		}
 public ProductDataFormat(Settings settings,List<TextBox> tempList) {
     MakeDate();
     SetSettingsData(settings);
     SetTempData(tempList);
 }
Exemplo n.º 7
0
		public Form1() {
			InitializeComponent();
			_machine = new Machine();
			_settings = new Settings(this,_machine);

			InitialAllGUI(); 
		}
Exemplo n.º 8
0
 public MeasureData(Settings settings) {
     _settings = settings;
 }
Exemplo n.º 9
0
 public Stability(Settings settings) {
     _settings = settings;
 }
Exemplo n.º 10
0
        //public void SetBslFactor(List<double> gamma, double bsl) {
        //    _gamma = gamma;
        //    _bsl = bsl;

        //    //timeStump作成
        //    MakeDate();
        //}

        public Stability(List<List<SamplingResult>> src, Settings settings) {
            _raw_samplingResult = src;
            _settings = settings;
        }
Exemplo n.º 11
0
		const int numOfLaser = 9;	//1個目はオフセット 

		public DataProcessor(Machine machine,Settings settings){
			_machine = machine;
            _settings = settings;
		}