mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
@@ -9,6 +9,8 @@ import { GiHeatHaze } from 'react-icons/gi';
|
||||
import { TiFlowSwitch } from 'react-icons/ti';
|
||||
import { VscVmConnect } from 'react-icons/vsc';
|
||||
import { AiOutlineGateway } from 'react-icons/ai';
|
||||
import { AiOutlineAlert } from 'react-icons/ai';
|
||||
import { AiOutlineChrome } from 'react-icons/ai';
|
||||
|
||||
interface DeviceIconProps {
|
||||
type: string;
|
||||
@@ -34,6 +36,10 @@ const DeviceIcon: FC<DeviceIconProps> = ({ type }) => {
|
||||
return <VscVmConnect />;
|
||||
case 'Gateway':
|
||||
return <AiOutlineGateway />;
|
||||
case 'Alert':
|
||||
return <AiOutlineAlert />;
|
||||
case 'Pump':
|
||||
return <AiOutlineChrome />;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ export const DeviceValueUOM_s = [
|
||||
'Wh',
|
||||
'hours',
|
||||
'minutes',
|
||||
'uA',
|
||||
'µA',
|
||||
'bar',
|
||||
'kW',
|
||||
'W',
|
||||
@@ -201,8 +201,8 @@ export const DeviceValueUOM_s = [
|
||||
'dBm',
|
||||
'°F',
|
||||
'mV',
|
||||
'sqm',
|
||||
'm3',
|
||||
'm²',
|
||||
'm³',
|
||||
'l'
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user