public DResponse m_Response; // What the user selected. public DField(DForm i_dfParentForm) { m_dfParentForm = i_dfParentForm; m_sID = ""; m_iResponseTimeout = 15; m_iFinalIteration = 1; m_iIterationCount = 0; m_DActionsPre = new DActions(); m_DActionsPost = new DActions(); m_Errors_NoMatch = new DActions(); m_Errors_NoInput = new DActions(); m_Options = new DResponses(); m_DVariables = new DVariables(); m_DProperties = new DProperties(); // Add in default field variables m_DVariables.Add(new DVariable(eVars.inputmode.ToString(), eInputModes.speech.ToString())); // Default to speech m_DVariables.Add(new DVariable(eVars.utterance.ToString(), "")); m_DVariables.Add(new DVariable(eVars.confidence.ToString(), "")); }
public DSession(int i_iVMC) { m_iVMC = i_iVMC; m_DVariables = new DVariables(); // Add default variables m_DVariables.Add(new DVariable(eVars.connection_local_uri.ToString(), "")); m_DVariables.Add(new DVariable(eVars.connection_remote_uri.ToString(), "")); m_DVariables.Add(new DVariable(eVars.connection_remote_displayname.ToString(), "")); m_DVariables.Add(new DVariable(eVars.connection_protocol_name.ToString(), "")); m_DVariables.Add(new DVariable(eVars.connection_originator.ToString(), "")); m_DVariables.Add(new DVariable(eVars.speechbridge_session_id.ToString(), "")); m_DProperties = new DProperties(); }