public RadioPanelPZ69SRS(int portFrom, string ipAddressTo, int portTo, HIDSkeleton hidSkeleton) : base(hidSkeleton) { SRSListenerFactory.SetParams(portFrom, ipAddressTo, portTo); SRSListenerFactory.GetSRSListener().Attach(this); VendorId = 0x6A3; ProductId = 0xD05; CreateRadioKnobs(); Startup(); }
public override void Shutdown() { try { SRSListenerFactory.GetSRSListener().Detach(this); Common.DebugP("Entering SRS Radio Shutdown()"); ShutdownBase(); SRSListenerFactory.Shutdown(); } catch (Exception e) { SetLastException(e); } Common.DebugP("Leaving SRS Radio Shutdown()"); }