opcgroup.java
来自「此文件为OPC Client IsVJTrend源代码,在VJ++开发环境下调试」· Java 代码 · 共 131 行
JAVA
131 行
//
// Auto-generated using JActiveX.EXE 5.00.2918
// ("D:\Program Files\Microsoft Visual Studio\VJ98\jactivex.exe" /wfc /w /xi /X:rkc /l "C:\TEMP\jvc12.tmp" /nologo /d "E:\InfoServer\clients\Java\Trend\ISVjTrend" "C:\WINNT\system32\opcdaauto.dll")
//
// WARNING: Do not remove the comments that include "@com" directives.
// This source file must be compiled by a @com-aware compiler.
// If you are using the Microsoft Visual J++ compiler, you must use
// version 1.02.3920 or later. Previous versions will not issue an error
// but will not generate COM-enabled class files.
//
package opcdaauto;
import com.ms.com.*;
import com.ms.com.IUnknown;
import com.ms.com.Variant;
/** @com.class(classid=28E68F9B-8D75-11D1-8DC3-3C302A000000,DynamicCasts)
@com.interface(iid=28E68F96-8D75-11D1-8DC3-3C302A000000, thread=AUTO, type=DUAL) */
public class OPCGroup implements IUnknown,com.ms.com.NoAutoScripting,opcdaauto.IOPCGroup
{
/** @com.method(vtoffset=4, dispid=1610743808, type=PROPGET, name="Parent", name2="getParent", addFlagsVtable=4)
@com.parameters([iid=28E68F92-8D75-11D1-8DC3-3C302A000000,thread=AUTO,type=DISPATCH] return) */
public native opcdaauto.IOPCAutoServer getParent();
/** @com.method(vtoffset=5, dispid=1610743809, type=PROPGET, name="Name", name2="getName", addFlagsVtable=4)
@com.parameters([type=STRING] return) */
public native String getName();
/** @com.method(vtoffset=6, dispid=1610743809, type=PROPPUT, name="Name", name2="putName", addFlagsVtable=4)
@com.parameters([in,type=STRING] Name) */
public native void setName(String Name);
/** @com.method(vtoffset=7, dispid=1610743811, type=PROPGET, name="IsPublic", name2="getIsPublic", addFlagsVtable=4)
@com.parameters([type=BOOLEAN] return) */
public native boolean getIsPublic();
/** @com.method(vtoffset=8, dispid=1610743812, type=PROPGET, name="IsActive", name2="getIsActive", addFlagsVtable=4)
@com.parameters([type=BOOLEAN] return) */
public native boolean getIsActive();
/** @com.method(vtoffset=9, dispid=1610743812, type=PROPPUT, name="IsActive", name2="putIsActive", addFlagsVtable=4)
@com.parameters([in,type=BOOLEAN] IsActive) */
public native void setIsActive(boolean IsActive);
/** @com.method(vtoffset=10, dispid=1610743814, type=PROPGET, name="IsSubscribed", name2="getIsSubscribed", addFlagsVtable=4)
@com.parameters([type=BOOLEAN] return) */
public native boolean getIsSubscribed();
/** @com.method(vtoffset=11, dispid=1610743814, type=PROPPUT, name="IsSubscribed", name2="putIsSubscribed", addFlagsVtable=4)
@com.parameters([in,type=BOOLEAN] IsSubscribed) */
public native void setIsSubscribed(boolean IsSubscribed);
/** @com.method(vtoffset=12, dispid=1610743816, type=PROPGET, name="ClientHandle", name2="getClientHandle", addFlagsVtable=4)
@com.parameters([type=I4] return) */
public native int getClientHandle();
/** @com.method(vtoffset=13, dispid=1610743816, type=PROPPUT, name="ClientHandle", name2="putClientHandle", addFlagsVtable=4)
@com.parameters([in,type=I4] ClientHandle) */
public native void setClientHandle(int ClientHandle);
/** @com.method(vtoffset=14, dispid=1610743818, type=PROPGET, name="ServerHandle", name2="getServerHandle", addFlagsVtable=4)
@com.parameters([type=I4] return) */
public native int getServerHandle();
/** @com.method(vtoffset=15, dispid=1610743819, type=PROPGET, name="LocaleID", name2="getLocaleID", addFlagsVtable=4)
@com.parameters([type=I4] return) */
public native int getLocaleID();
/** @com.method(vtoffset=16, dispid=1610743819, type=PROPPUT, name="LocaleID", name2="putLocaleID", addFlagsVtable=4)
@com.parameters([in,type=I4] LocaleID) */
public native void setLocaleID(int LocaleID);
/** @com.method(vtoffset=17, dispid=1610743821, type=PROPGET, name="TimeBias", name2="getTimeBias", addFlagsVtable=4)
@com.parameters([type=I4] return) */
public native int getTimeBias();
/** @com.method(vtoffset=18, dispid=1610743821, type=PROPPUT, name="TimeBias", name2="putTimeBias", addFlagsVtable=4)
@com.parameters([in,type=I4] TimeBias) */
public native void setTimeBias(int TimeBias);
/** @com.method(vtoffset=19, dispid=1610743823, type=PROPGET, name="DeadBand", name2="getDeadBand", addFlagsVtable=4)
@com.parameters([type=R4] return) */
public native float getDeadBand();
/** @com.method(vtoffset=20, dispid=1610743823, type=PROPPUT, name="DeadBand", name2="putDeadBand", addFlagsVtable=4)
@com.parameters([in,type=R4] DeadBand) */
public native void setDeadBand(float DeadBand);
/** @com.method(vtoffset=21, dispid=1610743825, type=PROPGET, name="UpdateRate", name2="getUpdateRate", addFlagsVtable=4)
@com.parameters([type=I4] return) */
public native int getUpdateRate();
/** @com.method(vtoffset=22, dispid=1610743825, type=PROPPUT, name="UpdateRate", name2="putUpdateRate", addFlagsVtable=4)
@com.parameters([in,type=I4] UpdateRate) */
public native void setUpdateRate(int UpdateRate);
/** @com.method(vtoffset=23, dispid=0, type=PROPGET, name="OPCItems", name2="getOPCItems", addFlagsVtable=4)
@com.parameters([iid=28E68F98-8D75-11D1-8DC3-3C302A000000,thread=AUTO,type=DISPATCH] return) */
public native opcdaauto.OPCItems getOPCItems();
/** @com.method(vtoffset=24, dispid=1610743828, type=METHOD, name="SyncRead", addFlagsVtable=4)
@com.parameters([in,type=I2] Source, [in,type=I4] NumItems, [in,vt=16387,type=SAFEARRAY] ServerHandles, [out,vt=16396,type=SAFEARRAY] Values, [out,vt=16387,type=SAFEARRAY] Errors, [out,elementType=VARIANT,type=PTR] Qualities, [out,elementType=VARIANT,type=PTR] TimeStamps) */
public native void SyncRead(short Source, int NumItems, com.ms.com.SafeArray ServerHandles, com.ms.com.SafeArray Values, com.ms.com.SafeArray Errors, Variant Qualities, Variant TimeStamps);
/** @com.method(vtoffset=25, dispid=1610743829, type=METHOD, name="SyncWrite", addFlagsVtable=4)
@com.parameters([in,type=I4] NumItems, [in,vt=16387,type=SAFEARRAY] ServerHandles, [in,vt=16396,type=SAFEARRAY] Values, [out,vt=16387,type=SAFEARRAY] Errors) */
public native void SyncWrite(int NumItems, com.ms.com.SafeArray ServerHandles, com.ms.com.SafeArray Values, com.ms.com.SafeArray Errors);
/** @com.method(vtoffset=26, dispid=1610743830, type=METHOD, name="AsyncRead", addFlagsVtable=4)
@com.parameters([in,type=I4] NumItems, [in,vt=16387,type=SAFEARRAY] ServerHandles, [out,vt=16387,type=SAFEARRAY] Errors, [in,type=I4] TransactionID, [out,size=1,elementType=I4,type=ARRAY] CancelID) */
public native void AsyncRead(int NumItems, com.ms.com.SafeArray ServerHandles, com.ms.com.SafeArray Errors, int TransactionID, int[] CancelID);
/** @com.method(vtoffset=27, dispid=1610743831, type=METHOD, name="AsyncWrite", addFlagsVtable=4)
@com.parameters([in,type=I4] NumItems, [in,vt=16387,type=SAFEARRAY] ServerHandles, [in,vt=16396,type=SAFEARRAY] Values, [out,vt=16387,type=SAFEARRAY] Errors, [in,type=I4] TransactionID, [out,size=1,elementType=I4,type=ARRAY] CancelID) */
public native void AsyncWrite(int NumItems, com.ms.com.SafeArray ServerHandles, com.ms.com.SafeArray Values, com.ms.com.SafeArray Errors, int TransactionID, int[] CancelID);
/** @com.method(vtoffset=28, dispid=1610743832, type=METHOD, name="AsyncRefresh", addFlagsVtable=4)
@com.parameters([in,type=I2] Source, [in,type=I4] TransactionID, [out,size=1,elementType=I4,type=ARRAY] CancelID) */
public native void AsyncRefresh(short Source, int TransactionID, int[] CancelID);
/** @com.method(vtoffset=29, dispid=1610743833, type=METHOD, name="AsyncCancel", addFlagsVtable=4)
@com.parameters([in,type=I4] CancelID) */
public native void AsyncCancel(int CancelID);
public static final com.ms.com._Guid iid = new com.ms.com._Guid((int)0x28e68f96, (short)0x8d75, (short)0x11d1, (byte)0x8d, (byte)0xc3, (byte)0x3c, (byte)0x30, (byte)0x2a, (byte)0x0, (byte)0x0, (byte)0x0);
public static final com.ms.com._Guid clsid = new com.ms.com._Guid((int)0x28e68f9b, (short)0x8d75, (short)0x11d1, (byte)0x8d, (byte)0xc3, (byte)0x3c, (byte)0x30, (byte)0x2a, (byte)0x0, (byte)0x0, (byte)0x0);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?