package CRSDK;

@SuppressWarnings("unused")
public enum CrNotifyParam_FirmwareUpdateResult {
    CrNotifyParam_FirmwareUpdateResult_OK (0),
    CrNotifyParam_FirmwareUpdateResult_NG_Invalid (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+1),
    CrNotifyParam_FirmwareUpdateResult_NG_MediaError (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+2),
    CrNotifyParam_FirmwareUpdateResult_NG_ReadError (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+3),
    CrNotifyParam_FirmwareUpdateResult_NG_InvalidData (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+4),
    CrNotifyParam_FirmwareUpdateResult_NG_InvalidVersion (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+5),
    CrNotifyParam_FirmwareUpdateResult_NG_InvalidRegion (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+6),
    CrNotifyParam_FirmwareUpdateResult_NG_InvalidModel (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+7),
    CrNotifyParam_FirmwareUpdateResult_NG_LowBattery (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+8),
    CrNotifyParam_FirmwareUpdateResult_NG_BadBattery (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+9),
    CrNotifyParam_FirmwareUpdateResult_NG_General_Other (CrNotifyParam_FirmwareUpdateResult_OK.getValue()+10),
    CrNotifyParam_FirmwareUpdateResult_NG_DeviceBusy (0x80000000),
    CrNotifyParam_FirmwareUpdateResult_NG_TemporaryStorageFull (CrNotifyParam_FirmwareUpdateResult_NG_DeviceBusy.getValue()+1),
    CrNotifyParam_FirmwareUpdateResult_NG_InvalidParameter (CrNotifyParam_FirmwareUpdateResult_NG_DeviceBusy.getValue()+2);

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