Uses of Enum Class
com.storedobject.iot.PeriodType
Packages that use PeriodType
-
Uses of PeriodType in com.storedobject.iot
Classes in com.storedobject.iot with type parameters of type PeriodTypeModifier and TypeClassDescriptionclass
Consumption<P extends PeriodType>
Represents consumption data associated with a specific resource, item, and a time period.class
Statistics<P extends PeriodType>
Represents statistical data pertaining to units and periods.Methods in com.storedobject.iot that return PeriodTypeModifier and TypeMethodDescriptionabstract PeriodType
Consumption.getPeriodType()
Retrieves the type of period associated with the consumption instance.DailyConsumption.getPeriodType()
Retrieves the period type for this consumption instance.DailyStatistics.getPeriodType()
Retrieves the type of period represented by this instance.HourlyConsumption.getPeriodType()
Retrieves the type of period associated with this instance.HourlyStatistics.getPeriodType()
Retrieves the type of period for the current statistics instance.MonthlyConsumption.getPeriodType()
MonthlyStatistics.getPeriodType()
Retrieves the type of period associated with this statistical data.abstract PeriodType
Statistics.getPeriodType()
Retrieves the period type associated with the statistics instance.WeeklyConsumption.getPeriodType()
Retrieves the period type associated with the weekly consumption data.WeeklyStatistics.getPeriodType()
Retrieves the type of period associated with this instance of WeeklyStatistics.YearlyConsumption.getPeriodType()
Retrieves the period type associated with the yearly consumption.YearlyStatistics.getPeriodType()
Retrieves the type of period associated with this instance.Period.periodType()
Returns the value of theperiodType
record component.static PeriodType
Returns the enum constant of this class with the specified name.static PeriodType[]
PeriodType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.storedobject.iot with parameters of type PeriodTypeModifier and TypeMethodDescriptionData.getStateChanged
(Class<D> dataClass, Id unitId, String variable, PeriodType periodType, int periodCount, boolean toTrue) Determines the state changes of a specific variable within a given period of time.static <D extends Data>
intData.getValueCount
(Class<D> dataClass, Id unitId, String variable, int value, PeriodType periodType, int periodCount) Calculates the number of occurrences of a specific variable with a given value for a specified data class and unit within a defined time period.Data.getValueDifference
(Class<D> dataClass, Id unitId, String variable, PeriodType periodType, int periodCount) Calculates the difference in the values of a specified variable for a given data class and unit within a specified time period.Constructors in com.storedobject.iot with parameters of type PeriodTypeModifierConstructorDescriptionPeriod
(PeriodType periodType, int year, int period) Creates an instance of aPeriod
record class.