internal void internalAdd(int[] biasTime, float[] percentDeadband, int localeID) { object obj2; Type type = typeof(IOPCGroupStateMgt); Guid gUID = type.GUID; if (this.state.Public) { IOPCServerPublicGroups ifServer = null; ifServer = (IOPCServerPublicGroups)this.ifServer; if (ifServer == null) { Marshal.ThrowExceptionForHR(-2147467262); } ifServer.GetPublicGroupByName(this.state.Name, ref gUID, out obj2); ifServer = null; } else { this.ifServer.AddGroup(this.state.Name, this.state.Active, this.state.UpdateRate, this.state.HandleClient, biasTime, percentDeadband, this.state.LocaleID, out this.state.HandleServer, out this.state.UpdateRate, ref gUID, out obj2); } if (obj2 == null) { Marshal.ThrowExceptionForHR(-2147467262); } this.ifMgt = (IOPCGroupStateMgt)obj2; obj2 = null; this.GetStates(); this.getinterfaces(); this.AdviseIOPCDataCallback(); }