/// <summary>
        /// Changes the adapter of the MMU
        /// </summary>
        /// <param name="newAdapter"></param>
        public void ChangeAdapter(IAdapter newAdapter)
        {
            if (this.adapterClient != null)
            {
                this.adapterClient.Dispose();
            }

            this.adapterClient = newAdapter.CreateClient();
        }
        /// <summary>
        /// Basic constructor of a (remote) MMU
        /// </summary>
        /// <param name="mmuAccess"></param>
        /// <param name="adapter"></param>
        /// <param name="sessionId"></param>
        /// <param name="description"></param>
        public MotionModelUnitAccess(MMUAccess mmuAccess, IAdapter adapter, string sessionId, MMUDescription description)
        {
            this.Adapter = adapter;

            //Assign all variables
            this.Description = description;
            this.sessionId   = sessionId;
            this.MotionType  = description.MotionType;
            this.mmuAccess   = mmuAccess;
            this.Name        = description.Name;
            this.ID          = description.ID;

            //Create a new client for the MMU
            this.adapterClient = adapter.CreateClient();
        }