MeterType

data class MeterType(val id: String, val description: String, val imageResource: String)

Describes a power meter type (id & description) and its image file for the frontend.

Constructors

Link copied to clipboard
constructor(id: String, description: String, imageResource: String)

Properties

Link copied to clipboard

Description of the power meter type

Link copied to clipboard
val id: String

ID of the meter type

Link copied to clipboard

Associated image resource for displaying it in the UI

Functions

Link copied to clipboard
open override fun toString(): String