08 2024 档案
摘要:基础用法 1. 安装Docker首先,确保你的Ubuntu系统上安装了Docker。可以通过以下命令安装Docker: sudo apt update sudo apt install docker.io 安装完成后,启动Docker并设置为开机自启: sudo systemctl start do
阅读全文
摘要:加载不通的规则引擎配置文件,使用DynamicExpresso校验采集数据,得出是否告警 rules.json { "Rules": [ { "Description": "温度超过阈值警报", "Condition": "temperature > 30", "Action": "HT" }, {
阅读全文
摘要:【技术实现】 Net6通过Jint读取JS模板文件,并调用createMqttPayload方法,传入网关数据(JSON),得到平台报文(JSON) 【应用场景】 用户可以灵活配置边缘网关的报文格式到平台 【测试范例】 脚本名称:script1.js 输入Json: { "GateCode": "g
阅读全文
摘要:using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System; using System.Collections.Generic; using ZLMediaKitHook.Utility; using ZLMediaKitH
阅读全文
摘要:ubuntu使用虚拟can1. sudo modprobe vcan //加载虚拟can模块2. sudo ip link add dev can0 type vcan //添加can0网卡3. ifconfig -a //查看can04. sudo ip link set dev can0 up
阅读全文