예제 #1
0
        protected RoleBluetooth()
        {
            SetName(RoleName);
            _instance = this;

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

            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpEchoSubName, args, retVals, true));
            }
        }
예제 #2
0
        protected RoleBluetooth()
        {
            SetName(RoleName);
            _instance = this;

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

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

        }