package CRSDK;

@SuppressWarnings("unused")
public enum CrSlotStatus {
    CrSlotStatus_OK (0x0000),
    CrSlotStatus_NoCard (CrSlotStatus_OK.getValue()+1),
    CrSlotStatus_CardError (CrSlotStatus_OK.getValue()+2),
    CrSlotStatus_RecognizingOrLockedError (CrSlotStatus_OK.getValue()+3),
    CrSlotStatus_DBError (CrSlotStatus_OK.getValue()+4),
    CrSlotStatus_CardRecognizing (CrSlotStatus_OK.getValue()+5),
    CrSlotStatus_CardLockedAndDBError (CrSlotStatus_OK.getValue()+6),
    CrSlotStatus_DBError_CantRepairAndNeedFormat (CrSlotStatus_OK.getValue()+7),
    CrSlotStatus_CardError_ReadOnlyMedia (CrSlotStatus_OK.getValue()+8);

    private final CrInt16u value;
    CrSlotStatus(int value) {
        this.value = new CrInt16u(value);
    }
    public int getValue() {
        return value.intValue();
    }
}
