コード例 #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
ファイル: Role.cs プロジェクト: donnaknew/programmingProject
        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));
            }

        }