/// <summary> /// A constructor used to create singleton instance. /// </summary> protected TestBench(ITorqueCell torqueCell, IServoDrive servoDrive) { _torqueCell = torqueCell; _acDrive = servoDrive; CompletedTests = new List <TorqueTest>(); }
public static void Initialize(ITorqueCell torqueCell, IServoDrive servoDrive) { _testBench = new TestBench(torqueCell, servoDrive); }