Repair path svg
This commit is contained in:
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/air_dryer_A_rev.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/air_dryer_A_rev.svg';
|
// const filePathSvg = '/src/assets/svg/air_dryer_A_rev.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgAirDryerA = () => {
|
const SvgAirDryerA = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/air_dryer_B_rev.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/air_dryer_B_rev.svg';
|
// const filePathSvg = '/src/assets/svg/air_dryer_B_rev.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgAirDryerB = () => {
|
const SvgAirDryerB = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/air_dryer_C_rev.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/air_dryer_C_rev.svg';
|
// const filePathSvg = '/src/assets/svg/air_dryer_C_rev.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgAirDryerC = () => {
|
const SvgAirDryerC = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgCompressorA = () => {
|
const SvgCompressorA = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgCompressorB = () => {
|
const SvgCompressorB = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgCompressorC = () => {
|
const SvgCompressorC = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import SvgTemplate from './SvgTemplate';
|
import SvgTemplate from './SvgTemplate';
|
||||||
import SvgViewer from './SvgViewer';
|
import SvgViewer from './SvgViewer';
|
||||||
|
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgOverview = () => {
|
const SvgOverview = () => {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import { Card, Typography, Flex } from 'antd';
|
|||||||
// import { ReactSVG } from 'react-svg';
|
// import { ReactSVG } from 'react-svg';
|
||||||
import { setValSvg } from '../../components/Global/MqttConnection';
|
import { setValSvg } from '../../components/Global/MqttConnection';
|
||||||
import { ReactSVG } from 'react-svg';
|
import { ReactSVG } from 'react-svg';
|
||||||
|
import filePathSvg from '../../assets/svg/test-new.svg';
|
||||||
|
|
||||||
const { Text } = Typography;
|
const { Text } = Typography;
|
||||||
|
|
||||||
const filePathSvg = '/src/assets/svg/test-new.svg';
|
// const filePathSvg = '/src/assets/svg/test-new.svg';
|
||||||
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
const topicMqtt = 'PIU_GGCP/Devices/PB';
|
||||||
|
|
||||||
const SvgTest = () => {
|
const SvgTest = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user