Esempio n. 1
0
        public OpcGroup AddGroup(string groupName, bool setActive, int requestedUpdateRate, int[] biasTime, float[] percentDeadband, int localeID)
        {
            if (this.ifServer == null)
            {
                Marshal.ThrowExceptionForHR(-2147467260);
            }
            OpcGroup group = new OpcGroup(ref this.ifServer, false, groupName, setActive, requestedUpdateRate);

            group.internalAdd(biasTime, percentDeadband, localeID);
            return(group);
        }
Esempio n. 2
0
        public OpcGroup GetPublicGroup(string groupName)
        {
            if (this.ifServer == null)
            {
                Marshal.ThrowExceptionForHR(-2147467260);
            }
            OpcGroup group = new OpcGroup(ref this.ifServer, true, groupName, false, 0x3e8);

            group.internalAdd(null, null, 0);
            return(group);
        }