Beispiel #1
0
        /// <summary>
        /// A constructor used to create singleton instance.
        /// </summary>
        protected TestBench(ITorqueCell torqueCell, IServoDrive servoDrive)
        {
            _torqueCell = torqueCell;
            _acDrive    = servoDrive;

            CompletedTests = new List <TorqueTest>();
        }
Beispiel #2
0
 public static void Initialize(ITorqueCell torqueCell, IServoDrive servoDrive)
 {
     _testBench = new TestBench(torqueCell, servoDrive);
 }