点击或拖拽改变大小

ABBWebApiClient 类

ABB机器人的web api接口的客户端,可以方便快速的获取到abb机器人的一些数据信息
The client of ABB robot's web API interface can easily and quickly obtain some data information of ABB robot
继承层次
SystemObject
  HslCommunication.Core.NetNetworkWebApiBase
    HslCommunication.Core.NetNetworkWebApiRobotBase
      HslCommunication.Robot.ABBABBWebApiClient

命名空间:  HslCommunication.Robot.ABB
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class ABBWebApiClient : NetworkWebApiRobotBase, 
	IRobotNet

ABBWebApiClient 类型公开以下成员。

构造函数
  名称说明
公共方法ABBWebApiClient(String)
使用指定的ip地址来初始化对象
Initializes the object using the specified IP address
公共方法ABBWebApiClient(String, Int32)
使用指定的ip地址和端口号来初始化对象
Initializes the object with the specified IP address and port number
公共方法ABBWebApiClient(String, Int32, String, String)
使用指定的ip地址,端口号,用户名,密码来初始化对象
Initialize the object with the specified IP address, port number, username, and password
Top
属性
  名称说明
公共属性Client
获取当前的HttpClinet的客户端
Get the current HttpClinet client
(继承自 NetworkWebApiBase。)
公共属性DefaultContentType
默认的内容类型,如果为空,则不进行设置操作。例如设置为 "text/plain", "application/json", "text/html" 等等。
The default content type, if it is empty, no setting operation will be performed. For example, set to "text/plain", "application/json", "text/html" and so on.
(继承自 NetworkWebApiBase。)
公共属性IpAddress
获取或设置远程服务器的IP地址
Gets or sets the IP address of the remote server
(继承自 NetworkWebApiBase。)
公共属性代码示例LogNet
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出
The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG
(继承自 NetworkWebApiBase。)
公共属性Password
获取或设置当前的密码
Get or set the current password
(继承自 NetworkWebApiBase。)
公共属性Port
获取或设置远程服务器的端口号信息
Gets or sets the port number information for the remote server
(继承自 NetworkWebApiBase。)
公共属性UseEncodingISO
获取或设置是否使用ISO的编码信息,默认为 False
Get or set whether to use ISO encoding information, the default is False
(继承自 NetworkWebApiBase。)
公共属性UseHttps
是否启用Https的协议访问,对于Https来说,端口号默认为 443
Whether to enable Https protocol access, for Https, the port number defaults to 443
(继承自 NetworkWebApiBase。)
公共属性UserName
获取或设置当前的用户名
Get or set the current username
(继承自 NetworkWebApiBase。)
Top
方法
  名称说明
受保护的方法AddRequestHeaders
针对请求的头信息进行额外的处理
(继承自 NetworkWebApiBase。)
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法Get
使用GET操作从网络中获取到数据信息
(继承自 NetworkWebApiBase。)
公共方法GetAsync
使用GET操作从网络中获取到数据信息
(继承自 NetworkWebApiBase。)
公共方法GetCtrlState
获取当前的控制状态,Content属性就是机器人的控制信息
Get the current control state. The Content attribute is the control information of the robot
公共方法GetCtrlStateAsync
获取当前的控制状态,Content属性就是机器人的控制信息
Get the current control state. The Content attribute is the control information of the robot
公共方法GetErrorState
获取当前的错误状态,Content属性就是机器人的状态信息
Gets the current error state. The Content attribute is the state information of the robot
公共方法GetErrorStateAsync
获取当前的错误状态,Content属性就是机器人的状态信息
Gets the current error state. The Content attribute is the state information of the robot
公共方法GetHashCode (继承自 Object。)
公共方法GetIO2In
获取当前机器人的本机的输入IO
Gets the input IO of the current robot's native
公共方法GetIO2InAsync
获取当前机器人的本机的输入IO
Gets the input IO of the current robot's native
公共方法GetIO2Out
获取当前机器人的本机的输出IO
Gets the output IO of the current robot's native
公共方法GetIO2OutAsync
获取当前机器人的本机的输出IO
Gets the output IO of the current robot's native
公共方法GetIOIn
获取当前机器人的本机的输入IO
Gets the input IO of the current robot's native
公共方法GetIOInAsync
获取当前机器人的本机的输入IO
Gets the input IO of the current robot's native
公共方法GetIOOut
获取当前机器人的本机的输出IO
Gets the output IO of the current robot's native
公共方法GetIOOutAsync
获取当前机器人的本机的输出IO
Gets the output IO of the current robot's native
公共方法GetJointTarget
获取当前机器人的物理关节点信息,返回json格式的关节信息
Get the physical node information of the current robot and return the joint information in json format
公共方法GetJointTargetAsync
获取当前机器人的物理关节点信息,返回json格式的关节信息
Get the physical node information of the current robot and return the joint information in json format
公共方法GetLog
获取当前机器人的日志记录,默认记录为10条
Gets the log record for the current robot, which is 10 by default
公共方法GetLogAsync
获取当前机器人的日志记录,默认记录为10条
Gets the log record for the current robot, which is 10 by default
公共方法GetOperationMode
获取当前机器人的工作模式
Gets the current working mode of the robot
公共方法GetOperationModeAsync
获取当前机器人的工作模式
Gets the current working mode of the robot
公共方法GetRapidExecution
获取当前机器人的当前程序运行状态
Get the current program running status of the current robot
公共方法GetRapidExecutionAsync
获取当前机器人的当前程序运行状态
Get the current program running status of the current robot
公共方法GetRapidTasks
获取当前机器人的任务列表
Get the task list of the current robot
公共方法GetRapidTasksAsync
获取当前机器人的任务列表
Get the task list of the current robot
公共方法GetRobotTarget
获取机器人的目标坐标信息
Get the current robot's target information
公共方法GetRobotTargetAsync
获取机器人的目标坐标信息
Get the current robot's target information
公共方法静态成员GetSelectStrings
获取当前支持的读取的地址列表
Gets a list of addresses for currently supported reads
公共方法GetServoEnable
获取当前机器人的伺服使能状态
Get the current robot servo enable state
公共方法GetServoEnableAsync
获取当前机器人的伺服使能状态
Get the current robot servo enable state
公共方法GetSpeedRatio
获取当前机器人的速度配比信息
Get the speed matching information of the current robot
公共方法GetSpeedRatioAsync
获取当前机器人的速度配比信息
Get the speed matching information of the current robot
公共方法GetSystem
获取当前机器人的系统信息,版本号,唯一ID等信息
Get the current robot's system information, version number, unique ID and other information
公共方法GetSystemAsync
获取当前机器人的系统信息,版本号,唯一ID等信息
Get the current robot's system information, version number, unique ID and other information
公共方法GetType (继承自 Object。)
公共方法GetUserValue
根据给定的名称,获取当前用户的数据值信息。
According to the given name, gets the data value information of the current user
公共方法GetUserValueAsync
根据给定的名称,获取当前用户的数据值信息。
According to the given name, gets the data value information of the current user
受保护的方法MemberwiseClone (继承自 Object。)
公共方法Post
使用POST命令去提交数据内容,然后返回相关的数据信息
(继承自 NetworkWebApiBase。)
公共方法PostAsync
使用POST命令去提交数据内容,然后返回相关的数据信息
(继承自 NetworkWebApiBase。)
公共方法Read
读取对方信息的的数据信息,通常是针对GET的方法信息设计的。如果使用了url=开头,就表示是使用了原生的地址访问
Read the other side of the data information, usually designed for the GET method information.If you start with url=, you are using native address access
(重写 NetworkWebApiRobotBaseRead(String).)
公共方法ReadAsync
读取对方信息的的数据信息,通常是针对GET的方法信息设计的。如果使用了url=开头,就表示是使用了原生的地址访问
Read the other side of the data information, usually designed for the GET method information.If you start with url=, you are using native address access
(继承自 NetworkWebApiRobotBase。)
受保护的方法ReadByAddress
等待重写的额外的指令信息的支持。除了url的形式之外,还支持基于命令的数据交互
Additional instruction information waiting for rewriting is supported.In addition to the url format, command based data interaction is supported
(重写 NetworkWebApiRobotBaseReadByAddress(String).)
受保护的方法ReadByAddressAsync
等待重写的额外的指令信息的支持。除了url的形式之外,还支持基于命令的数据交互
Additional instruction information waiting for rewriting is supported.In addition to the url format, command based data interaction is supported
(重写 NetworkWebApiRobotBaseReadByAddressAsync(String).)
公共方法ReadString
读取对方信息的的字符串数据信息,通常是针对GET的方法信息设计的。如果使用了url=开头,就表示是使用了原生的地址访问
The string data information that reads the other party information, usually designed for the GET method information.If you start with url=, you are using native address access
(重写 NetworkWebApiRobotBaseReadString(String).)
公共方法ReadStringAsync
读取对方信息的的字符串数据信息,通常是针对GET的方法信息设计的。如果使用了url=开头,就表示是使用了原生的地址访问
The string data information that reads the other party information, usually designed for the GET method information.If you start with url=, you are using native address access
(继承自 NetworkWebApiRobotBase。)
公共方法ToString (重写 NetworkWebApiRobotBaseToString.)
公共方法Write(String, Byte)
使用POST的方式来向对方进行请求数据信息,需要使用url=开头,来表示是使用了原生的地址访问
Using POST to request data information from the other party, we need to start with url= to indicate that we are using native address access
(重写 NetworkWebApiRobotBaseWrite(String, Byte).)
公共方法Write(String, String)
使用POST的方式来向对方进行请求数据信息,需要使用url=开头,来表示是使用了原生的地址访问
Using POST to request data information from the other party, we need to start with url= to indicate that we are using native address access
(重写 NetworkWebApiRobotBaseWrite(String, String).)
公共方法WriteAsync(String, Byte)
使用POST的方式来向对方进行请求数据信息,需要使用url=开头,来表示是使用了原生的地址访问
Using POST to request data information from the other party, we need to start with url= to indicate that we are using native address access
(继承自 NetworkWebApiRobotBase。)
公共方法WriteAsync(String, String)
使用POST的方式来向对方进行请求数据信息,需要使用url=开头,来表示是使用了原生的地址访问
Using POST to request data information from the other party, we need to start with url= to indicate that we are using native address access
(继承自 NetworkWebApiRobotBase。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
备注
参考的界面信息是:http://developercenter.robotstudio.com/webservice/api_reference 关于额外的地址说明,如果想要查看,可以调用GetSelectStrings 返回字符串列表来看看。
参见