ESATypeEnum

enum ESATypeEnum

The type of the ESA.

  • EV supply equipment.

    Declaration

    Swift

    case evse
  • Space heating appliance.

    Declaration

    Swift

    case spaceHeating
  • Water heating appliance.

    Declaration

    Swift

    case waterHeating
  • Space cooling appliance

    Declaration

    Swift

    case spaceCooling
  • Space heating and cooling appliance.

    Declaration

    Swift

    case spaceHeatingCooling
  • Battery electric storage system.

    Declaration

    Swift

    case batteryStorage
  • Solar PV inverter.

    Declaration

    Swift

    case solarPV
  • Refrigerator or freezer.

    Declaration

    Swift

    case fridgeFreezer
  • Washing machine.

    Declaration

    Swift

    case washingMachine
  • Dishwasher

    Declaration

    Swift

    case dishwasher
  • Cooking appliance.

    Declaration

    Swift

    case cooking
  • Home water pump.

    Declaration

    Swift

    case homeWaterPump
  • Irrigation water pump.

    Declaration

    Swift

    case irrigationWaterPump
  • Pool pump.

    Declaration

    Swift

    case poolPump
  • Other appliance type.

    Declaration

    Swift

    case other
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.