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(); }
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"); }
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"); }
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]; }
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]; }