示例#1
0
        protected RoleSensor()
        {
            SetName(RoleName);
            _instance = this;

            List <VParamType> args    = new List <VParamType>();
            List <VParamType> retVals = new List <VParamType>()
            {
                new ParamType(0)
            };

            AddOperation(new Operation(OpGetName, args, retVals, true));
        }
示例#2
0
        protected RoleSensor()
        {
            SetName(RoleName);
            _instance = this;

            List<VParamType> args = new List<VParamType>();
            List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
            AddOperation(new Operation(OpGetName, args, retVals, true));
        }