示例#1
0
 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;
 }
示例#2
0
        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();
        }
示例#3
0
 public DemoRobot1(RobotInterface Interface, ManualResetEvent Stop, ManualResetEvent Stopped)
     : base(Interface, Stop, Stopped)
 {
     m_BK         = (DemoBK)Interface.GetBK();
     m_TypeParams = new DemoTypeParams();
 }