示例#1
0
 public AgentPlatformDescription(string name, Boolean?dynamicP = null,
                                 Boolean?mobility = null,
                                 APtransportDescription APtrdescr = null)
 {
     this.Name              = name;
     this._dynamicR         = dynamicP;
     this._mobility         = mobility;
     this._transportProfile = APtrdescr;
 }
示例#2
0
        /// <summary>
        /// Function used to create a AMS object
        /// </summary>
        private void StartAMS()
        {
            APtransportDescription apDescription = new APtransportDescription();

            //TODO: Add a config file
            AgentPlatformDescription platformDescription = new AgentPlatformDescription("ams",
                                                                                        false, false, apDescription);

            _ams = new AMS(platformDescription);
        }