# tdengine-neuron **Repository Path**: li-sanshi/tdengine-neuron ## Basic Information - **Project Name**: tdengine-neuron - **Description**: 在TDengine上配置neuron对应关系表 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-11-04 - **Last Updated**: 2023-04-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue, TDengine ## README # tdengine-config ## 拉包 ```shell npm install ``` ***请先删除package-lock.json文件*** ### 运行 ```shell npm run serve ``` ### 打包 ```shell npm run build ``` ***修改vue.config.js文件中的tdengine地址*** #### 数据库,一定要设置 update 1 (create database [database_name] update 1) ```shell name: test created_time: 2022-11-02 16:14:30.905 ntables: 4 vgroups: 1 replica: 1 quorum: 1 days: 10 keep: 3650 cache(MB): 16 blocks: 6 minrows: 100 maxrows: 4096 wallevel: 1 fsync: 3000 comp: 2 cachelast: 0 precision: ms update: 1 status: ready ``` #### 点位配置表 ```shell taos> desc ttag; Field | Type | Length | Note | ================================================================================= ts | TIMESTAMP | 8 | | tagname | NCHAR | 100 | | receivename | NCHAR | 100 | | neuron | NCHAR | 50 | | nhost | NCHAR | 50 | | node | NCHAR | 50 | | groupname | NCHAR | 50 | | ``` #### neuron汇总表 ```shell taos> desc tneuron; Field | Type | Length | Note | ================================================================================= ts | TIMESTAMP | 8 | | neuron | NCHAR | 50 | | nhost | NCHAR | 50 | | ```