-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReturnInfo.vb
47 lines (40 loc) · 1.12 KB
/
ReturnInfo.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
'Copyright by Media Support - Didi Kunz didi@mediasupport.ch
'The same license conditions apply as CasparCG server has.
'
''' <summary>
''' ReturnInfo object
''' </summary>
''' <remarks>Gets Caspars server response</remarks>
<Serializable()> _
Public Class ReturnInfo
''' <summary>
''' Numeric return value
''' </summary>
Public Property Number As Integer
''' <summary>
''' The message returned
''' </summary>
Public Property Message As String
''' <summary>
''' Data returned
''' </summary>
''' <remarks>Some commands return data</remarks>
Public Property Data As String
''' <summary>
''' Parameter less constructor
''' </summary>
Public Sub New()
End Sub
''' <summary>
''' Parameterized constructor
''' </summary>
''' <param name="Number">Numeric return value</param>
''' <param name="Message">The message returned</param>
''' <param name="Data">Some commands return data</param>
''' <remarks></remarks>
Public Sub New(Number As Integer, Message As String, Data As String)
_Number = Number
_Message = Message
_Data = Data
End Sub
End Class