Пример #1
0
        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(), ""));
        }
Пример #2
0
 public void Remove(DForm i_Elem)
 {
     List.Remove(i_Elem);
 }
Пример #3
0
 public void Insert(int i_iIndex, DForm i_Elem)
 {
     List.Insert(i_iIndex, i_Elem);
 }
Пример #4
0
 public int IndexOf(DForm i_Elem)
 {
     return(List.IndexOf(i_Elem));
 }
Пример #5
0
 public bool Contains(DForm i_Elem)
 {
     return(List.Contains(i_Elem));
 }
Пример #6
0
 public int Add(DForm i_Elem)
 {
     return(List.Add(i_Elem));
 }