Exemple #1
0
        public RobotUnitTests()
        {
            _loader = RobotFactory.CreateRobot<LoaderRobot>();

            var dict = new Dictionary<string, string>();
            dict.Add("IPAddress", "192.168.1.202");

            _loader.SetParameters(dict);
            _loader.Initialise();
        }
Exemple #2
0
        public LoaderRobotTest()
        {
            _loader = RobotFactory.CreateRobot<LoaderRobot>();

            var dict = new Dictionary<string, string>();
            dict.Add("IPAddress", "192.168.1.202");

            _loader.SetParameters(dict);
            _loader.Initialise();

            //var conveyor = ConveyorFactory.CreateConveyor<SerialConveyor>();
            //var dict3 = new Dictionary<string, string>();
            //dict3.Add("PortName", "COM1");

            //conveyor.SetParameters(dict3);
            //conveyor.Initialise();

            //conveyor.MoveForward();
        }