Esempio n. 1
0
 public DroboSensor()
 {
     this._connection = new DroboConnection(30000);
     this._connected =this._connection.Connect();
     this._connection.ConnectionLost += this.ConnectionOnConnectionLost;
     this._connection.DataRecieved += this.Connection_DataRecieved;
     Console.WriteLine($"Drobo is connected: {this._connected}");
 }
Esempio n. 2
0
 public DroboSensor()
 {
     this._connection = new DroboConnection(30000);
     this._connected  = this._connection.Connect();
     this._connection.ConnectionLost += this.ConnectionOnConnectionLost;
     this._connection.DataRecieved   += this.Connection_DataRecieved;
     Console.WriteLine($"Drobo is connected: {this._connected}");
 }