protected RoleMindWave()
        {
            SetName(RoleName);
            _instance = this;

            //Get Connection
            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
                AddOperation(new Operation(OpGetConnection, args, retVals));
            }

            //Get Attention
            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
                AddOperation(new Operation(OpGetAttention, args, retVals));
            }

            //Get Meditation
            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
                AddOperation(new Operation(OpGetMeditation, args, retVals));
            }

            //Get Waves
            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0) };
                AddOperation(new Operation(OpGetWaves, args, retVals));
            }

            //Get Blinks
            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
                AddOperation(new Operation(OpGetBlinks, args, retVals));
            }

            //Clear Blinks
            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
                AddOperation(new Operation(OpClearBlinks, args, retVals));
            }

        }
Esempio n. 2
0
        protected RoleMindWave()
        {
            SetName(RoleName);
            _instance = this;

            //Get Connection
            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpGetConnection, args, retVals));
            }

            //Get Attention
            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpGetAttention, args, retVals));
            }

            //Get Meditation
            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpGetMeditation, args, retVals));
            }

            //Get Waves
            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0), new ParamType(0)
                };
                AddOperation(new Operation(OpGetWaves, args, retVals));
            }

            //Get Blinks
            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpGetBlinks, args, retVals));
            }

            //Clear Blinks
            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpClearBlinks, args, retVals));
            }
        }