openatc-components 0.1.45 → 0.1.47

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -256,7 +256,23 @@ const en = {
256
256
  'putTscControlError6': 'Cannot be executed, beacuse the user with higher priority is under control',
257
257
  'putTscControlError7': 'The scheme corresponding to the scheme number does not exist',
258
258
  'putTscControlError8': 'Configuration contains green conflicts',
259
- 'putTscControlError20': 'In the provisional scheme, the green signal ratio should be greater than the phase minimum green + yellow light + all red, and less than the maximum green 1+ yellow light + all red',
259
+ 'putTscControlError9': 'Nonexistent intersection number ',
260
+ 'putTscControlError10': 'Non-existent phase number ',
261
+ 'putTscControlError11': 'This user has no permissions ',
262
+ 'putTscControlError12': 'Area or junction does not exist ',
263
+ 'putTscControlError13': 'Invalid operation list number ',
264
+ 'putTscControlError14': 'Failed to read file ',
265
+ 'putTscControlError15': 'Operation list number does not exist ',
266
+ 'putTscControlError16': 'Command error in operation list ',
267
+ 'putTscControlError17': 'Intersection ID does not exist ',
268
+ 'putTscControlError18': 'Different loop periods are inconsistent ',
269
+ 'putTscControlError19': 'Green ratio less than minimum green ',
270
+ 'putTscControlError20': 'green ratio greater than maximum green ',
271
+ 'putTscControlError21': 'Unsupported Phase type ',
272
+ 'putTscControlError22': 'Number of unsupported phases ',
273
+ 'putTscControlError23': 'Control message sending exception ',
274
+ 'putTscControlError99': 'Control exception ',
275
+ // 'putTscControlError20': 'In the provisional scheme, the green signal ratio should be greater than the phase minimum green + yellow light + all red, and less than the maximum green 1+ yellow light + all red',
260
276
  'nofault': 'None',
261
277
  'extendedContent': 'Extended Content',
262
278
  'JSONFormatError': 'JSON format error!',
@@ -256,7 +256,23 @@ const zh = {
256
256
  'putTscControlError6': '优先级更高的用户控制中,无法执行',
257
257
  'putTscControlError7': '方案编号对应的方案不存在',
258
258
  'putTscControlError8': '配置包含绿冲突',
259
- 'putTscControlError20': '临时方案中绿信比应大于相位的最小绿+黄灯+全红,并小于最大绿1+黄灯+全红',
259
+ 'putTscControlError9': '不存在的路口编号',
260
+ 'putTscControlError10': '不存在的相位编号',
261
+ 'putTscControlError11': '该用户没有权限',
262
+ 'putTscControlError12': '区域或路口不存在',
263
+ 'putTscControlError13': '无效的操作列表编号',
264
+ 'putTscControlError14': '文件读取失败',
265
+ 'putTscControlError15': '操作列表编号不存在',
266
+ 'putTscControlError16': '操作列表中命令错误',
267
+ 'putTscControlError17': '路口ID不存在',
268
+ 'putTscControlError18': '不同环周期不一致',
269
+ 'putTscControlError19': '绿信比小于最小绿',
270
+ 'putTscControlError20': '绿信比大于最大绿',
271
+ 'putTscControlError21': '不支持的相位类型',
272
+ 'putTscControlError22': '不支持的相位数量',
273
+ 'putTscControlError23': '控制消息发送异常',
274
+ 'putTscControlError99': '控制异常',
275
+ // 'putTscControlError20': '临时方案中绿信比应大于相位的最小绿+黄灯+全红,并小于最大绿1+黄灯+全红',
260
276
  'nofault': '无',
261
277
  'extendedContent': '扩展内容',
262
278
  'JSONFormatError': 'JSON格式错误!',
@@ -270,6 +270,8 @@ export default {
270
270
  this.handleCurrentChange(this.patternStatusList)
271
271
  this.handleBarrierHeight()
272
272
  }, 400)
273
+ } else if ((this.controlData && this.controlData.patternid === 109) || (this.controlData && this.showCondition) || (this.controlData && this.localPatternList.length === 0)) {
274
+ this.handleTentivePatternData()
273
275
  } else {
274
276
  this.handlePatternData()
275
277
  }