示例#1
0
 public DeviceStats(IxyDevice dev)
 {
     this.Device    = dev;
     this.RxBytes   = 0;
     this.TxBytes   = 0;
     this.RxPackets = 0;
     this.TxPackets = 0;
 }
示例#2
0
 public DeviceStats(IxyDevice dev, uint rxp, uint txp, ulong rxb, ulong txb)
 {
     this.Device    = dev;
     this.RxPackets = rxp;
     this.TxPackets = txp;
     this.RxBytes   = rxb;
     this.TxBytes   = txb;
 }