class DeviceInfo {
  final String deviceName;
  final String deviceId;
  final String location;
  final String status;
  final String voltage;
  final String current;
  final String power;
  final String temperature;
  final List<int> powerData;
  final List<int> tempData;

  const DeviceInfo({
    required this.deviceName,
    required this.deviceId,
    required this.location,
    required this.status,
    required this.voltage,
    required this.current,
    required this.power,
    required this.temperature,
    required this.powerData,
    required this.tempData,
  });
}

class DeviceState {
  final DeviceInfo deviceInfo;

  const DeviceState({required this.deviceInfo});
}