openatc-components 0.1.49 → 0.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +4 -4
  2. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +5 -5
  3. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +72 -0
  4. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +4 -5
  5. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +5 -6
  6. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1 -1
  7. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +4 -5
  8. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +5 -5
  9. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +829 -564
  10. package/package/kisscomps/components/overView/index.vue +5 -7
  11. package/package/kissui.min.js +1 -1
  12. package/package.json +1 -1
  13. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +4 -4
  14. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +5 -5
  15. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +72 -0
  16. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +4 -5
  17. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +5 -6
  18. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1 -1
  19. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +4 -5
  20. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +5 -5
  21. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +829 -564
  22. package/src/kisscomps/components/overView/index.vue +5 -7
  23. package/src/node_modules/.package_versions.json +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -37,7 +37,7 @@ export default {
37
37
  controlData: {},
38
38
  crossStatusData: {}, // 路口状态数据
39
39
  detectorStatusData: {}, // 检测器状态数据(包括车辆检测器状态和行人检测器状态)
40
- devStatus: 1,
40
+ // devStatus: 1,
41
41
  isResend: true,
42
42
  intervalFlag: true,
43
43
  phaseControlTimer: null, // 定时器
@@ -102,7 +102,7 @@ export default {
102
102
  registerMessage () {
103
103
  registerMessage(this.AgentId).then(data => {
104
104
  if (!data.data.success) {
105
- this.devStatus = 2
105
+ // this.devStatus = 2
106
106
  let parrenterror = getMessageByCode(data.data.code, this.$i18n.locale)
107
107
  if (data.data.data) {
108
108
  // 子类型错误
@@ -120,7 +120,7 @@ export default {
120
120
  return
121
121
  }
122
122
  this.$emit('registerMessage', data)
123
- this.devStatus = 3
123
+ // this.devStatus = 3
124
124
  this.clearPatternInterval() // 清除其他定时器
125
125
  this.phaseControlTimer = setInterval(() => {
126
126
  if (this.intervalFlag) {
@@ -160,7 +160,7 @@ export default {
160
160
  this.intervalFlag = true
161
161
  if (!data.data.success) {
162
162
  if (data.data.code === '4003') {
163
- this.devStatus = 2
163
+ // this.devStatus = 2
164
164
  this.clearPatternInterval() // 清除其他定时器
165
165
  this.$message.error(getMessageByCode(data.data.code, this.$i18n.locale))
166
166
  if (this.isResend) {
@@ -32,7 +32,7 @@
32
32
  <div class="right-dir-road" v-if="roadDir === 'right'">
33
33
  <div class="centerText" v-if="crossType !== 'Customroads' && isHasPhase">
34
34
  <!-- 相位倒计时 -->
35
- <div class="phaseCountdown" v-show="isShowInterval" v-if="devStatus === 3 && isLoaded && isHasPhase" :class="{'countdownBg': isLoaded}">
35
+ <div class="phaseCountdown" v-show="isShowInterval" v-if="isLoaded && isHasPhase" :class="{'countdownBg': isLoaded}">
36
36
  <div v-for="curPhase in phaseCountdownList" :key="curPhase.id" :style="{color: curPhase.phaseCountdownColor}">
37
37
  <div v-if="curPhase.phaseCountdown !== -1">
38
38
  <span style="float: left;font-size: 20px;color: #fff;width: 70px;">{{$t('openatccomponents.overview.phase')}}{{curPhase.id}}:</span>
@@ -93,7 +93,7 @@
93
93
  <div class="left-dir-road" v-if="roadDir === 'left'">
94
94
  <div class="centerText" v-if="mainType === '100' || mainType === '101'" :class="{'countdownBg': isLoaded}">
95
95
  <!-- 相位倒计时 -->
96
- <div class="phaseCountdown" v-if="devStatus === 3 && isLoaded && isHasPhase">
96
+ <div class="phaseCountdown" v-if="isLoaded && isHasPhase">
97
97
  <div v-for="curPhase in phaseCountdownList" :key="curPhase.id" :style="{color: curPhase.phaseCountdownColor}">
98
98
  <div v-if="curPhase.phaseCountdown !== -1">
99
99
  <span style="float: left;font-size: 20px;color: #fff;width: 70px;">{{$t('openatccomponents.overview.phase')}}{{curPhase.id}}:</span>
@@ -201,9 +201,9 @@ export default {
201
201
  agentId: {
202
202
  type: String
203
203
  },
204
- devStatus: {
205
- type: Number
206
- },
204
+ // devStatus: {
205
+ // type: Number
206
+ // },
207
207
  isShowInterval: {
208
208
  type: Boolean,
209
209
  devault: true
@@ -94,6 +94,78 @@
94
94
  "name": "南北路段人行横道",
95
95
  "x": "310px",
96
96
  "y": "198px"
97
+ },
98
+ {
99
+ "id": 17,
100
+ "name": "东南人行横道",
101
+ "x": "310px",
102
+ "y": "198px"
103
+ },
104
+ {
105
+ "id": 18,
106
+ "name": "西南人行横道",
107
+ "x": "310px",
108
+ "y": "198px"
109
+ },
110
+ {
111
+ "id": 19,
112
+ "name": "东北人行横道",
113
+ "x": "310px",
114
+ "y": "198px"
115
+ },
116
+ {
117
+ "id": 20,
118
+ "name": "西北人行横道",
119
+ "x": "310px",
120
+ "y": "198px"
121
+ },
122
+ {
123
+ "id": 21,
124
+ "name": "东南人行横道-上",
125
+ "x": "310px",
126
+ "y": "198px"
127
+ },
128
+ {
129
+ "id": 22,
130
+ "name": "东南人行横道-下",
131
+ "x": "310px",
132
+ "y": "198px"
133
+ },
134
+ {
135
+ "id": 23,
136
+ "name": "西南人行横道-上",
137
+ "x": "310px",
138
+ "y": "198px"
139
+ },
140
+ {
141
+ "id": 24,
142
+ "name": "西南人行横道-下",
143
+ "x": "310px",
144
+ "y": "198px"
145
+ },
146
+ {
147
+ "id": 25,
148
+ "name": "东北人行横道-上",
149
+ "x": "310px",
150
+ "y": "198px"
151
+ },
152
+ {
153
+ "id": 26,
154
+ "name": "东北人行横道-下",
155
+ "x": "310px",
156
+ "y": "198px"
157
+ },
158
+ {
159
+ "id": 27,
160
+ "name": "西北人行横道-上",
161
+ "x": "310px",
162
+ "y": "198px"
163
+ },
164
+ {
165
+ "id": 28,
166
+ "name": "西北人行横道-下",
167
+ "x": "310px",
168
+ "y": "198px"
97
169
  }
98
170
  ]
99
171
  }
@@ -32,7 +32,6 @@
32
32
  :modeName="modeName"
33
33
  :controlName="controlName"
34
34
  :stateName="stateName"
35
- :devStatus="devStatus"
36
35
  :roadDirection="roadDirection" />
37
36
  </div>
38
37
  </div>
@@ -61,10 +60,10 @@ export default {
61
60
  type: Object,
62
61
  required: true
63
62
  },
64
- devStatus: {
65
- type: Number,
66
- default: 0
67
- },
63
+ // devStatus: {
64
+ // type: Number,
65
+ // default: 0
66
+ // },
68
67
  agentId: {
69
68
  type: String,
70
69
  default: '0'
@@ -15,7 +15,6 @@
15
15
  <IntersectionMap
16
16
  ref="intersectionMap"
17
17
  :crossStatusData="crossStatusData"
18
- :devStatus="devStatus"
19
18
  :agentId="agentId"
20
19
  :graphicMode="true"
21
20
  :roadDirection="roadDirection"
@@ -47,7 +46,7 @@ export default {
47
46
  boxVisible: false,
48
47
  dialogWidth: '100%',
49
48
  crossStatusData: {}, // 路口状态数据
50
- devStatus: 1,
49
+ // devStatus: 1,
51
50
  isResend: true,
52
51
  intervalFlag: true,
53
52
  phaseControlTimer: null, // 定时器
@@ -131,7 +130,7 @@ export default {
131
130
  registerMessage () {
132
131
  registerMessage(this.AgentId).then(data => {
133
132
  if (!data.data.success) {
134
- this.devStatus = 2
133
+ // this.devStatus = 2
135
134
  let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + this.AgentId
136
135
  let msg = getMessageByCode(data.data.code, this.$i18n.locale)
137
136
  if (data.data.data) {
@@ -148,7 +147,7 @@ export default {
148
147
  return
149
148
  }
150
149
  this.$emit('registerMessage', data)
151
- this.devStatus = 3
150
+ // this.devStatus = 3
152
151
  this.clearPatternInterval() // 清除其他定时器
153
152
  this.phaseControlTimer = setInterval(() => {
154
153
  if (this.intervalFlag) {
@@ -158,7 +157,7 @@ export default {
158
157
  })
159
158
  },
160
159
  reSend () { // 设备掉线重连机制
161
- this.devStatus = 1
160
+ // this.devStatus = 1
162
161
  this.clearRegisterMessageTimer()
163
162
  this.registerMessageTimer = setTimeout(() => {
164
163
  this.reconnectionDev()
@@ -189,7 +188,7 @@ export default {
189
188
  if (!data.data.success) {
190
189
  let commomMsg = this.$t('openatccomponents.overview.signalID') + ' : ' + this.AgentId
191
190
  if (data.data.code === '4003') {
192
- this.devStatus = 2
191
+ // this.devStatus = 2
193
192
  this.clearPatternInterval() // 清除其他定时器
194
193
  this.clearVolumeInterval()
195
194
  this.$message.error(getMessageByCode(data.data.code, this.$i18n.locale) + ' - ' + commomMsg)
@@ -21,7 +21,7 @@
21
21
  <div style="cursor:pointer;">
22
22
  <div class="ring-phase">
23
23
  <!-- <patternwalksvg :showWalk="item.peddirection" :Width="'32'" :Height="'34'"></patternwalksvg> -->
24
- <xdrdirselector Width="36px" Height="34px" :showlist="item.direction"></xdrdirselector>
24
+ <xdrdirselector Width="38px" Height="36px" :showlist="item.direction"></xdrdirselector>
25
25
  </div>
26
26
  <div class="box">
27
27
  <div class="ring-nums">P{{item.id}}</div>
@@ -96,7 +96,6 @@
96
96
  :untreatedFault="untreatedFault"
97
97
  :closePhase="closePhase"
98
98
  :agentName="agentName"
99
- :devStatus="devStatus"
100
99
  :agentId="agentId"
101
100
  :crossStatusData="crossStatusData"
102
101
  :phaseList="phaseList"
@@ -158,10 +157,10 @@ export default {
158
157
  type: String,
159
158
  default: ''
160
159
  },
161
- devStatus: {
162
- type: Number,
163
- default: 0
164
- },
160
+ // devStatus: {
161
+ // type: Number,
162
+ // default: 0
163
+ // },
165
164
  agentId: {
166
165
  type: String,
167
166
  default: '0'
@@ -17,7 +17,7 @@
17
17
  <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.crossname')}}:</div>
18
18
  <div style="margin-left: 85px;" class="cross-value">{{agentName}}</div>
19
19
  </div>
20
- <div class="cross-content">
20
+ <!-- <div class="cross-content">
21
21
  <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.divicestate')}}:</div>
22
22
  <div
23
23
  v-show="devStatus===3"
@@ -34,7 +34,7 @@
34
34
  style="margin-left: 85px;"
35
35
  class="cross-value"
36
36
  >{{$t('openatccomponents.overview.onlineing')}}</div>
37
- </div>
37
+ </div> -->
38
38
  <!-- <div class="cross-content"><div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.protocoltype')}}:</div><div style="margin-left: 85px;" class="cross-value">{{protocol}}</div></div> -->
39
39
  <!-- <div class="cross-content"><div style="float: left;" class="cross-name">信号机型号:</div><div style="margin-left: 85px;" class="cross-value">XHJ-CW-GA-KSS100</div></div> -->
40
40
  <div class="cross-content">
@@ -202,9 +202,9 @@ export default {
202
202
  agentName: {
203
203
  type: String
204
204
  },
205
- devStatus: {
206
- type: Number
207
- },
205
+ // devStatus: {
206
+ // type: Number
207
+ // },
208
208
  agentId: {
209
209
  type: String
210
210
  },