public TestRunner(SwitchController sc, NetworkAnalyzer av, Oscillograph osc) { this.av = av; this.osc = osc; this.sc = sc; }
private static void Main(string[] args) { var gdo = new GDO(); var o = new Oscillograph(gdo); gdo.R100 += 1; o.MsPerDel += 200; var g = o.Graph; }
public void Initialize() { gdo = new GDO(); osc = new Oscillograph(gdo); dataSet = new LineDataSet(); dataSet.LineThickness = 3; dataSet.LineColor = UnityEngine.Color.green; chart.YAxis.MaxAxisValue = VPerDelknob.Value * 5; chart.YAxis.MinAxisValue = -VPerDelknob.Value * 5; V_del.text = Math.Round(VPerDelknob.Value, 2).ToString() + " В/дел"; Ms_del.text = (chart.XAxis.MaxAxisValue / 10).ToString() + " Мс/дел"; }
public void SetOscillogpaph(Oscillograph oscillograph) { _oscillograph = oscillograph; _oscillograph.WindowSize = (int)ActualWidth; }