Uses of Class
com.storedobject.iot.Unit
Packages that use Unit
-
Uses of Unit in com.storedobject.iot
Subclasses of Unit in com.storedobject.iotFields in com.storedobject.iot declared as UnitMethods in com.storedobject.iot that return UnitModifier and TypeMethodDescriptionstatic Unit
Retrieves a Unit instance that matches the given name.AQI.getUnit()
Command.getUnit()
final Unit
Data.getUnit()
Get the unit to which this data belong to.final Unit
DataSet.DataStatus.getUnit()
Retrieves the unit associated with the current data status.DataSet.UnitData.getUnit()
Statistics.getUnit()
Retrieves the unit associated with this instance based on theunitId
.UnitItem.getUnit()
protected Unit
SuperUnit.getUnitForStatistics
(String name) Methods in com.storedobject.iot that return types with arguments of type UnitModifier and TypeMethodDescriptionData.getUnitClass()
Get the Unit's class for this data instance.Data.getUnitClass
(Class<? extends Data> dataClass) Get the Unit's class for the given data class.UnitDefinition.getUnitClass()
UnitType.getUnitClass()
ValueDefinition.getUnitClass()
static ObjectIterator
<? extends Unit> Lists theUnit
objects based on the given name.SuperUnit.listAllChildren()
SuperUnit.listImmediateChildren()
Block.listUnits()
Retrieves an iterator of units associated with the block.Methods in com.storedobject.iot with parameters of type UnitModifier and TypeMethodDescriptionValueDefinition.getCaption
(Unit unit) int
int
ValueDefinition.getTooltip
(Unit unit) void
ValueDefinition.savePosition
(Transaction t, int imageX, int imageY, Unit unit) void
final void
Set the unit of this IoT object.void
Assigns the given Unit to this Statistics instance by extracting its identifier.void
Method parameters in com.storedobject.iot with type arguments of type UnitModifier and TypeMethodDescriptionstatic <I extends Index>
Istatic UnitItemType
UnitItemType.create
(TransactionManager tm, Class<? extends Unit> uClass) static UnitType
UnitType.create
(TransactionManager tm, Class<? extends Unit> uClass) static UnitDefinition
static UnitItemType
static UnitType
Constructors in com.storedobject.iot with parameters of type UnitModifierConstructorDescriptionprotected
DataStatus
(Unit unit, ValueDefinition<V> valueDefinition) protected
-
Uses of Unit in com.storedobject.ui.iot
Methods in com.storedobject.ui.iot that return UnitModifier and TypeMethodDescriptionGUI.getUnit()
Retrieves the currently set unit.Data4Unit.unit()
Returns the value of theunit
record component.Methods in com.storedobject.ui.iot with parameters of type UnitModifier and TypeMethodDescriptionboolean
Checks if the specified unit is present in the collection of units.protected void
Renders or updates the visual representation of the given unit.static void
Data4Unit.process
(Unit unit, Collection<ValueDefinition> valueDefinitions, TimestampPeriod period, long timeSlice, Consumer<Data4Unit> processor) protected void
DownloadData.process
(Unit unit, Collection<ValueDefinition> valueDefinitions) protected void
SelectData.process
(Unit unit, Collection<ValueDefinition> valueDefinitions) protected abstract void
CommandSelector.processCommandFor
(Unit unit, ValueDefinition<?> valueDefinition) protected void
SendCommand.processCommandFor
(Unit unit, ValueDefinition<?> valueDefinition) protected void
ViewCommandHistory.processCommandFor
(Unit unit, ValueDefinition<?> valueDefinition) void
Sets the current unit for the GUI instance.Constructors in com.storedobject.ui.iot with parameters of type UnitModifierConstructorDescriptionCommandSelector
(Unit unit, ValueDefinition valueDefinition) Data4Unit
(Class<? extends Data> dataClass, Unit unit, TimestampPeriod period, long timeSlice, Collection<String> attributes) Creates an instance of aData4Unit
record class.SendCommand
(Consumer<Command> sendAction, Unit unit, ValueDefinition valueDefinition)