• 大小: 1.15MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-17
  • 语言: C#
  • 标签: PC  SDK  VS  Robotstudio  

资源简介

C#编写PC应用程序控制Robotstudio中的机器人。主要实现的功能是在VS中利用C#语言编写控制端,在Robotstudio中编写机器人端控制程序,并用PC SDK实现接口通讯,在面板中留下鼠标轨迹,机器人再重现运动。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABBpainting
{
    class BrushStatus
    {
        private int x y z;

        public int X
        {
            get
            {
                return x;
            }

            set
            {
                x = value;
            }
        }

        public int Y
        {
            get
            {
                return y;
            }

            set
            {
                y = value;
            }
        }

        public int Z
        {
            get
            {
                return z;
            }

            set
            {
                z = value;
            }
        }

        public BrushStatus()
        {
            this.X = 0;
            this.Y = 0;
            this.Z = 0;
        }

        public BrushStatus(int x int y int z)
        {
            this.X = x;
            this.Y = y;
            this.Z = z;
        }

        public void Mirroring()
        {
            var c = x;
            x = y;
            y = c;
        }

        public override string ToString()
        {
            return “[ “ +X + “ ; “+ Y +“ ; “ + Z +“ ]\n“;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-06-16 03:11  ABB robot - C# App\
     文件      145378  2017-06-02 03:01  ABB robot - C# App\attention1.jpg
     文件      194530  2017-06-02 03:05  ABB robot - C# App\attention2.jpg
     文件      325120  2017-06-16 03:11  ABB robot - C# App\Prezentare-robot.ppt
     目录           0  2017-06-04 00:43  ABB robot - C# App\RAPID CODE\
     文件         406  2017-05-19 17:39  ABB robot - C# App\RAPID CODE\CalibData.mod
     文件        3082  2017-05-19 17:39  ABB robot - C# App\RAPID CODE\Module1.mod
     文件        2831  2017-05-27 01:50  ABB robot - C# App\RAPID CODE\rapid_code.txt
     文件         131  2017-05-19 17:39  ABB robot - C# App\RAPID CODE\testingTask.pgf
     目录           0  2017-06-04 00:43  ABB robot - C# App\RobotStudio\
     文件      107855  2017-06-02 02:56  ABB robot - C# App\RobotStudio\StatieDeRobotTestare.rspag
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\.vs\
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\.vs\ABBpainting\
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\.vs\ABBpainting\v14\
     文件       82944  2017-06-02 03:04  ABB robot - C# App\Visual Studio\ABBpainting\.vs\ABBpainting\v14\.suo
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\
     文件        1000  2017-05-17 05:06  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting.sln
     文件        4620  2017-05-17 16:04  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\ABBpainting.csproj
     文件         186  2017-05-17 16:04  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\App.config
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\
     目录           0  2017-06-04 00:43  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\
     文件      507648  2017-04-07 19:35  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABB.Robotics.Controllers.PC.dll
     文件     1108562  2017-04-07 18:48  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABB.Robotics.Controllers.PC.xml
     文件       19456  2017-05-18 22:25  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABBpainting.exe
     文件         186  2017-05-17 16:04  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABBpainting.exe.config
     文件       38400  2017-05-18 22:25  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABBpainting.pdb
     文件       22696  2017-06-02 02:59  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABBpainting.vshost.exe
     文件         186  2017-05-17 16:04  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABBpainting.vshost.exe.config
     文件         490  2016-07-16 19:44  ABB robot - C# App\Visual Studio\ABBpainting\ABBpainting\bin\Debug\ABBpainting.vshost.exe.manifest
............此处省略30个文件信息

评论

共有 条评论