Package io.openems.common.types
Interface OptionsEnum
- All Known Implementing Classes:
AbstractForceChargeDischarge.State
,ActivePowerControlMode
,AppModeIndex
,ArcSelfCheckStatus
,AutoSetFunction
,AutoSetFunction
,AvailableState
,BatteryCurrentDirection
,BatteryGroupState
,BatteryGroupState
,BatteryMaintenanceState
,BatteryMode
,BatteryProtocol
,BatteryStatus
,BatteryStringSwitchState
,BatteryStringWorkState
,BatteryWorkState
,Baudrate
,BlackStartMode
,BmsDcdcWorkMode
,BmsDcdcWorkState
,BmsProtocolSelection
,BmsState
,BmsStateCommand
,BsmuWorkState
,CableState
,CcuState
,ChargeIndication
,ChargeMode
,ChargePointState
,ChargeState
,ChargeState
,ChargingType
,ClusterRunState
,ClusterRunState
,ClusterRunState
,ClusterStartStop
,ComMode
,Conn
,ContactExport
,ContactorControl
,ContactorControl
,ContactorControl
,ContactorState
,ControlMode
,ControlMode
,ControlMode
,CpldWarningCode
,CpuType
,CycleOrder
,DcVoltageLevel
,DebugRunState
,DefaultSunSpecModel.S101_Evt1
,DefaultSunSpecModel.S101_St
,DefaultSunSpecModel.S102_Evt1
,DefaultSunSpecModel.S102_St
,DefaultSunSpecModel.S103_Evt1
,DefaultSunSpecModel.S103_St
,DefaultSunSpecModel.S111_Evt1
,DefaultSunSpecModel.S111_St
,DefaultSunSpecModel.S112_Evt1
,DefaultSunSpecModel.S112_St
,DefaultSunSpecModel.S113_Evt1
,DefaultSunSpecModel.S113_St
,DefaultSunSpecModel.S120_DERTyp
,DefaultSunSpecModel.S121_ClcTotVA
,DefaultSunSpecModel.S121_ConnPh
,DefaultSunSpecModel.S121_VArAct
,DefaultSunSpecModel.S122_ECPConn
,DefaultSunSpecModel.S122_PVConn
,DefaultSunSpecModel.S122_RtSt
,DefaultSunSpecModel.S122_StActCtl
,DefaultSunSpecModel.S122_StorConn
,DefaultSunSpecModel.S122_StSetLimMsk
,DefaultSunSpecModel.S123_Conn
,DefaultSunSpecModel.S123_OutPFSet_Ena
,DefaultSunSpecModel.S123_VArPct_Ena
,DefaultSunSpecModel.S123_VArPct_Mod
,DefaultSunSpecModel.S123_WMaxLim_Ena
,DefaultSunSpecModel.S124_ChaGriSet
,DefaultSunSpecModel.S124_ChaSt
,DefaultSunSpecModel.S124_StorCtl_Mod
,DefaultSunSpecModel.S125_ModEna
,DefaultSunSpecModel.S125_SigType
,DefaultSunSpecModel.S127_HysEna
,DefaultSunSpecModel.S127_ModEna
,DefaultSunSpecModel.S128_ArGraMod
,DefaultSunSpecModel.S128_ModEna
,DefaultSunSpecModel.S2_Ctl
,DefaultSunSpecModel.S2_Evt
,DefaultSunSpecModel.S2_St
,DefaultSunSpecModel.S201_Evt
,DefaultSunSpecModel.S202_Evt
,DefaultSunSpecModel.S203_Evt
,DefaultSunSpecModel.S204_Evt
,DefaultSunSpecModel.S64110_Alarm_email_en
,DefaultSunSpecModel.S64110_Log_mode
,DefaultSunSpecModel.S64110_NTP_enable
,DefaultSunSpecModel.S64110_SMTP_enable_SSL
,DefaultSunSpecModel.S64111_ChargerSt
,DefaultSunSpecModel.S64112_CC_Config_auto_restart
,DefaultSunSpecModel.S64112_CC_Config_AUX_control
,DefaultSunSpecModel.S64112_CC_Config_AUX_mode
,DefaultSunSpecModel.S64112_CC_Config_AUX_polarity
,DefaultSunSpecModel.S64112_CC_Config_AUX_state
,DefaultSunSpecModel.S64112_CC_Config_grid_tie
,DefaultSunSpecModel.S64112_CC_Config_MPPT_mode
,DefaultSunSpecModel.S64112_CC_Config_sweep_max
,DefaultSunSpecModel.S64112_CC_Config_sweep_width
,DefaultSunSpecModel.S64112_CC_Config_temp_comp
,DefaultSunSpecModel.S802_ChaSt
,DefaultSunSpecModel.S802_Evt1
,DefaultSunSpecModel.S802_LocRemCtl
,DefaultSunSpecModel.S802_ReqInvState
,DefaultSunSpecModel.S802_SetInvState
,DefaultSunSpecModel.S802_SetOp
,DefaultSunSpecModel.S802_State
,DefaultSunSpecModel.S802_Typ
,DelayChargeState
,DerTyp
,DiagnosticStatusHigh
,DiagnosticStatusLow
,DredCmd
,DredOffgridCheck
,EhBatteryFunctionActive
,EmsBaudrate
,EmsCheck
,EmsPowerMode
,EnableCurve
,Enums.ClusterRunState
,Epo
,ErrorBits1
,ErrorBits2
,ErrorCode
,Errors
,EvcsClusterStatus
,Event1
,EvseErrorCode
,EvseState
,ExternalEmsFlag
,EzloggerProCommStatus
,FanStatus
,FeedInPowerSettings.FixedPowerFactor
,FrequencyVariationRate
,GoodweGridMeterType
,GoodweType
,GridconState
,GridMode
,GridProtect
,GridType
,GridWaveCheckLevel
,InfoBits
,InterfaceType
,InverterState
,InverterStatus
,KacoSunSpecModel.S64201.S64201ControlMode
,KacoSunSpecModel.S64201.S64201CurrentState
,KacoSunSpecModel.S64201.S64201ErrPcu
,KacoSunSpecModel.S64201.S64201RequestedState
,KacoSunSpecModel.S64201.S64201StPcu
,KacoSunSpecModel.S64201.S64201StPu
,KacoSunSpecModel.S64201.S64201StVnd
,KacoSunSpecModel.S64201.S64201VarParamEna
,KacoSunSpecModel.S64201.S64201WParamEna
,KacoSunSpecModel.S64202.S64202EnLimit
,KacoSunSpecModel.S64203.S64203EmsErrCode
,KacoSunSpecModel.S64204.S64204OffsetEna
,LedState
,Level
,Level
,LoadMode
,LoadRegulationIndex
,LocRemCtl
,MeterCommunicateStatus
,MeterConnectCheckFlag
,Mode
,Mode
,ModulePowerLevel
,MpptShadowScanEnable
,OnGridState
,OnOffGridState
,OperatingModeForActivePowerLimitation
,OperatingState
,OperationHealth
,OperationMode
,OperationMode
,OutPfSetEna
,OutputTypeAC
,PControlMode
,PcsMode
,PcsMode
,PcsOperationState
,PcsSetOperation
,PhaseAngleAbrupt
,Phases
,PLimitType
,Plug
,PowerCircuitControl
,PowerManagementConfiguration
,PowerRisingMode
,PowerSupplyStatus
,PreChargeControl
,PreContactorState
,Priority
,ProtocolSelection
,PvMode
,RackUsage
,ReactivePowerControlMode
,RotationField
,RunningState
,SafetyCountry
,SelectedConnector
,SellToGridLimitState
,SetControlMode
,SetSystemWorkstate
,SetupMode
,SetupMode
,SetWorkState
,SetWorkState
,SetWorkState
,ShortCircuitFunction
,SinexcelGridMode
,SinexcelState
,SinglePhaseMode
,Sleep
,SolverStrategy
,StableVersion
,StackChargeState
,StartCancelChargingSession
,StartMode
,StartStop
,State
,State
,State
,State
,State
,State
,State
,State
,State
,State
,StateMachine
,StateMachine.OffGridState
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,StateMachine.State
,Status
,Status
,Status
,Status
,StatusIpuStateMachine
,StatusIpuStatusMcu
,SurplusFeedInStateMachine
,Switch
,SystemManufacturer
,SystemReset
,SystemRunMode
,SystemState
,SystemState
,SystemState
,SystemState
,SystemState
,SystemType
,SystemWorkmode
,SystemWorkstate
,TemperaturePosition
,UpsStandartVoltType
,VArPctEna
,VectisStatus
,VendorOperatingState
,WarningBits1
,WarningBits2
,WifiOrLan
,WMaxLimEna
,WorkMode
,WorkMode
,WorkWeek
,ZvrtConfig
public interface OptionsEnum
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Gets the name in CamelCase format.getName()
Gets this enums String representation.Gets the enum that is used for 'UNDEFINED' values.int
getValue()
Gets this enums int representation.default boolean
Gets whether the current enum represents the 'UNDEFINED' value.
-
Method Details
-
getValue
int getValue()Gets this enums int representation.- Returns:
- the int representation
-
getName
String getName()Gets this enums String representation.- Returns:
- the String representation
-
getUndefined
OptionsEnum getUndefined()Gets the enum that is used for 'UNDEFINED' values.- Returns:
- the UNDEFINED enum
-
asCamelCase
Gets the name in CamelCase format.If
getName()
returns 'MY_VALUE' this method returns 'MyValue'.- Returns:
- the Name in CamelCase format
-
isUndefined
default boolean isUndefined()Gets whether the current enum represents the 'UNDEFINED' value.- Returns:
- true if this is the UNDEFINED enum
-