Ejemplo n.º 1
0
 public void Register(IPhysicalLayer <byte> peripheral, NullRegistrationPoint registrationPoint)
 {
     if (phy != null)
     {
         throw new RegistrationException("There is already a PHY registered for this controller");
     }
     phy = peripheral;
 }
Ejemplo n.º 2
0
 public override void Register(IPS2Peripheral peripheral, NullRegistrationPoint registrationPoint)
 {
     base.Register(peripheral, registrationPoint);
     peripheral.Controller = this;
 }