public TeraForm(TeraDevice tera_device, MainForm f) { InitializeComponent(); this.mainForm = f; this.teraDevice = tera_device; this.Text = teraDevice.NameWithSerial(); fillTeraDS(); }
public static float[] rangeCoeffs() { TeraDevice t = new TeraDevice(); float[] a = new float[t.rangeCoeffs.Length]; for (int i = 0; i < t.rangeCoeffs.Length; i++) { a[i] = ServiceFunctions.getRandomNearOne(); } return(a); }
public MeasureResultTera(TeraMeasure m, TeraDevice d) : base() { this.Measure = m; this.TeraDevice = d; this.CycleNumber = m.CycleNumber; this.MeasureNumber = m.Number; this.StatCycleNumber = m.StatCycleNumber; this.Voltage = m.Voltage; this.Material = m.Material; this.Temperature = m.Temperature; this.BringingTypeId = m.BringingTypeId; this.BringingLengthMeasure = m.BringingLengthMeasure; }
public TeraMeasure(TeraDevice tera, MEASURE_TYPE t) : base(t, tera) { this.teraDevice = tera; }