979899100101102103104
{ add(new PromptFlow("g'day!")); SROQuantity qflow = new SROQuantity("bottles", 1, 10); qflow.setConfirmer(new YesNoConfirmerFlow("yn.grxml")); add(qflow); add(new PFlow("You said {$INPUT}")); add(new DisconnectFlow("bye")); }
106107108109110111112113
{ add(new PromptFlow("let's test sronumber!")); SRONumber qflow = new SRONumber("bottles", 1, 10); qflow.setConfirmer(new SROConfirmYesNo("wine")); add(qflow); add(new PFlow("You said {$INPUT}")); add(new DisconnectFlow("bye")); }
253254255256257258259260
qflow.setConfirmer(new SROConfirmYesNo("wine")); } } flow.add(qflow); flow.add(new PFlow("You said {$INPUT}")); return flow; }
104105106107108109110111
m_yesno = qflow; qflow.setName("MyYesNo"); qflow.setModelVar("city"); flow.add(qflow); flow.add(new PFlow("You said {$INPUT}")); return flow; }