示例#1
0
 public Socket(ElectricAlappliance computer, double minElectroMagneticRange, double maxElectroMagneticRange)
 {
     this.computer = computer;
     this.minElectroMagneticRange = minElectroMagneticRange;
     this.maxElectroMagneticRange = maxElectroMagneticRange;
     arrayElectricAlappliance.Add(computer);
 }
示例#2
0
 public Socket(ElectricAlappliance computer, ElectricAlappliance radio, ElectricAlappliance tV, ElectricAlappliance microwave, double minElectroMagneticRange, double maxElectroMagneticRange) :
     this(computer, radio, tV, minElectroMagneticRange, maxElectroMagneticRange)
 {
     this.microwave = microwave;
     arrayElectricAlappliance.Add(microwave);
 }
示例#3
0
 public Socket(ElectricAlappliance computer, ElectricAlappliance radio, ElectricAlappliance tV, double minElectroMagneticRange, double maxElectroMagneticRange) :
     this(computer, radio, minElectroMagneticRange, maxElectroMagneticRange)
 {
     this.tV = tV;
     arrayElectricAlappliance.Add(tV);
 }
示例#4
0
 public Socket(ElectricAlappliance computer, ElectricAlappliance radio, double minElectroMagneticRange, double maxElectroMagneticRange) :
     this(computer, minElectroMagneticRange, maxElectroMagneticRange)
 {
     this.radio = radio;
     arrayElectricAlappliance.Add(radio);
 }