public RPobject OB_Word = new RPobject(3);//单词页用于命令和数据传递的对象 public void Word() { RPconnect CT_Word = new RPconnect(OB_Word); OB_Word = CT_Word.captureWord(); WordQueue(OB_Word); }
WordList WordQ = new WordList(); //用于储存Word的队列对象 private void Word() { RPconnect CT_Word = new RPconnect(OB_Word); OB_Word = CT_Word.captureWord(); WordQ.WordQueue(OB_Word); if (i <= 6) { i++; } }
public void captureWord() { bool OK = false; RPobject obj = new RPobject(); RPconnect con = new RPconnect(obj); obj = con.captureWord(); if (obj != null) { OK = true; } Assert.AreEqual(OK, true); }
RPobject OB_Home = new RPobject(2);//主页用于命令和数据传递的对象 private void Home_Word() { RPconnect CT_Home = new RPconnect(OB_Home);//连接并获取数据 OB_Home = CT_Home.captureWord(); }
private void Word() { RPconnect CT_Word = new RPconnect(OB_Word); OB_Word = CT_Word.captureWord(); }
private void Load_Word() { RPconnect CT_Load = new RPconnect(OB_Load); OB_Load = CT_Load.captureWord(); }
RPobject OB_Load = new RPobject(1);//欢迎页用于命令和数据传递接受的连接对象 private void Load_Word() { RPconnect CT_Load = new RPconnect(OB_Load);//使用“连接”获取数据 OB_Load = CT_Load.captureWord(); }