|
@ -1,9 +1,7 @@ |
|
|
package com.iflytop.a800.device; |
|
|
package com.iflytop.a800.device; |
|
|
|
|
|
|
|
|
import com.iflytop.a800.resource.BufferTubeManager; |
|
|
import com.iflytop.a800.resource.BufferTubeManager; |
|
|
import com.iflytop.a800.resource.LargeBufferTubeManager; |
|
|
import com.iflytop.a800.resource.LargeBufferTubeManager; |
|
|
import com.iflytop.a800.resource.TestCardManager; |
|
|
import com.iflytop.a800.resource.TestCardManager; |
|
|
|
|
|
|
|
|
public class Device { |
|
|
public class Device { |
|
|
// singleton instance |
|
|
// singleton instance |
|
|
private static final Device instance = new Device(); |
|
|
private static final Device instance = new Device(); |
|
@ -25,6 +23,8 @@ public class Device { |
|
|
public final TrashBox trashBox = new TrashBox(); |
|
|
public final TrashBox trashBox = new TrashBox(); |
|
|
// id卡读卡器 |
|
|
// id卡读卡器 |
|
|
public final IdChipReader idChipReader = new IdChipReader(); |
|
|
public final IdChipReader idChipReader = new IdChipReader(); |
|
|
|
|
|
// 打印机 |
|
|
|
|
|
public final Printer printer = new Printer(); |
|
|
|
|
|
|
|
|
// get instance |
|
|
// get instance |
|
|
public static Device getInstance() { |
|
|
public static Device getInstance() { |
|
|