|
|
@ -31,6 +31,16 @@ public class CsmTestCardManager { |
|
|
|
return this.testCardBoxes; |
|
|
|
} |
|
|
|
|
|
|
|
// clear all test cards |
|
|
|
public void clear() { |
|
|
|
this.testCardBoxes.clear(); |
|
|
|
for ( int i=0; i<6; i++ ) { |
|
|
|
CsmTestCardBox box = new CsmTestCardBox(); |
|
|
|
box.index = i; |
|
|
|
this.testCardBoxes.add(box); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* update test cards by box |
|
|
|
* @param update update info |
|
|
@ -83,6 +93,19 @@ public class CsmTestCardManager { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @TODO : 删除下面这个属性,使用box代替 |
|
|
|
// list of test cards |
|
|
|
private final List<CsmTestCard> testCards = new ArrayList<>(); |
|
|
|