Beispiel #1
0
        public OidEnt()
        {
            OidName     = string.Empty;
            OidString   = string.Empty;
            Access      = string.Empty;
            Syntax      = new List <string>();
            Status      = string.Empty;
            Description = string.Empty;
            Parent      = string.Empty;
            Value       = string.Empty;
            Usage       = USAGES.eUnknown;

            OidIndex      = string.Empty;
            OidIndexValue = string.Empty;
        }
Beispiel #2
0
        public OidEnt(OidEnt copy)
        {
            this.OidName       = copy.OidName;
            this.OidString     = copy.OidString;
            this.Access        = copy.Access;
            this.Status        = copy.Status;
            this.Description   = copy.Description;
            this.Parent        = copy.Parent;
            this.Value         = copy.Value;
            this.OidIndex      = copy.OidIndex;
            this.OidIndexValue = copy.OidIndexValue;
            this.Usage         = copy.Usage;

            this.Syntax = new List <string>();

            foreach (string str in copy.Syntax)
            {
                this.Syntax.Add(str);
            }
        }
Beispiel #3
0
 public bool GetVJDAxisExist(uint id, USAGES usages) => IsVJoyEnabled ? (bool)_getVJDAxisExist.DynamicInvoke(new object[] { id, _axisEnumValues[(int)usages] }) : false;