Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="serial"></param>
        /// <param name="state"></param>
        public Device(String serial, DeviceState state)
        {
            this.SerialNumber    = serial;
            this.State           = state;
            MountPoints          = new Dictionary <String, MountPoint> ( );
            Properties           = new Dictionary <string, string> ( );
            EnvironmentVariables = new Dictionary <string, string> ( );
            Clients    = new List <IClient> ( );
            FileSystem = new FileSystem(this);
            BusyBox    = new BusyBox(this);

            RetrieveDeviceInfo( );
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Device"/> class.
        /// </summary>
        /// <param name="serial">The serial.</param>
        /// <param name="state">The state.</param>
        /// <param name="model">The model.</param>
        /// <param name="product">The product.</param>
        /// <param name="device">The device.</param>
        public Device(string serial, DeviceState state, string model, string product, string device)
        {
            this.SerialNumber    = serial;
            this.State           = state;
            MountPoints          = new Dictionary <String, MountPoint> ( );
            Properties           = new Dictionary <string, string> ( );
            EnvironmentVariables = new Dictionary <string, string> ( );
            Clients    = new List <IClient> ( );
            FileSystem = new FileSystem(this);
            BusyBox    = new BusyBox(this);

            Model          = model;
            Product        = product;
            DeviceProperty = device;

            RetrieveDeviceInfo( );
        }
Exemplo n.º 3
0
Arquivo: BusyBox.cs Projeto: sttt/madb
 public BusyBoxCommandsReceiver(BusyBox bb)
     : base( )
 {
     TrimLines = true;
     BusyBox   = bb;
 }
Exemplo n.º 4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Device"/> class.
        /// </summary>
        /// <param name="serial">The serial.</param>
        /// <param name="state">The state.</param>
        /// <param name="model">The model.</param>
        /// <param name="product">The product.</param>
        /// <param name="device">The device.</param>
        public Device(string serial, DeviceState state, string model, string product, string device)
        {
            this.SerialNumber = serial;
            this.State = state;
            MountPoints = new Dictionary<String, MountPoint>();
            Properties = new Dictionary<string, string>();
            EnvironmentVariables = new Dictionary<string, string>();
            Clients = new List<IClient>();
            FileSystem = new FileSystem(this);
            BusyBox = new BusyBox(this);

            Model = model;
            Product = product;
            DeviceProperty = device;

            RetrieveDeviceInfo();
        }
Exemplo n.º 5
0
 public BusyBoxCommandsReceiver( BusyBox bb )
     : base()
 {
     TrimLines = true;
     BusyBox = bb;
 }
Exemplo n.º 6
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="serial"></param>
        /// <param name="state"></param>
        public Device( String serial, DeviceState state )
        {
            this.SerialNumber = serial;
            this.State = state;
            MountPoints = new Dictionary<String, MountPoint> ( );
            Properties = new Dictionary<string, string> ( );
            EnvironmentVariables = new Dictionary<string, string> ( );
            Clients = new List<IClient> ( );
            FileSystem = new FileSystem ( this );
            BusyBox = new BusyBox ( this );

            RetrieveDeviceInfo ( );
        }