-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathUR.cs
112 lines (92 loc) · 3.07 KB
/
UR.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// WARNING
// This file is an empty shell containing only public C# items.
// The internal code is hidden; to access it, you need to obtain a Source licence of the library.
using Internal;
using License;
namespace UnderAutomation.UniversalRobots {
public class UR : URServiceBase {
public UR()
{
// Source is hidden, a Source licence is needed to access internal code...
}
/// <summary>
/// Interact with robot via Primary Interface
/// </summary>
public PrimaryInterfaceClientInternal PrimaryInterface { get; }
/// <summary>
/// Interact with robot via XML-RPC
/// </summary>
public XmlRpcServerInternal XmlRpc { get; }
/// <summary>
/// Interact with robot via Dashboard
/// </summary>
public DashboardClientInternal Dashboard { get; }
/// <summary>
/// Interact with robot via Socket communication
/// </summary>
public SocketCommunicationServerInternal SocketCommunication { get; }
/// <summary>
/// Interact with robot via RTDE
/// </summary>
public RtdeClientInternal Rtde { get; }
/// <summary>
/// Interact with robot via SSH
/// </summary>
public SshClientInternal Ssh { get; }
/// <summary>
/// Interact with robot via SFTP
/// </summary>
public SftpClientInternal Sftp { get; }
/// <summary>
/// Interact with robot via SFTP
/// </summary>
public InterpreterModeClientInternal InterpreterMode { get; }
/// <summary>
/// Robot IP address, null is robot is disconnected
/// </summary>
public string IP { get; }
/// <summary>
/// Connects to a robot with default parameters
/// </summary>
/// <param name="ip">Robot IP address</param>
public void Connect(string ip)
{
// Source is hidden, a Source licence is needed to access internal code...
}
/// <summary>
/// Connects to a robot with specific parameters
/// </summary>
/// <param name="parameters">Connection parameters</param>
public void Connect(ConnectParameters parameters)
{
// Source is hidden, a Source licence is needed to access internal code...
}
/// <summary>
/// Disconnects all clients and disable all services
/// </summary>
public void Disconnect()
{
// Source is hidden, a Source licence is needed to access internal code...
}
/// <summary>
/// Indicates that at least one of the implemented services is enabled
/// </summary>
public bool Enabled { get; }
/// <summary>
/// If you have a license and a key, please call this static method to register the product and exit the trial period
/// You can register a product even if the trial period has ended
/// </summary>
/// <param name="licensee">Your organization name</param>
/// <param name="key">The associated key supplied by UnderAutomation</param>
/// <returns>Information about the supplied license</returns>
public static LicenseInfo RegisterLicense(string licensee, string key)
{
// Source is hidden, a Source licence is needed to access internal code...
return default;
}
/// <summary>
/// Return information about your license
/// </summary>
public static LicenseInfo LicenseInfo { get; }
}
}