public void NotificateAllPortRead(NotifyReadGeneralPort notifiFunctionGeneralPort) { this._notifiFunctionGeneralPort = notifiFunctionGeneralPort; if (this._notifiFunctionGeneralPort != null) { this._notifyReadGeneral = true; } }
public void CancelNotificateAllPortRead(NotifyReadGeneralPort notifiFunctionGeneralPort) { this._notifiFunctionGeneralPort = null; this._notifyReadGeneral = false; }