|
@@ -1,4 +1,4 @@
|
|
|
-import { Col, message, Row } from 'antd';
|
|
|
|
|
|
|
+import { Col, Row, Tooltip, message } from 'antd';
|
|
|
import { PermissionButton } from '@/components';
|
|
import { PermissionButton } from '@/components';
|
|
|
import { Body, Guide } from '../components';
|
|
import { Body, Guide } from '../components';
|
|
|
import Statistics from '../components/Statistics';
|
|
import Statistics from '../components/Statistics';
|
|
@@ -7,6 +7,7 @@ import { getMenuPathByCode, MENUS_CODE } from '@/utils/menu';
|
|
|
import { useHistory } from '@/hooks';
|
|
import { useHistory } from '@/hooks';
|
|
|
import { service } from '..';
|
|
import { service } from '..';
|
|
|
import { useEffect, useState } from 'react';
|
|
import { useEffect, useState } from 'react';
|
|
|
|
|
+import { QuestionCircleOutlined } from '@ant-design/icons';
|
|
|
|
|
|
|
|
const Device = () => {
|
|
const Device = () => {
|
|
|
const productPermission = PermissionButton.usePermission('device/Product').permission;
|
|
const productPermission = PermissionButton.usePermission('device/Product').permission;
|
|
@@ -135,7 +136,45 @@ const Device = () => {
|
|
|
<Body title={'平台架构图'} english={'PLATFORM ARCHITECTURE DIAGRAM'} />
|
|
<Body title={'平台架构图'} english={'PLATFORM ARCHITECTURE DIAGRAM'} />
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col span={24}>
|
|
<Col span={24}>
|
|
|
- <Steps />
|
|
|
|
|
|
|
+ <Steps
|
|
|
|
|
+ title={
|
|
|
|
|
+ <span>
|
|
|
|
|
+ 设备接入推荐步骤
|
|
|
|
|
+ <Tooltip title={'不同的设备因为通信协议的不用,存在接入步骤的差异'}>
|
|
|
|
|
+ <QuestionCircleOutlined style={{ paddingLeft: 12 }} />
|
|
|
|
|
+ </Tooltip>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ }
|
|
|
|
|
+ data={[
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '创建产品',
|
|
|
|
|
+ content:
|
|
|
|
|
+ '产品是设备的集合,通常指一组具有相同功能的设备。物联设备必须通过产品进行接入方式配置。',
|
|
|
|
|
+ onClick: () => {},
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '配置产品接入方式',
|
|
|
|
|
+ content:
|
|
|
|
|
+ '通过产品对同一类型的所有设备进行统一的接入方式配置。请参照设备铭牌说明选择匹配的接入方式。',
|
|
|
|
|
+ onClick: () => {},
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '添加测试设备',
|
|
|
|
|
+ content: '添加单个设备,用于验证产品模型是否配置正确。',
|
|
|
|
|
+ onClick: () => {},
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '功能调试',
|
|
|
|
|
+ content: '对添加的测试设备进行功能调试,验证能否连接到平台,设备功能是否配置正确。',
|
|
|
|
|
+ onClick: () => {},
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: '批量添加设备',
|
|
|
|
|
+ content: '批量添加同一产品下的设备',
|
|
|
|
|
+ onClick: () => {},
|
|
|
|
|
+ },
|
|
|
|
|
+ ]}
|
|
|
|
|
+ />
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
);
|
|
);
|