コード例 #1
0
        static void Main(string[] args)
        {
            RoboDK RDK = new RoboDK
            {
                RoboDKServerStartPort = 20500,
                RoboDKServerEndPort   = 20500
            };
            bool status = RDK.Connect();

            Console.WriteLine("Connect status: " + status.ToString());
            Console.WriteLine("Last status message: " + RDK.LastStatusMessage);

            var robot = RDK.GetItemByName("", RoboDk.API.Model.ItemType.Robot);

            robot.Connect();
            //robot.;

            int b = 1;
        }