| | |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import * as KioTagApi from '@/api/data/channel/kio/tag' |
| | | import { CommonEnabled } from '@/utils/constants' |
| | | import { CommonEnabledBool } from '@/utils/constants' |
| | | import {isPositiveInteger} from '@/utils/validate' |
| | | import { DICT_TYPE, getStrDictOptions, getBoolDictOptions } from '@/utils/dict' |
| | | |
| | |
| | | dataType: undefined, |
| | | tagId: undefined, |
| | | tagDesc: '', |
| | | enabled: CommonEnabled.ENABLE, |
| | | enabled: CommonEnabledBool.ENABLE, |
| | | device: undefined, |
| | | samplingRate: undefined |
| | | |
| | |
| | | dataType: undefined, |
| | | tagId: undefined, |
| | | tagDesc: '', |
| | | enabled: CommonEnabled.ENABLE, |
| | | enabled: CommonEnabledBool.ENABLE, |
| | | device: undefined, |
| | | samplingRate: undefined |
| | | } |