节点:公共属性抽离
This commit is contained in:
parent
c07681e080
commit
1590808256
@ -178,6 +178,7 @@ import {
|
||||
uploadNodeReq,
|
||||
submitNodeConfigReq,
|
||||
} from '/@/api/backend/node/request'
|
||||
import {protocolList} from '/@/views/backend/node/utils'
|
||||
import { getInstitutionalTreeListReq } from '/@/api/backend/org/request'
|
||||
import { debounce } from 'lodash-es'
|
||||
import ProtocolComponent from './protocol.vue'
|
||||
@ -530,14 +531,6 @@ const getLinkData = (nodeId: string, linkName?: string) => {
|
||||
})
|
||||
}
|
||||
|
||||
const protocolList = [
|
||||
// * 代表需要配置的协议
|
||||
{ label: 'IEC104从 *', value: 9 },
|
||||
{ label: 'MODBUSTCP从 *', value: 17 },
|
||||
{ label: 'MODBUS', value: 80 },
|
||||
{ label: 'ADS', value: 81 },
|
||||
{ label: '故障日志', value: 79 },
|
||||
]
|
||||
|
||||
const protocolPartVisible = ref(false)
|
||||
const protocolDisabled = ref(false)
|
||||
|
@ -1,5 +1,14 @@
|
||||
import { LocaleType, BooleanNumber, SheetTypes } from '@univerjs/core'
|
||||
|
||||
export const protocolList = [
|
||||
// * 代表需要配置的协议
|
||||
{ label: 'IEC104从 *', value: 9 },
|
||||
{ label: 'MODBUSTCP从 *', value: 17 },
|
||||
{ label: 'MODBUS', value: 80 },
|
||||
{ label: 'ADS', value: 81 },
|
||||
{ label: '故障日志', value: 79 },
|
||||
]
|
||||
|
||||
export const excelDefaultConfig: any = {
|
||||
// IEC104从
|
||||
9: {
|
||||
|
Loading…
Reference in New Issue
Block a user