protected override void handleRequest() { if (string.IsNullOrEmpty(operationCode)) { input = new SearchPendingOperationsInput() { ida = StorageUtils.getIDA(), appVersion = AppSetup.getAppVersion(), tda = TDA.getEvolvedTDA(), messageCode = RequestCodes.REQ024, messageVersion = int.Parse(RequestCodes.REQ024Version) }; // In case of TDA retrieving error, do not make the request if (((SearchPendingOperationsInput)input).tda == null) { handleResponse("Error getting evolved TDA"); return; } } else { input = new SearchPendingOperationsInputWithOc() { ida = StorageUtils.getIDA(), appVersion = AppSetup.getAppVersion(), tda = TDA.getEvolvedTDA(), messageCode = RequestCodes.REQ024, messageVersion = int.Parse(RequestCodes.REQ024Version), operationCode = operationCode }; // In case of TDA retrieving error, do not make the request if (((SearchPendingOperationsInputWithOc)input).tda == null) { handleResponse("Error getting evolved TDA"); return; } } // TODO postRequest(); }
public WG(int WGID) { _wgID = WGID; InitializeComponent(); // Set wave generator IDs TDP.WGID = _wgID; TDP.Initalise("TDP"); TDA.WGID = _wgID; TDA.Initalise("TDA"); TheFilter.WGID = _wgID; TheFilter.Initalise(); // Set the change events SetEventsAndInitialValues(root); this.Title = "WG " + _wgID; }
public static string getCurrentTDA() { return(TDA.getCurrentTDA()); }