-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevices.vb
118 lines (97 loc) · 3.88 KB
/
devices.vb
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
113
114
115
116
117
118
Namespace AI_AGENT
''' <summary>
''' These are the Device Models Required for creating Input and Output devices which can be attached to the Intelligent Agent
''' </summary>
Public Class Devices
''' <summary>
''' Allows For input devices to be attached to the Intelligent Agent
''' </summary>
''' <remarks></remarks>
Public Interface InputDevice
''' <summary>
''' Occurs when Text is populated.
''' </summary>
''' <remarks></remarks>
Event SensorTextRecieved(ByRef Recieved As Boolean)
''' <summary>
''' Gets a value indicating whether Sensor is activated to allow output.
''' </summary>
''' <value><see langword="true"/> if ; otherwise, Sensor is not Updating Text <see langword="false"/>.</value>
''' <remarks></remarks>
ReadOnly Property Activated As Boolean
''' <summary>
''' Gets Identification.
''' </summary>
''' <value></value>
''' <remarks></remarks>
ReadOnly Property Name As String
''' <summary>
''' Gets TextRecived held in Class.
''' </summary>
''' <value></value>
''' <remarks></remarks>
ReadOnly Property RecievedText As String
''' <summary>
''' Activates Sensor
''' </summary>
''' <remarks></remarks>
Sub Activate()
''' <summary>
''' Deactivates sensor
''' </summary>
''' <remarks></remarks>
Sub Deactivate()
End Interface
''' <summary>
''' Abstract Class: Publisher / Subscriber DesignPattern This allows for clients to register
''' to receive Response Updates from the Agentmodel subscribers implement this interface to
''' receive notifications from the publisher
''' </summary>
Public Interface IntelligentAgentResponseObserver
''' <summary>
''' This is the channel to receive data from the publisher this variable needs to match
''' the data being updated from the publisher
'''
''' Inputs received to the Agent will be sent to subscribers
''' </summary>
''' <param name="Data"></param>
Sub UpdateInput(ByVal Data As String)
''' <summary>
''' This is the channel to receive data from the publisher this variable needs to match
''' the data being updated from the publisher
'''
''' Responses Generated by the Agent will be sent to subscribers
''' </summary>
''' <param name="Data"></param>
Sub UpdateResponse(ByVal Data As String)
End Interface
''' <summary>
''' Allows for Output devices to be attached to the Class
''' </summary>
''' <remarks></remarks>
Public Interface OutputDevice
''' <summary>
''' Gets a value indicating whether The device is loaded as an output device.
''' </summary>
''' <value><see langword="true"/> if ; otherwise, <see langword="false"/>.</value>
''' <remarks></remarks>
ReadOnly Property Loaded As Boolean
''' <summary>
''' Activates all actuators
''' </summary>
''' <param name="Text"></param>
''' <remarks></remarks>
Sub EffectActuators(ByRef Text As String)
''' <summary>
''' Loads the device
''' </summary>
''' <remarks></remarks>
Sub load()
''' <summary>
''' Unloads the device
''' </summary>
''' <remarks></remarks>
Sub Unload()
End Interface
End Class
End Namespace