Commit 82bc48874c6100ad8cede76cbbf771b9d514b6c0
1 parent
3f247354
进站表格式
Showing
1 changed file
with
33 additions
and
9 deletions
README.md
| @@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
| 5 | --------- | 5 | --------- |
| 6 | * [字典表](#怎样使用字典) | 6 | * [字典表](#怎样使用字典) |
| 7 | * [车载 gps 相关数据](#gps) | 7 | * [车载 gps 相关数据](#gps) |
| 8 | - * [实时gps数据接口http](#实时gps接口) | ||
| 9 | - * [进出站数据接口](#进出站数据接口) | 8 | + * [实时gps数据接口 http](#实时gps接口) |
| 9 | + * [进出站数据 mysql 表](#进站数据) | ||
| 10 | 10 | ||
| 11 | ---------- | 11 | ---------- |
| 12 | 12 | ||
| @@ -15,16 +15,16 @@ | @@ -15,16 +15,16 @@ | ||
| 15 | 字典操作全部由前端负责,主要有2种。 | 15 | 字典操作全部由前端负责,主要有2种。 |
| 16 | 16 | ||
| 17 | 1、将字典代码转换为中文 。片段加载完成后,包含 `class="nt-dictionary"` 的标签会被转换,data-group 为所属字典组。 | 17 | 1、将字典代码转换为中文 。片段加载完成后,包含 `class="nt-dictionary"` 的标签会被转换,data-group 为所属字典组。 |
| 18 | -``` html | ||
| 19 | -<!-- 原 --> | 18 | +``` javascript |
| 19 | + | ||
| 20 | <span class="nt-dictionary" data-group="XianLuXingZhi">GJXL</span> | 20 | <span class="nt-dictionary" data-group="XianLuXingZhi">GJXL</span> |
| 21 | 21 | ||
| 22 | -<!-- 转换后 --> | 22 | +--转换后 |
| 23 | <span class="dictionary" data-group="XianLuXingZhi" data-code="GJXL" >过江线路</span> | 23 | <span class="dictionary" data-group="XianLuXingZhi" data-code="GJXL" >过江线路</span> |
| 24 | ``` | 24 | ``` |
| 25 | 2、生成下拉框,当包含`class="nt-dictionary"` 的标签是`select`时。 | 25 | 2、生成下拉框,当包含`class="nt-dictionary"` 的标签是`select`时。 |
| 26 | -``` html | ||
| 27 | -<!-- 原 --> | 26 | +``` javascript |
| 27 | +<!- 原 --> | ||
| 28 | <select class="nt-dictionary" data-group="XianLuXingZhi" data-code="GJXL"></select> | 28 | <select class="nt-dictionary" data-group="XianLuXingZhi" data-code="GJXL"></select> |
| 29 | 29 | ||
| 30 | <!-- 转换后 --> | 30 | <!-- 转换后 --> |
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | 38 | ||
| 39 | ## gps | 39 | ## gps |
| 40 | ---------- | 40 | ---------- |
| 41 | -### 实时gps接口 | 41 | +### 实时gps接口 http |
| 42 | 42 | ||
| 43 | 地址: [http://192.168.168.2:8888](http://192.168.168.2:8888) | 43 | 地址: [http://192.168.168.2:8888](http://192.168.168.2:8888) |
| 44 | 44 | ||
| @@ -59,4 +59,28 @@ | @@ -59,4 +59,28 @@ | ||
| 59 | | timestamp | long | 时间戳 | | 59 | | timestamp | long | 时间戳 | |
| 60 | | speed | float | 速度| | 60 | | speed | float | 速度| |
| 61 | | direction | float | 方向(角度) | | 61 | | direction | float | 方向(角度) | |
| 62 | -| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效)| | ||
| 63 | \ No newline at end of file | 62 | \ No newline at end of file |
| 63 | +| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效)| | ||
| 64 | + | ||
| 65 | + | ||
| 66 | +### 进站数据 | ||
| 67 | +---------- | ||
| 68 | +mysql: | ||
| 69 | +表名: | ||
| 70 | + | ||
| 71 | +| 字段 | 类型 | 备注 | | ||
| 72 | +| ---- | ---- | ---- | | ||
| 73 | +| id | int | ID | | ||
| 74 | +| deviceId | String | 设备号 | | ||
| 75 | +| lineId | int | 线路编码 | | ||
| 76 | +| stopNo | int | 站点编码 | | ||
| 77 | +| timestamp | long | 时间戳 | | ||
| 78 | +| upDown | int | 上下行(0 上行 , 1 下行 , -1 无效) | | ||
| 79 | +| createDate | Date | 创建时间 | | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + | ||
| 83 | + | ||
| 84 | + | ||
| 85 | + | ||
| 86 | + | ||
| 87 | + |