public DemoRobot2(RobotInterface Interface, ManualResetEvent Stop, ManualResetEvent Stopped) : base(Interface, Stop, Stopped) { m_BK = (DemoBK)Interface.GetBK(); m_TypeParams = new DemoTypeParams(); m_NextState = State.Unknown; }
public DemoRobotDispatcher(ManualResetEvent Stop, ManualResetEvent Stopped, RobotInterface Dispatcher, RobotInterface Robot1, RobotInterface Robot2) : base(Stop, Stopped, Dispatcher, Robot1) { CreateRobot(2, Robot2); //hardware simulation starten DemoSimulator sim = new DemoSimulator(); GetRefRobot2().EventStepExit += new OnStepExitEventHandler(sim.OnEventStepExitRobot2); sim.SetReferences((DemoBK)Robot2.GetBK()); sim.Show(); }
public DemoRobot1(RobotInterface Interface, ManualResetEvent Stop, ManualResetEvent Stopped) : base(Interface, Stop, Stopped) { m_BK = (DemoBK)Interface.GetBK(); m_TypeParams = new DemoTypeParams(); }