// --------------------------------- IOPCServerPublicGroups (indirect) ----------------- public OpcGroup GetPublicGroup(string groupName) { if (ifServer == null) { Marshal.ThrowExceptionForHR(HRESULTS.E_ABORT); } OpcGroup grp = new OpcGroup(ref ifServer, true, groupName, false, 1000); grp.internalAdd(null, null, 0); return(grp); }
public OpcGroup AddGroup(string groupName, bool setActive, int requestedUpdateRate, int[] biasTime, float[] percentDeadband, int localeID) { if (ifServer == null) { Marshal.ThrowExceptionForHR(HRESULTS.E_ABORT); } OpcGroup grp = new OpcGroup(ref ifServer, false, groupName, setActive, requestedUpdateRate); grp.internalAdd(biasTime, percentDeadband, localeID); return(grp); }
private void AddGroup(OpcGroup group, int[] biasTime, float[] percentDeadband, int localeID) { if (ifServer == null) { Marshal.ThrowExceptionForHR(HRESULTS.E_ABORT); } group.ifServer = ifServer; group.state.Public = false; group.Server = this; group.internalAdd(biasTime, percentDeadband, localeID); return; }
// --------------------------------- IOPCServerPublicGroups (indirect) ----------------- public OpcGroup GetPublicGroup( string groupName ) { if( ifServer == null ) Marshal.ThrowExceptionForHR( HRESULTS.E_ABORT ); OpcGroup grp = new OpcGroup( ref ifServer, true, groupName, false, 1000 ); grp.internalAdd( null, null, 0 ); return grp; }
public OpcGroup AddGroup( string groupName, bool setActive, int requestedUpdateRate, int[] biasTime, float[] percentDeadband, int localeID) { if( ifServer == null ) Marshal.ThrowExceptionForHR( HRESULTS.E_ABORT ); OpcGroup grp = new OpcGroup( ref ifServer, false, groupName, setActive, requestedUpdateRate ); grp.internalAdd( biasTime, percentDeadband, localeID ); return grp; }