Ejemplo n.º 1
0
 public btCHSTRAS_091_Fault(btSHFUserLogin shfUserLogin,
     btSHFUnitPractice shfUnitPratice, int courseType, int itemNumber)
     : base(shfUnitPratice, courseType)
 {
     item = new Common.btCHSTRAS_091_Item(shfUserLogin, shfUnitPratice);
     unit = new Common.btCHSTRAS_091_Unit(getSize(), shfUserLogin, shfUnitPratice);
     file = new btCHSTRAS_091_File();
 }
Ejemplo n.º 2
0
 public btCHSTRAS_091_Memory(btSHFUserLogin shfUserLogin, btSHFUnitPractice shfUnitPratice, int courseType, int itemNumber)
     : base(shfUnitPratice, courseType)
 {
     item = new Common.btCHSTRAS_091_Item(shfUserLogin, shfUnitPratice);
     unit = new Common.btCHSTRAS_091_Unit(getSize(), shfUserLogin, shfUnitPratice);
     file = new btCHSTRAS_091_File();
     open = file.getImage("open.png");
     close = file.getImage("close.png");
 }
Ejemplo n.º 3
0
 public btCHSTRAS_091_Puzzle(btSHFUserLogin shfUserLogin, btSHFUnitPractice shfUnitPratice, int courseType, int itemNumber)
     : base(shfUnitPratice, courseType)
 {
     this.itemNumber = itemNumber;
     file = new btCHSTRAS_091_File();
     item = new Common.btCHSTRAS_091_Item(shfUserLogin, shfUnitPratice);
     unit = new Common.btCHSTRAS_091_Unit(getSize(), shfUserLogin, shfUnitPratice);
     finger = file.getImage("finger.png");
 }
Ejemplo n.º 4
0
 public btCHSTRAS_091_Link(btSHFUserLogin shfUserLogin, btSHFUnitPractice shfUnitPratice, int courseType, int arrayLength)
 {
     this.arrayLength = arrayLength;
     this.shfUserLogin = shfUserLogin;
     this.shfUnitPratice = shfUnitPratice;
     file = new btCHSTRAS_091_File();
     question = new btCHSTRAS_091_Question(shfUnitPratice, courseType);
     totalNumber = question.getSize();
     unit = new btCHSTRAS_091_Unit(totalNumber, shfUserLogin, shfUnitPratice);
     item = new btCHSTRAS_091_Item(shfUserLogin, shfUnitPratice);
     textNames = new String[arrayLength];
     imageNames = new String[arrayLength];
 }
Ejemplo n.º 5
0
 public btCHSTRAS_091_Link(btSHFUserLogin shfUserLogin, btSHFUnitPractice shfUnitPratice)
 {
     this.shfUserLogin = shfUserLogin;
     this.shfUnitPratice = shfUnitPratice;
     btCHSTRAS_091_Base bt = new btCHSTRAS_091_Base();
     int programID = bt.getPagesID(shfUnitPratice);
     btCHSTRAS_091_Database database = new btCHSTRAS_091_Database();
     String where = "ProgramID=" + programID;
     String[] selection = new String[] { "TextInfo", "ImageInfo" };
     reader = database.query("E_SHFPages", selection, where, null);
     unit = new btCHSTRAS_091_Unit(DateTime.Now, database.getSize(), shfUserLogin, shfUnitPratice);
     item = new btCHSTRAS_091_Item(shfUserLogin, shfUnitPratice);
     texts = new String[4];
     images = new String[4];
 }