Module: OPCGroup
- Includes:
- WIN32OLE::VARIANT
- Defined in:
- lib/picopc/olegen_opc_automation.rb
Overview
OPC Automation Group
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].
-
#AsyncCancelComplete(arg0) ⇒ Object
VOID AsyncCancelComplete EVENT in DIOPCGroupEvent 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].
-
#AsyncReadComplete(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Object
VOID AsyncReadComplete EVENT in DIOPCGroupEvent I4 arg0 — TransactionID [IN] I4 arg1 — NumItems [IN] I4 arg2 — ClientHandles [IN] VARIANT arg3 — ItemValues [IN] I4 arg4 — Qualities [IN] DATE arg5 — TimeStamps [IN] I4 arg6 — Errors [IN].
-
#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].
-
#AsyncWriteComplete(arg0, arg1, arg2, arg3) ⇒ Object
VOID AsyncWriteComplete EVENT in DIOPCGroupEvent I4 arg0 — TransactionID [IN] I4 arg1 — NumItems [IN] I4 arg2 — ClientHandles [IN] I4 arg3 — Errors [IN].
-
#ClientHandle ⇒ Object
I4 ClientHandle.
-
#ClientHandle=(arg0) ⇒ Object
VOID ClientHandle.
-
#DataChange(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Object
VOID DataChange EVENT in DIOPCGroupEvent I4 arg0 — TransactionID [IN] I4 arg1 — NumItems [IN] I4 arg2 — ClientHandles [IN] VARIANT arg3 — ItemValues [IN] I4 arg4 — Qualities [IN] DATE arg5 — TimeStamps [IN].
-
#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.
651 652 653 |
# File 'lib/picopc/olegen_opc_automation.rb', line 651 def lastargs @lastargs end |
Instance Method Details
#AsyncCancel(arg0) ⇒ Object
VOID AsyncCancel
I4 arg0 --- CancelID [IN]
864 865 866 867 868 |
# File 'lib/picopc/olegen_opc_automation.rb', line 864 def AsyncCancel(arg0) ret = _invoke(1610743833, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#AsyncCancelComplete(arg0) ⇒ Object
VOID AsyncCancelComplete EVENT in DIOPCGroupEvent
I4 arg0 --- CancelID [IN]
910 911 912 913 914 |
# File 'lib/picopc/olegen_opc_automation.rb', line 910 def AsyncCancelComplete(arg0) ret = _invoke(4, [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]
833 834 835 836 837 |
# File 'lib/picopc/olegen_opc_automation.rb', line 833 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 |
#AsyncReadComplete(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Object
VOID AsyncReadComplete EVENT in DIOPCGroupEvent
I4 arg0 --- TransactionID [IN]
I4 arg1 --- NumItems [IN]
I4 arg2 --- ClientHandles [IN]
VARIANT arg3 --- ItemValues [IN]
I4 arg4 --- Qualities [IN]
DATE arg5 --- TimeStamps [IN]
I4 arg6 --- Errors [IN]
891 892 893 894 895 |
# File 'lib/picopc/olegen_opc_automation.rb', line 891 def AsyncReadComplete(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ret = _invoke(2, [arg0, arg1, arg2, arg3, arg4, arg5, arg6], [VT_I4, VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_VARIANT, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_DATE, VT_BYREF|VT_ARRAY|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]
856 857 858 859 860 |
# File 'lib/picopc/olegen_opc_automation.rb', line 856 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]
846 847 848 849 850 |
# File 'lib/picopc/olegen_opc_automation.rb', line 846 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 |
#AsyncWriteComplete(arg0, arg1, arg2, arg3) ⇒ Object
VOID AsyncWriteComplete EVENT in DIOPCGroupEvent
I4 arg0 --- TransactionID [IN]
I4 arg1 --- NumItems [IN]
I4 arg2 --- ClientHandles [IN]
I4 arg3 --- Errors [IN]
902 903 904 905 906 |
# File 'lib/picopc/olegen_opc_automation.rb', line 902 def AsyncWriteComplete(arg0, arg1, arg2, arg3) ret = _invoke(3, [arg0, arg1, arg2, arg3], [VT_I4, VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#ClientHandle ⇒ Object
I4 ClientHandle
693 694 695 696 697 |
# File 'lib/picopc/olegen_opc_automation.rb', line 693 def ClientHandle() ret = _getproperty(1610743816, [], []) @lastargs = WIN32OLE::ARGV ret end |
#ClientHandle=(arg0) ⇒ Object
VOID ClientHandle
767 768 769 770 771 |
# File 'lib/picopc/olegen_opc_automation.rb', line 767 def ClientHandle=(arg0) ret = _setproperty(1610743816, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#DataChange(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Object
VOID DataChange EVENT in DIOPCGroupEvent
I4 arg0 --- TransactionID [IN]
I4 arg1 --- NumItems [IN]
I4 arg2 --- ClientHandles [IN]
VARIANT arg3 --- ItemValues [IN]
I4 arg4 --- Qualities [IN]
DATE arg5 --- TimeStamps [IN]
877 878 879 880 881 |
# File 'lib/picopc/olegen_opc_automation.rb', line 877 def DataChange(arg0, arg1, arg2, arg3, arg4, arg5) ret = _invoke(1, [arg0, arg1, arg2, arg3, arg4, arg5], [VT_I4, VT_I4, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_VARIANT, VT_BYREF|VT_ARRAY|VT_I4, VT_BYREF|VT_ARRAY|VT_DATE]) @lastargs = WIN32OLE::ARGV ret end |
#DeadBand ⇒ Object
R4 DeadBand
721 722 723 724 725 |
# File 'lib/picopc/olegen_opc_automation.rb', line 721 def DeadBand() ret = _getproperty(1610743823, [], []) @lastargs = WIN32OLE::ARGV ret end |
#DeadBand=(arg0) ⇒ Object
VOID DeadBand
788 789 790 791 792 |
# File 'lib/picopc/olegen_opc_automation.rb', line 788 def DeadBand=(arg0) ret = _setproperty(1610743823, [arg0], [VT_R4]) @lastargs = WIN32OLE::ARGV ret end |
#IsActive ⇒ Object
BOOL IsActive True if this group is active
678 679 680 681 682 |
# File 'lib/picopc/olegen_opc_automation.rb', line 678 def IsActive() ret = _getproperty(1610743812, [], []) @lastargs = WIN32OLE::ARGV ret end |
#IsActive=(arg0) ⇒ Object
VOID IsActive True if this group is active
752 753 754 755 756 |
# File 'lib/picopc/olegen_opc_automation.rb', line 752 def IsActive=(arg0) ret = _setproperty(1610743812, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end |
#IsPublic ⇒ Object
BOOL IsPublic True if this group is public
670 671 672 673 674 |
# File 'lib/picopc/olegen_opc_automation.rb', line 670 def IsPublic() ret = _getproperty(1610743811, [], []) @lastargs = WIN32OLE::ARGV ret end |
#IsSubscribed ⇒ Object
BOOL IsSubscribed True if this group will get asynchronous data updates
686 687 688 689 690 |
# File 'lib/picopc/olegen_opc_automation.rb', line 686 def IsSubscribed() ret = _getproperty(1610743814, [], []) @lastargs = WIN32OLE::ARGV ret end |
#IsSubscribed=(arg0) ⇒ Object
VOID IsSubscribed True if this group will get asynchronous data updates
760 761 762 763 764 |
# File 'lib/picopc/olegen_opc_automation.rb', line 760 def IsSubscribed=(arg0) ret = _setproperty(1610743814, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end |
#LocaleID ⇒ Object
I4 LocaleID
707 708 709 710 711 |
# File 'lib/picopc/olegen_opc_automation.rb', line 707 def LocaleID() ret = _getproperty(1610743819, [], []) @lastargs = WIN32OLE::ARGV ret end |
#LocaleID=(arg0) ⇒ Object
VOID LocaleID
774 775 776 777 778 |
# File 'lib/picopc/olegen_opc_automation.rb', line 774 def LocaleID=(arg0) ret = _setproperty(1610743819, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |
#Name ⇒ Object
BSTR Name
662 663 664 665 666 |
# File 'lib/picopc/olegen_opc_automation.rb', line 662 def Name() ret = _getproperty(1610743809, [], []) @lastargs = WIN32OLE::ARGV ret end |
#Name=(arg0) ⇒ Object
VOID Name
744 745 746 747 748 |
# File 'lib/picopc/olegen_opc_automation.rb', line 744 def Name=(arg0) ret = _setproperty(1610743809, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end |
#OPCItems ⇒ Object
OPCItems OPCItems Returns the OPCItems collection
737 738 739 740 741 |
# File 'lib/picopc/olegen_opc_automation.rb', line 737 def OPCItems() ret = _getproperty(0, [], []) @lastargs = WIN32OLE::ARGV ret end |
#Parent ⇒ Object
IOPCAutoServer Parent Returns the parent OPCServer
655 656 657 658 659 |
# File 'lib/picopc/olegen_opc_automation.rb', line 655 def Parent() ret = _getproperty(1610743808, [], []) @lastargs = WIN32OLE::ARGV ret end |
#ServerHandle ⇒ Object
I4 ServerHandle
700 701 702 703 704 |
# File 'lib/picopc/olegen_opc_automation.rb', line 700 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]
810 811 812 813 814 |
# File 'lib/picopc/olegen_opc_automation.rb', line 810 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]
821 822 823 824 825 |
# File 'lib/picopc/olegen_opc_automation.rb', line 821 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
714 715 716 717 718 |
# File 'lib/picopc/olegen_opc_automation.rb', line 714 def TimeBias() ret = _getproperty(1610743821, [], []) @lastargs = WIN32OLE::ARGV ret end |
#TimeBias=(arg0) ⇒ Object
VOID TimeBias
781 782 783 784 785 |
# File 'lib/picopc/olegen_opc_automation.rb', line 781 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)
729 730 731 732 733 |
# File 'lib/picopc/olegen_opc_automation.rb', line 729 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)
796 797 798 799 800 |
# File 'lib/picopc/olegen_opc_automation.rb', line 796 def UpdateRate=(arg0) ret = _setproperty(1610743825, [arg0], [VT_I4]) @lastargs = WIN32OLE::ARGV ret end |