智能调度系统线网图工程规范
智能调度系统线网图工程规范
总体思路
- 总体要求:约定大于配置;
- 图层约定:图层深度
<= 3
,按约定自动标注; - 名称约定:见名知意,拼写简单,小驼峰命名法;
- 标注约定:使用#连接,按约定自动标注;
- 高效便捷:尽可能少动手编辑。
细节说明
图层约定:
- 一级目录名称即为图层名称;
- 一级目录与下面所有子孙节点属同一图层。
标签约定:
- 叶节点名称范围为类型名:
type = block|text|shape|edge|node|data
; - 3层:根节点统一为
root
,一级目录统一为indicator#${一级目录名称}
,二级目录统一为line#${二级目录名称}
,叶节点为${type}
; - 2层:根节点统一为
root
,一级目录统一为indicator#${一级目录名称}
,叶节点为${type}
; - 1层:根节点统一为
root
,叶节点为${type}
。
- 叶节点名称范围为类型名:
名称约定:
- 车站:车站真实名称;
- 区间:
${车站名称}-${车站名称}
; - 工程与基准对比:工具排序,名称校验,不一致弹窗提示;
- 基准文件维护办法:后面开发可视化界面由工程人员维护;?
- 工程化:后期使用工程化手段自动创建。?
元素标注:
- 名称命名:
项目-名称:sycocc#waterPump
。 - 类型命名:
waterPump、fire、train、deviceAlarm
。
- 名称命名:
图纸结构名称约定与说明
每级命名---------------------------------------名称说明
net ──────────────────────────────────────线网图根节点
├─line ──────────────────────────────────────基础线路指标
├─intervalLine ──────────────────────────────────────线路区间指标
├─contactLine ──────────────────────────────────────接触轨线指标
├─station ──────────────────────────────────────车站指标
├─powerConsumption ──────────────────────────────────────车站能耗指标
├─stationDensity ──────────────────────────────────────车站密集度指标
├─passengerFlow ──────────────────────────────────────进站客流指标
├─power ──────────────────────────────────────变电主所指标
├─intervalFire ──────────────────────────────────────区间火灾指标
├─waterPump ──────────────────────────────────────区间水泵指标
├─deviceAlarm ──────────────────────────────────────车站设备报警指标
├─od ──────────────────────────────────────OD指标
├─train ──────────────────────────────────────行车指标
├─message ──────────────────────────────────────消息框
└─other ──────────────────────────────────────其他
每级命名--------------------------------------------------标签说明
net ──────────────────────────────────────────────────{root}
├─line ───────────────────────────────────────────{indicator#line}
│ ├─[00,01,02,......] ──────────────────────────{line#01}
│ ├─[shape00,shape01,shape02,......] ──────────{shape#01}
│ ├─[node00,node01,node02,......] ─────────────{node#01}
│
├─intervalLine ──────────────────────────────────{indicator#intervalLine}
│ ├─[00,01,02,......] ────────────────────────────{line#02}
│ ├─[shape01,shape02,shape03,......] ──────────{shape#02}
│
├─contactLine ─────────────────────────────────────{indicator#contactLine}
│ ├─[00,01,02,......] ────────────────────────────{line#02}
│ ├─[shape01,shape02,shape03,......] ──────{shape#02}
│
├─station ──────────────────────────────────────────{indicator#station}
│ ├─[00,01,02,......] ─────────────────────────────{line#02}
│ ├─[node01,node02,node03,......] ────────────{node#01}
│ ├─[text01,text02,text03,......] ───────────{text#01}
│
├─powerConsumption ─────────────────────────────{indicator#powerConsumption}
│ ├─[00,01,02,......] ────────────────────────────{line#02}
│ ├─[node01,node02,node03,......] ──────────────{node#01}
│
├─stationDensity ─────────────────────────────{indicator#stationDensity}
│ ├─[00,01,02,......] ────────────────────────────{line#02}
│ ├─[node01,node02,node03,......] ──────────────{node#01}
│
├─passengerFlow ─────────────────────────────{indicator#passengerFlow}
│ ├─[00,01,02,......] ────────────────────────────{line#02}
│ ├─[node01,node02,node03,......] ──────────────{node#01}
│
├─power ───────────────────────────────────────────{indicator#power}
│ ├─[00,01,02,......] ────────────────────────────{line#02}
│ ├─[node01,node02,node03,......] ──────────────{node#01}
│ ├─[text01,text02,text03,......] ──────────────{text#01}
│ ├─[shape01,shape02,shape03,......] ───────────{shape#01}
│
├─intervalFire ─────────────────────────────────{indicator#intervalFire}
├─waterPump
├─od
├─train
├─message
└─source
图纸标签标识法(简单项目)
net ──────────────────────────────────────────────────{root}
├─line ───────────────────────────────────────────{indicator#line}
│ ├─[00,01,02,......] ──────────────────────────{line#01}
│ ├─[shape00,shape01,shape02,......] ──────────{shape#01}
│ ├─[node00,node01,node02,......] ─────────────{node#01}
├─station ──────────────────────────────────────────{indicator#station}
│ ├─[00,01,02,......] ─────────────────────────────{line#02}
│ ├─[node01,node02,node03,......] ────────────{node#01}
│ ├─[text01,text02,text03,......] ───────────{text#01}
├─od
├─message
└─element
元素标签:Lmap#Line#${lineName}#InStation#${index}#Up
|Lmap#Line#${lineName}#InInterval#${index}#Up