240119-服务器的网络和磁盘&EventVisualThing

服务器的网络

(一天)

状况:相同的交换机和网线,接在NI工控机上无误,接在服务器上无网络连接显示

排查:BIOS开启网卡、网卡硬件识别、驱动版本等等,都正常

解决:询问邹巍,该网卡必须要接千兆网的交换机(或者enable网卡的自动协商)

服务器的磁盘

(JTEXT)

状况:磁盘需要先做好磁盘阵列才能识别,无法直连识别;做好磁盘阵列后也不能热插拔

待解决:下午邹巍来处理

经验教训

设备的问题,可以及时多问设备供应商

EventVisualThing

(将事件的发生,通过变量值变化,达成可视化效果)

计划将原来的json的字典配置格式改成以下格式:

MountPath: /relay/Resource
VisualVariable:
  HK:
    - EventSource: http://localhost:8003/opcClient/HK_close
      EventType: Changed
      EventValue: True
      VisualValue: 0 
    - EventSource: http://localhost:8003/opcClient/HK_open
      EventType: Changed
      EventValue: True
      VisualValue: 1 
  YK:
    - EventSource: http://localhost:8003/opcClient/YK_close
      EventType: Changed
      EventValue: True
      VisualValue: 0 
    - EventSource: http://localhost:8003/opcClient/YK_open
      EventType: Changed
      EventValue: True
      VisualValue: 1