/// <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( ); }
/// <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( ); }
public BusyBoxCommandsReceiver(BusyBox bb) : base( ) { TrimLines = true; BusyBox = bb; }
/// <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(); }
public BusyBoxCommandsReceiver( BusyBox bb ) : base() { TrimLines = true; BusyBox = bb; }
/// <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 ( ); }