Module: IOPCGroup
- Includes:
- WIN32OLE::VARIANT
- Defined in:
- lib/picopc/olegen_opc_automation.rb
Overview
OPC Group Object
Instance Attribute Summary collapse
-
#lastargs ⇒ Object
readonly
Returns the value of attribute lastargs.
Instance Method Summary collapse
-
#AsyncCancel(arg0) ⇒ Object
VOID AsyncCancel I4 arg0 — CancelID [IN].
-
#AsyncRead(arg0, arg1, arg2, arg3, arg4) ⇒ Object
VOID AsyncRead I4 arg0 — NumItems [IN] I4 arg1 — ServerHandles [IN] I4 arg2 — Errors [OUT] I4 arg3 — TransactionID [IN] I4 arg4 — CancelID [OUT].
-
#AsyncRefresh(arg0, arg1, arg2) ⇒ Object
VOID AsyncRefresh I2 arg0 — Source [IN] I4 arg1 — TransactionID [IN] I4 arg2 — CancelID [OUT].
-
#AsyncWrite(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Object
VOID AsyncWrite I4 arg0 — NumItems [IN] I4 arg1 — ServerHandles [IN] VARIANT arg2 — Values [IN] I4 arg3 — Errors [OUT] I4 arg4 — TransactionID [IN] I4 arg5 — CancelID [OUT].
-
#ClientHandle ⇒ Object
I4 ClientHandle.
-
#ClientHandle=(arg0) ⇒ Object
VOID ClientHandle.
-
#DeadBand ⇒ Object
R4 DeadBand.
-
#DeadBand=(arg0) ⇒ Object
VOID DeadBand.
-
#IsActive ⇒ Object
BOOL IsActive True if this group is active.
-
#IsActive=(arg0) ⇒ Object
VOID IsActive True if this group is active.
-
#IsPublic ⇒ Object
BOOL IsPublic True if this group is public.
-
#IsSubscribed ⇒ Object
BOOL IsSubscribed True if this group will get asynchronous data updates.
-
#IsSubscribed=(arg0) ⇒ Object
VOID IsSubscribed True if this group will get asynchronous data updates.
-
#LocaleID ⇒ Object
I4 LocaleID.
-
#LocaleID=(arg0) ⇒ Object
VOID LocaleID.
-
#Name ⇒ Object
BSTR Name.
-
#Name=(arg0) ⇒ Object
VOID Name.
-
#OPCItems ⇒ Object
OPCItems OPCItems Returns the OPCItems collection.
-
#Parent ⇒ Object
IOPCAutoServer Parent Returns the parent OPCServer.
-
#ServerHandle ⇒ Object
I4 ServerHandle.
-
#SyncRead(arg0, arg1, arg2, arg3, arg4, arg5 = nil, arg6 = nil) ⇒ Object
VOID SyncRead I2 arg0 — Source [IN] I4 arg1 — NumItems [IN] I4 arg2 — ServerHandles [IN] VARIANT arg3 — Values [OUT] I4 arg4 — Errors [OUT] VARIANT arg5 — Qualities [OUT] VARIANT arg6 — TimeStamps [OUT].
-
#SyncWrite(arg0, arg1, arg2, arg3) ⇒ Object
VOID SyncWrite I4 arg0 — NumItems [IN] I4 arg1 — ServerHandles [IN] VARIANT arg2 — Values [IN] I4 arg3 — Errors [OUT].
-
#TimeBias ⇒ Object
I4 TimeBias.
-
#TimeBias=(arg0) ⇒ Object
VOID TimeBias.
-
#UpdateRate ⇒ Object
I4 UpdateRate Rate data can be returned to an application (in mSec).
-
#UpdateRate=(arg0) ⇒ Object
VOID UpdateRate Rate data can be returned to an application (in mSec).
Instance Attribute Details
#lastargs ⇒ Object (readonly)
Returns the value of attribute lastargs.
920 921 922 |
# File 'lib/picopc/olegen_opc_automation.rb', line 920 def lastargs @lastargs end |
Instance Method Details
#AsyncCancel(arg0) ⇒ Object
VOID AsyncCancel
I4 arg0 --- CancelID [IN]
1133 1134 1135 1136 1137 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1133 def AsyncCancel(arg0) ret = _invoke(1610743833, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#AsyncRead(arg0, arg1, arg2, arg3, arg4) ⇒ Object
VOID AsyncRead
I4 arg0 --- NumItems [IN]
I4 arg1 --- ServerHandles [IN]
I4 arg2 --- Errors [OUT]
I4 arg3 --- TransactionID [IN]
I4 arg4 --- CancelID [OUT]
1102 1103 1104 1105 1106 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1102 def AsyncRead(arg0, arg1, arg2, arg3, arg4) ret = _invoke(1610743830, [arg0, arg1, arg2, arg3, arg4], [VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_I4, VT_BYREF|VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#AsyncRefresh(arg0, arg1, arg2) ⇒ Object
VOID AsyncRefresh
I2 arg0 --- Source [IN]
I4 arg1 --- TransactionID [IN]
I4 arg2 --- CancelID [OUT]
1125 1126 1127 1128 1129 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1125 def AsyncRefresh(arg0, arg1, arg2) ret = _invoke(1610743832, [arg0, arg1, arg2], [VT_I2, VT_I4, VT_BYREF|VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#AsyncWrite(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Object
VOID AsyncWrite
I4 arg0 --- NumItems [IN]
I4 arg1 --- ServerHandles [IN]
VARIANT arg2 --- Values [IN]
I4 arg3 --- Errors [OUT]
I4 arg4 --- TransactionID [IN]
I4 arg5 --- CancelID [OUT]
1115 1116 1117 1118 1119 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1115 def AsyncWrite(arg0, arg1, arg2, arg3, arg4, arg5) ret = _invoke(1610743831, [arg0, arg1, arg2, arg3, arg4, arg5], [VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_VARIANT, VT_BYREF|VT_ARRAY|VT_I4, VT_I4, VT_BYREF|VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#ClientHandle ⇒ Object
I4 ClientHandle
962 963 964 965 966 |
# File 'lib/picopc/olegen_opc_automation.rb', line 962 def ClientHandle() ret = _getproperty(1610743816, [], []) @lastargs = WIN32OLE::ARGV ret end |
#ClientHandle=(arg0) ⇒ Object
VOID ClientHandle
1036 1037 1038 1039 1040 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1036 def ClientHandle=(arg0) ret = _setproperty(1610743816, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#DeadBand ⇒ Object
R4 DeadBand
990 991 992 993 994 |
# File 'lib/picopc/olegen_opc_automation.rb', line 990 def DeadBand() ret = _getproperty(1610743823, [], []) @lastargs = WIN32OLE::ARGV ret end |
#DeadBand=(arg0) ⇒ Object
VOID DeadBand
1057 1058 1059 1060 1061 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1057 def DeadBand=(arg0) ret = _setproperty(1610743823, [arg0], [VT_R4]) @lastargs = WIN32OLE::ARGV ret end |
#IsActive ⇒ Object
BOOL IsActive True if this group is active
947 948 949 950 951 |
# File 'lib/picopc/olegen_opc_automation.rb', line 947 def IsActive() ret = _getproperty(1610743812, [], []) @lastargs = WIN32OLE::ARGV ret end |
#IsActive=(arg0) ⇒ Object
VOID IsActive True if this group is active
1021 1022 1023 1024 1025 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1021 def IsActive=(arg0) ret = _setproperty(1610743812, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end |
#IsPublic ⇒ Object
BOOL IsPublic True if this group is public
939 940 941 942 943 |
# File 'lib/picopc/olegen_opc_automation.rb', line 939 def IsPublic() ret = _getproperty(1610743811, [], []) @lastargs = WIN32OLE::ARGV ret end |
#IsSubscribed ⇒ Object
BOOL IsSubscribed True if this group will get asynchronous data updates
955 956 957 958 959 |
# File 'lib/picopc/olegen_opc_automation.rb', line 955 def IsSubscribed() ret = _getproperty(1610743814, [], []) @lastargs = WIN32OLE::ARGV ret end |
#IsSubscribed=(arg0) ⇒ Object
VOID IsSubscribed True if this group will get asynchronous data updates
1029 1030 1031 1032 1033 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1029 def IsSubscribed=(arg0) ret = _setproperty(1610743814, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end |
#LocaleID ⇒ Object
I4 LocaleID
976 977 978 979 980 |
# File 'lib/picopc/olegen_opc_automation.rb', line 976 def LocaleID() ret = _getproperty(1610743819, [], []) @lastargs = WIN32OLE::ARGV ret end |
#LocaleID=(arg0) ⇒ Object
VOID LocaleID
1043 1044 1045 1046 1047 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1043 def LocaleID=(arg0) ret = _setproperty(1610743819, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#Name ⇒ Object
BSTR Name
931 932 933 934 935 |
# File 'lib/picopc/olegen_opc_automation.rb', line 931 def Name() ret = _getproperty(1610743809, [], []) @lastargs = WIN32OLE::ARGV ret end |
#Name=(arg0) ⇒ Object
VOID Name
1013 1014 1015 1016 1017 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1013 def Name=(arg0) ret = _setproperty(1610743809, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end |
#OPCItems ⇒ Object
OPCItems OPCItems Returns the OPCItems collection
1006 1007 1008 1009 1010 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1006 def OPCItems() ret = _getproperty(0, [], []) @lastargs = WIN32OLE::ARGV ret end |
#Parent ⇒ Object
IOPCAutoServer Parent Returns the parent OPCServer
924 925 926 927 928 |
# File 'lib/picopc/olegen_opc_automation.rb', line 924 def Parent() ret = _getproperty(1610743808, [], []) @lastargs = WIN32OLE::ARGV ret end |
#ServerHandle ⇒ Object
I4 ServerHandle
969 970 971 972 973 |
# File 'lib/picopc/olegen_opc_automation.rb', line 969 def ServerHandle() ret = _getproperty(1610743818, [], []) @lastargs = WIN32OLE::ARGV ret end |
#SyncRead(arg0, arg1, arg2, arg3, arg4, arg5 = nil, arg6 = nil) ⇒ Object
VOID SyncRead
I2 arg0 --- Source [IN]
I4 arg1 --- NumItems [IN]
I4 arg2 --- ServerHandles [IN]
VARIANT arg3 --- Values [OUT]
I4 arg4 --- Errors [OUT]
VARIANT arg5 --- Qualities [OUT]
VARIANT arg6 --- TimeStamps [OUT]
1079 1080 1081 1082 1083 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1079 def SyncRead(arg0, arg1, arg2, arg3, arg4, arg5=nil, arg6=nil) ret = _invoke(1610743828, [arg0, arg1, arg2, arg3, arg4, arg5, arg6], [VT_I2, VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_VARIANT, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_VARIANT, VT_BYREF|VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end |
#SyncWrite(arg0, arg1, arg2, arg3) ⇒ Object
VOID SyncWrite
I4 arg0 --- NumItems [IN]
I4 arg1 --- ServerHandles [IN]
VARIANT arg2 --- Values [IN]
I4 arg3 --- Errors [OUT]
1090 1091 1092 1093 1094 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1090 def SyncWrite(arg0, arg1, arg2, arg3) ret = _invoke(1610743829, [arg0, arg1, arg2, arg3], [VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_VARIANT, VT_BYREF|VT_ARRAY|VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#TimeBias ⇒ Object
I4 TimeBias
983 984 985 986 987 |
# File 'lib/picopc/olegen_opc_automation.rb', line 983 def TimeBias() ret = _getproperty(1610743821, [], []) @lastargs = WIN32OLE::ARGV ret end |
#TimeBias=(arg0) ⇒ Object
VOID TimeBias
1050 1051 1052 1053 1054 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1050 def TimeBias=(arg0) ret = _setproperty(1610743821, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#UpdateRate ⇒ Object
I4 UpdateRate Rate data can be returned to an application (in mSec)
998 999 1000 1001 1002 |
# File 'lib/picopc/olegen_opc_automation.rb', line 998 def UpdateRate() ret = _getproperty(1610743825, [], []) @lastargs = WIN32OLE::ARGV ret end |
#UpdateRate=(arg0) ⇒ Object
VOID UpdateRate Rate data can be returned to an application (in mSec)
1065 1066 1067 1068 1069 |
# File 'lib/picopc/olegen_opc_automation.rb', line 1065 def UpdateRate=(arg0) ret = _setproperty(1610743825, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |