commit 25/07/2025

This commit is contained in:
2025-07-25 11:12:52 +07:00
parent 59bda34f7c
commit 3009d4f547
62 changed files with 806 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrAutoFocusHold {
CrAutoFocusHold_Off(0x01),
CrAutoFocusHold_On(CrAutoFocusHold_Off.getValue() + 1);
private final CrInt8u value;
CrAutoFocusHold(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,15 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrAutoRecognitionTargetCandidate {
CrAutoRecognitionTargetCandidate_Person(0x00000001),
CrAutoRecognitionTargetCandidate_Animal(0x00000002),
CrAutoRecognitionTargetCandidate_Bird(0x00000004),
CrAutoRecognitionTargetCandidate_Insect(0x00000008),
CrAutoRecognitionTargetCandidate_CarTrain(0x00000010),
CrAutoRecognitionTargetCandidate_Plane(0x00000020);
private final CrInt32u value;
CrAutoRecognitionTargetCandidate(int value) { this.value = new CrInt32u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,10 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrCameraLeverFunction {
CrCameraLeverFunction_TeleWideLever(0x50010000);
private final CrInt32u value;
CrCameraLeverFunction(int value) { this.value = new CrInt32u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,14 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrCameraPowerStatus {
CrCameraPowerStatus_Off(0x01),
CrCameraPowerStatus_Standby(0x02),
CrCameraPowerStatus_PowerOn(0x03),
CrCameraPowerStatus_TransitioningFromPowerOnToStandby(0x04),
CrCameraPowerStatus_TransitioningFromStandbyToPowerOn(0x05);
private final CrInt8u value;
CrCameraPowerStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrCinematicVlogAFTransitionSpeed {
CrCinematicVlogAFTransitionSpeed_High(0x01),
CrCinematicVlogAFTransitionSpeed_Middle(CrCinematicVlogAFTransitionSpeed_High.getValue() + 1),
CrCinematicVlogAFTransitionSpeed_Low(CrCinematicVlogAFTransitionSpeed_High.getValue() + 2);
private final CrInt8u value;
CrCinematicVlogAFTransitionSpeed(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,31 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrCinematicVlogLook {
CrCinematicVlogLook_Classic(0x0001),
CrCinematicVlogLook_S_Cinetone(CrCinematicVlogLook_Classic.getValue() + 1),
CrCinematicVlogLook_Clean(CrCinematicVlogLook_Classic.getValue() + 2),
CrCinematicVlogLook_Chic(CrCinematicVlogLook_Classic.getValue() + 3),
CrCinematicVlogLook_Fresh(CrCinematicVlogLook_Classic.getValue() + 4),
CrCinematicVlogLook_Mono(CrCinematicVlogLook_Classic.getValue() + 5),
CrCinematicVlogLook_User1(0x0101),
CrCinematicVlogLook_User2(CrCinematicVlogLook_User1.getValue() + 1),
CrCinematicVlogLook_User3(CrCinematicVlogLook_User1.getValue() + 2),
CrCinematicVlogLook_User4(CrCinematicVlogLook_User1.getValue() + 3),
CrCinematicVlogLook_User5(CrCinematicVlogLook_User1.getValue() + 4),
CrCinematicVlogLook_User6(CrCinematicVlogLook_User1.getValue() + 5),
CrCinematicVlogLook_User7(CrCinematicVlogLook_User1.getValue() + 6),
CrCinematicVlogLook_User8(CrCinematicVlogLook_User1.getValue() + 7),
CrCinematicVlogLook_User9(CrCinematicVlogLook_User1.getValue() + 8),
CrCinematicVlogLook_User10(CrCinematicVlogLook_User1.getValue() + 9),
CrCinematicVlogLook_User11(CrCinematicVlogLook_User1.getValue() + 10),
CrCinematicVlogLook_User12(CrCinematicVlogLook_User1.getValue() + 11),
CrCinematicVlogLook_User13(CrCinematicVlogLook_User1.getValue() + 12),
CrCinematicVlogLook_User14(CrCinematicVlogLook_User1.getValue() + 13),
CrCinematicVlogLook_User15(CrCinematicVlogLook_User1.getValue() + 14),
CrCinematicVlogLook_User16(CrCinematicVlogLook_User1.getValue() + 15);
private final CrInt16u value;
CrCinematicVlogLook(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,13 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrCinematicVlogMood {
CrCinematicVlogMood_Auto(0x01),
CrCinematicVlogMood_Gold(CrCinematicVlogMood_Auto.getValue() + 1),
CrCinematicVlogMood_Ocean(CrCinematicVlogMood_Auto.getValue() + 2),
CrCinematicVlogMood_Forest(CrCinematicVlogMood_Auto.getValue() + 3);
private final CrInt8u value;
CrCinematicVlogMood(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrCinematicVlogSetting {
CrCinematicVlogSetting_Off(0x01),
CrCinematicVlogSetting_On(CrCinematicVlogSetting_Off.getValue() + 1);
private final CrInt8u value;
CrCinematicVlogSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrContentsInfoListEnableStatus {
CrContentsInfoListEnableStatus_Disable(0x00),
CrContentsInfoListEnableStatus_Enable(CrContentsInfoListEnableStatus_Disable.getValue() + 1);
private final CrInt8u value;
CrContentsInfoListEnableStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrDebugMode {
CrDebugMode_OFF(0x01),
CrDebugMode_Pseudo_update_with_Fake_Firmware(0x02);
private final CrInt8u value;
CrDebugMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrEnlargeScreenSetting {
CrEnlargeScreenSetting_OFF(0x01),
CrEnlargeScreenSetting_ON(CrEnlargeScreenSetting_OFF.getValue() + 1);
private final CrInt8u value;
CrEnlargeScreenSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,10 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrExposureStep {
CrExposureStep_Invalid(0x0000);
private final CrInt16u value;
CrExposureStep(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrFaceEyeDetectionAFStatus {
CrFaceEyeDetectionAFStatus_FaceEyeOnlyAFStop(0x01),
CrFaceEyeDetectionAFStatus_FaceEyeOnlyAF(CrFaceEyeDetectionAFStatus_FaceEyeOnlyAFStop.getValue() + 1),
CrFaceEyeDetectionAFStatus_FaceEyePriorityAF(CrFaceEyeDetectionAFStatus_FaceEyeOnlyAFStop.getValue() + 2);
private final CrInt8u value;
CrFaceEyeDetectionAFStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,35 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrFileSettingsCameraId {
CrFileSettingsCameraId_A(0x01),
CrFileSettingsCameraId_B(CrFileSettingsCameraId_A.getValue() + 1),
CrFileSettingsCameraId_C(CrFileSettingsCameraId_A.getValue() + 2),
CrFileSettingsCameraId_D(CrFileSettingsCameraId_A.getValue() + 3),
CrFileSettingsCameraId_E(CrFileSettingsCameraId_A.getValue() + 4),
CrFileSettingsCameraId_F(CrFileSettingsCameraId_A.getValue() + 5),
CrFileSettingsCameraId_G(CrFileSettingsCameraId_A.getValue() + 6),
CrFileSettingsCameraId_H(CrFileSettingsCameraId_A.getValue() + 7),
CrFileSettingsCameraId_I(CrFileSettingsCameraId_A.getValue() + 8),
CrFileSettingsCameraId_J(CrFileSettingsCameraId_A.getValue() + 9),
CrFileSettingsCameraId_K(CrFileSettingsCameraId_A.getValue() + 10),
CrFileSettingsCameraId_L(CrFileSettingsCameraId_A.getValue() + 11),
CrFileSettingsCameraId_M(CrFileSettingsCameraId_A.getValue() + 12),
CrFileSettingsCameraId_N(CrFileSettingsCameraId_A.getValue() + 13),
CrFileSettingsCameraId_O(CrFileSettingsCameraId_A.getValue() + 14),
CrFileSettingsCameraId_P(CrFileSettingsCameraId_A.getValue() + 15),
CrFileSettingsCameraId_Q(CrFileSettingsCameraId_A.getValue() + 16),
CrFileSettingsCameraId_R(CrFileSettingsCameraId_A.getValue() + 17),
CrFileSettingsCameraId_S(CrFileSettingsCameraId_A.getValue() + 18),
CrFileSettingsCameraId_T(CrFileSettingsCameraId_A.getValue() + 19),
CrFileSettingsCameraId_U(CrFileSettingsCameraId_A.getValue() + 20),
CrFileSettingsCameraId_V(CrFileSettingsCameraId_A.getValue() + 21),
CrFileSettingsCameraId_W(CrFileSettingsCameraId_A.getValue() + 22),
CrFileSettingsCameraId_X(CrFileSettingsCameraId_A.getValue() + 23),
CrFileSettingsCameraId_Y(CrFileSettingsCameraId_A.getValue() + 24),
CrFileSettingsCameraId_Z(CrFileSettingsCameraId_A.getValue() + 25);
private final CrInt8u value;
CrFileSettingsCameraId(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrFileSettingsCameraPosition {
CrFileSettingsCameraPosition_Center(0x01),
CrFileSettingsCameraPosition_Left(CrFileSettingsCameraPosition_Center.getValue() + 1),
CrFileSettingsCameraPosition_Right(CrFileSettingsCameraPosition_Center.getValue() + 2);
private final CrInt8u value;
CrFileSettingsCameraPosition(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrIRRemoteSetting {
CrIRRemoteSetting_Off(0x01),
CrIRRemoteSetting_On(0x02);
private final CrInt8u value;
CrIRRemoteSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrImageStabilizationFramingStabilizer {
CrImageStabilizationFramingStabilizer_OFF(0x01),
CrImageStabilizationFramingStabilizer_ON_Manual(CrImageStabilizationFramingStabilizer_OFF.getValue() + 1),
CrImageStabilizationFramingStabilizer_ON_Center(CrImageStabilizationFramingStabilizer_OFF.getValue() + 2);
private final CrInt8u value;
CrImageStabilizationFramingStabilizer(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,13 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMicrophoneDirectivity {
CrMicrophoneDirectivity_Auto(0x01),
CrMicrophoneDirectivity_All(CrMicrophoneDirectivity_Auto.getValue() + 1),
CrMicrophoneDirectivity_Front(CrMicrophoneDirectivity_Auto.getValue() + 2),
CrMicrophoneDirectivity_Rear(CrMicrophoneDirectivity_Auto.getValue() + 3);
private final CrInt8u value;
CrMicrophoneDirectivity(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,19 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitorLUTSettingOutputDestAssign {
CrMonitorLUTSettingOutputDestAssign_NumberMask(0x000000FF),
CrMonitorLUTSettingOutputDestAssign_All(0x00000100),
CrMonitorLUTSettingOutputDestAssign_Stream(0x00000200),
CrMonitorLUTSettingOutputDestAssign_Proxy(0x00000400),
CrMonitorLUTSettingOutputDestAssign_HDMI(0x00000800),
CrMonitorLUTSettingOutputDestAssign_SDI(0x00001000),
CrMonitorLUTSettingOutputDestAssign_VF(0x00002000),
CrMonitorLUTSettingOutputDestAssign_LCD(0x00004000),
CrMonitorLUTSettingOutputDestAssign_InternalRec(0x00008000),
CrMonitorLUTSettingOutputDestAssign_SDI2(0x00010000);
private final CrInt32u value;
CrMonitorLUTSettingOutputDestAssign(int value) { this.value = new CrInt32u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,50 @@
package CRSDK;
import com.sun.jna.Structure;
import com.sun.jna.Union;
@SuppressWarnings("unused")
public class CrMonitoringFormat extends Union {
public CrInt64u value;
public Member member;
@FieldOrder({
"deliveryImageQualityLevel",
"videoCodec",
"resolution",
"frameRate",
"bitRate",
"flags",
"reserve2"
})
public static class Member extends Structure {
// These depend on your typedefs in C. Assuming they are enums stored as 32-bit int:
public CrMonitoringFormat_DeliveryImageQualityLevel deliveryImageQualityLevel; // CrMonitoringFormat_DeliveryImageQualityLevel
public CrMonitoringFormat_VideoCodec videoCodec; // CrMonitoringFormat_VideoCodec
public CrMonitoringFormat_Resolution resolution; // CrMonitoringFormat_Resolution
public CrMonitoringFormat_FrameRate frameRate; // CrMonitoringFormat_FrameRate
public CrInt16u bitRate; // CrInt16u
public byte flags; // will hold resolutionVariableFlag(1bit) and reserve1(7bit)
public byte reserve2; // CrInt8u
// convenience methods to get/set the bit fields
public CrInt8u getResolutionVariableFlag() {
return new CrInt8u(flags & 0x01);
}
public void setResolutionVariableFlag(boolean flag) {
if (flag) {
flags |= 0x01;
} else {
flags &= ~0x01;
}
}
public byte getReserve1() {
// upper 7 bits
return (byte)((flags & 0xFE) >> 1);
}
public void setReserve1(byte value) {
flags = (byte)((flags & 0x01) | ((value << 1) & 0xFE));
}
}
}

View File

@@ -0,0 +1,13 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitoringFormat_DeliveryImageQualityLevel {
CrMonitoringFormat_DeliveryImageQualityLevel_Invalid(0x00),
CrMonitoringFormat_DeliveryImageQualityLevel_Level1(CrMonitoringFormat_DeliveryImageQualityLevel_Invalid.getValue() + 1),
CrMonitoringFormat_DeliveryImageQualityLevel_Level2(CrMonitoringFormat_DeliveryImageQualityLevel_Invalid.getValue() + 2),
CrMonitoringFormat_DeliveryImageQualityLevel_Level3(CrMonitoringFormat_DeliveryImageQualityLevel_Invalid.getValue() + 3);
private final CrInt8u value;
CrMonitoringFormat_DeliveryImageQualityLevel(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,15 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitoringFormat_FrameRate {
CrMonitoringFormat_FrameRate_7_50fps(0x01),
CrMonitoringFormat_FrameRate_23_98fps(CrMonitoringFormat_FrameRate_7_50fps.getValue() + 1),
CrMonitoringFormat_FrameRate_24_00fps(CrMonitoringFormat_FrameRate_7_50fps.getValue() + 2),
CrMonitoringFormat_FrameRate_25_00fps(CrMonitoringFormat_FrameRate_7_50fps.getValue() + 3),
CrMonitoringFormat_FrameRate_29_97fps(CrMonitoringFormat_FrameRate_7_50fps.getValue() + 4),
CrMonitoringFormat_FrameRate_30_00fps(CrMonitoringFormat_FrameRate_7_50fps.getValue() + 5);
private final CrInt8u value;
CrMonitoringFormat_FrameRate(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,18 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitoringFormat_Resolution {
CrMonitoringFormat_Resolution_480x270(0x01),
CrMonitoringFormat_Resolution_640x336(CrMonitoringFormat_Resolution_480x270.getValue() + 1),
CrMonitoringFormat_Resolution_640x360(CrMonitoringFormat_Resolution_480x270.getValue() + 2),
CrMonitoringFormat_Resolution_1024x544(CrMonitoringFormat_Resolution_480x270.getValue() + 3),
CrMonitoringFormat_Resolution_1024x576(CrMonitoringFormat_Resolution_480x270.getValue() + 4),
CrMonitoringFormat_Resolution_1280x720(CrMonitoringFormat_Resolution_480x270.getValue() + 5),
CrMonitoringFormat_Resolution_1920x1080(CrMonitoringFormat_Resolution_480x270.getValue() + 6),
CrMonitoringFormat_Resolution_640x480(CrMonitoringFormat_Resolution_480x270.getValue() + 7),
CrMonitoringFormat_Resolution_1024x768(CrMonitoringFormat_Resolution_480x270.getValue() + 8);
private final CrInt8u value;
CrMonitoringFormat_Resolution(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitoringFormat_VideoCodec {
CrMonitoringFormat_VideoCodec_Jpeg(0x01),
CrMonitoringFormat_VideoCodec_H264(CrMonitoringFormat_VideoCodec_Jpeg.getValue() + 1),
CrMonitoringFormat_VideoCodec_H265(CrMonitoringFormat_VideoCodec_Jpeg.getValue() + 2);
private final CrInt8u value;
CrMonitoringFormat_VideoCodec(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitoringOutputDisplaySDI {
CrMonitoringOutputDisplaySDI_Off(0x01),
CrMonitoringOutputDisplaySDI_On(CrMonitoringOutputDisplaySDI_Off.getValue() + 1);
private final CrInt8u value;
CrMonitoringOutputDisplaySDI(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMonitoringTransportProtocol {
CrMonitoringTransportProtocol_Invalid(0x0000),
CrMonitoringTransportProtocol_UDP(CrMonitoringTransportProtocol_Invalid.getValue() + 1),
CrMonitoringTransportProtocol_TCP(CrMonitoringTransportProtocol_Invalid.getValue() + 2);
private final CrInt16u value;
CrMonitoringTransportProtocol(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrMovieQualityFullAutoMode {
CrMovieQualityFullAutoMode_Off_Manual(0x01),
CrMovieQualityFullAutoMode_On_Auto(CrMovieQualityFullAutoMode_Off_Manual.getValue() + 1);
private final CrInt8u value;
CrMovieQualityFullAutoMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrNDFilterPresetSelect {
CrNDFilterPresetSelect_Preset1(0x01),
CrNDFilterPresetSelect_Preset2(CrNDFilterPresetSelect_Preset1.getValue() + 1),
CrNDFilterPresetSelect_Preset3(CrNDFilterPresetSelect_Preset1.getValue() + 2);
private final CrInt8u value;
CrNDFilterPresetSelect(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,10 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrNDFilterPresetValue {
CrNDFilterPresetValue_Nothing(0xFFFFFFFFFFFFFFFFL);
private final CrInt64u value;
CrNDFilterPresetValue(long value) { this.value = new CrInt64u(value); }
public long getValue() { return value.longValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrOSDImageMode {
CrOSDImageMode_Off(0x00),
CrOSDImageMode_On(CrOSDImageMode_Off.getValue() + 1);
private final CrInt8u value;
CrOSDImageMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPaintLookAutoKnee {
CrPaintLookAutoKnee_Off(0x01),
CrPaintLookAutoKnee_On(CrPaintLookAutoKnee_Off.getValue() + 1);
private final CrInt8u value;
CrPaintLookAutoKnee(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPaintLookDetailSetting {
CrPaintLookDetailSetting_Off(0x01),
CrPaintLookDetailSetting_On(CrPaintLookDetailSetting_Off.getValue() + 1);
private final CrInt8u value;
CrPaintLookDetailSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPaintLookKneeSetting {
CrPaintLookKneeSetting_Off(0x01),
CrPaintLookKneeSetting_On(CrPaintLookKneeSetting_Off.getValue() + 1);
private final CrInt8u value;
CrPaintLookKneeSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPanLimitMode {
CrPanLimitMode_Off(0x01),
CrPanLimitMode_On(0x02);
private final CrInt8u value;
CrPanLimitMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,13 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPanPositionStatus {
CrPanPositionStatus_Idle(0x0001),
CrPanPositionStatus_Moving(0x0002),
CrPanPositionStatus_Unknown(0x0003),
CrPanPositionStatus_Uninitialized(0x0004);
private final CrInt16u value;
CrPanPositionStatus(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,10 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPanTiltAccelerationRampCurve {
CrPanTiltAccelerationRampCurve_Invalid(0x00);
private final CrInt8u value;
CrPanTiltAccelerationRampCurve(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPostViewTransferResourceStatus {
CrPostViewTransferResourceStatus_Available(0x01),
CrPostViewTransferResourceStatus_Unavailable(CrPostViewTransferResourceStatus_Available.getValue() + 1);
private final CrInt8u value;
CrPostViewTransferResourceStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,10 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPresetPTZFSettingType {
CrPresetPTZFSettingType_current(0x01);
private final CrInt8u value;
CrPresetPTZFSettingType(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPresetPTZFThumbnail {
CrPresetPTZFThumbnail_Off(0x00),
CrPresetPTZFThumbnail_On(0x01);
private final CrInt8u value;
CrPresetPTZFThumbnail(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrProductShowcaseSet {
CrProductShowcaseSet_Off(0x01),
CrProductShowcaseSet_On(CrProductShowcaseSet_Off.getValue() + 1);
private final CrInt8u value;
CrProductShowcaseSet(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrProgramShiftStatus {
CrProgramShiftStatus_Idle(0x01),
CrProgramShiftStatus_ProgramShift(CrProgramShiftStatus_Idle.getValue() + 1);
private final CrInt8u value;
CrProgramShiftStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPushAFModeSetting {
CrPushAFModeSetting_ContinuousShotAF_C(0x01),
CrPushAFModeSetting_SingleShotAF_S(CrPushAFModeSetting_ContinuousShotAF_C.getValue() + 1);
private final CrInt8u value;
CrPushAFModeSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

11
src/CRSDK/CrPushAGC.java Normal file
View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPushAGC {
CrPushAGC_Up(0x0001),
CrPushAGC_Down(CrPushAGC_Up.getValue() + 1);
private final CrInt16u value;
CrPushAGC(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPushAutoFocus {
CrPushAutoFocus_Up(0x0001),
CrPushAutoFocus_Down(CrPushAutoFocus_Up.getValue() + 1);
private final CrInt16u value;
CrPushAutoFocus(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPushAutoIris {
CrPushAutoIris_Up(0x0001),
CrPushAutoIris_Down(CrPushAutoIris_Up.getValue() + 1);
private final CrInt16u value;
CrPushAutoIris(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrPushAutoNDFilter {
CrPushAutoNDFilter_Up(0x0001),
CrPushAutoNDFilter_Down(CrPushAutoNDFilter_Up.getValue() + 1);
private final CrInt16u value;
CrPushAutoNDFilter(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrSQModeSetting {
CrSQModeSetting_Off(0x01),
CrSQModeSetting_On(CrSQModeSetting_Off.getValue() + 1);
private final CrInt8u value;
CrSQModeSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrShootingSelfTimerStatus {
CrShootingSelfTimerStatus_Idle(0x01),
CrShootingSelfTimerStatus_CountingDown(CrShootingSelfTimerStatus_Idle.getValue() + 1);
private final CrInt8u value;
CrShootingSelfTimerStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrShutterSelectMode {
CrShutterSelectMode_Step(0x01),
CrShutterSelectMode_Continue(CrShutterSelectMode_Step.getValue() + 1);
private final CrInt8u value;
CrShutterSelectMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrSignalShootingTimingPreNotificationMode {
CrSignalShootingTimingPreNotification_Off(0x01),
CrSignalShootingTimingPreNotification_On(CrSignalShootingTimingPreNotification_Off.getValue() + 1);
private final CrInt8u value;
CrSignalShootingTimingPreNotificationMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrSimulRecSetting {
CrSimulRecSetting_OFF(0x01),
CrSimulRecSetting_ON(CrSimulRecSetting_OFF.getValue() + 1);
private final CrInt8u value;
CrSimulRecSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrSimulRecSettingMovieRecButton {
CrSimulRecSettingMovieRecButton_SlotAB_SlotAB(0x01),
CrSimulRecSettingMovieRecButton_SlotA_SlotB(CrSimulRecSettingMovieRecButton_SlotAB_SlotAB.getValue() + 1),
CrSimulRecSettingMovieRecButton_SlotB_SlotA(CrSimulRecSettingMovieRecButton_SlotAB_SlotAB.getValue() + 2);
private final CrInt8u value;
CrSimulRecSettingMovieRecButton(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrSlotNumber {
CrSlotNumber_Slot1(0x00000001),
CrSlotNumber_Slot2(CrSlotNumber_Slot1.getValue() + 1);
private final CrInt32u value;
CrSlotNumber(int value) { this.value = new CrInt32u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrTiltLimitMode {
CrTiltLimitMode_Off(0x01),
CrTiltLimitMode_On(0x02);
private final CrInt8u value;
CrTiltLimitMode(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,13 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrTiltPositionStatus {
CrTiltPositionStatus_Idle(0x0001),
CrTiltPositionStatus_Moving(0x0002),
CrTiltPositionStatus_Unknown(0x0003),
CrTiltPositionStatus_Uninitialized(0x0004);
private final CrInt16u value;
CrTiltPositionStatus(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrTouchFunctionInMF {
CrTouchFunctionInMF_TrackingAF(0x01),
CrTouchFunctionInMF_SpotFocus(CrTouchFunctionInMF_TrackingAF.getValue() + 1);
private final CrInt8u value;
CrTouchFunctionInMF(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrTrackingOnAndAFOnEnableStatus {
CrTrackingOnAndAFOnEnableStatus_Disable(0x00),
CrTrackingOnAndAFOnEnableStatus_Enable(CrTrackingOnAndAFOnEnableStatus_Disable.getValue() + 1);
private final CrInt8u value;
CrTrackingOnAndAFOnEnableStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,10 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrUploadPartialDataType {
CrUploadPartialDataType_FirmwareData(0x00050001);
private final CrInt32u value;
CrUploadPartialDataType(int value) { this.value = new CrInt32u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,13 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrUserBaseLookOutput {
CrUserBaseLookOutput_BT709(0x0001),
CrUserBaseLookOutput_BT709_Legal(CrUserBaseLookOutput_BT709.getValue() + 1),
CrUserBaseLookOutput_HLG(0x0101),
CrUserBaseLookOutput_HLG_Legal(CrUserBaseLookOutput_HLG.getValue() + 1);
private final CrInt16u value;
CrUserBaseLookOutput(int value) { this.value = new CrInt16u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrWhiteBalanceOffsetSetting {
CrWhiteBalanceOffsetSetting_Off(0x01),
CrWhiteBalanceOffsetSetting_On(CrWhiteBalanceOffsetSetting_Off.getValue() + 1);
private final CrInt8u value;
CrWhiteBalanceOffsetSetting(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,12 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrWhiteBalanceSwitch {
CrWhiteBalanceSwitch_PresetMode(0x01),
CrWhiteBalanceSwitch_MemoryAMode(CrWhiteBalanceSwitch_PresetMode.getValue() + 1),
CrWhiteBalanceSwitch_MemoryBMode(CrWhiteBalanceSwitch_PresetMode.getValue() + 2);
private final CrInt8u value;
CrWhiteBalanceSwitch(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}

View File

@@ -0,0 +1,11 @@
package CRSDK;
@SuppressWarnings("unused")
public enum CrZoomDrivingStatus {
CrZoomDrivingStatus_NotDriving(0x01),
CrZoomDrivingStatus_Driving(CrZoomDrivingStatus_NotDriving.getValue() + 1);
private final CrInt8u value;
CrZoomDrivingStatus(int value) { this.value = new CrInt8u(value); }
public int getValue() { return value.intValue(); }
}