• Go复习---南方电网厂家状态监测系统


    //监测数据
    type Monitor struct {
    //厂家编号
    FactoryId uint
    //设备编号
    DeviceId uint
    //监测参数
    Parameter uint
    //监测数据
    Content float64
    //采集时间
    MonitorTime int
    //发送时间
    SendTime int
    //尝试次数
    Try uint
    }
    //异常临界时,按需上传监测图片
    //反馈系统
    //返回下次上传间隔。异常临界时提高监测采集频率重发
    //Go + Kafka
    //粘包
    //心跳 连接检测
    //长连接、短链接,不同链接类型。
    //自动重连
    //文件过大抛弃
    //不同封包格式,Type:xml,json,
    Length-Type-Value
    //监测设备信息(换装次数、使用时长)
  • 相关阅读:
    JZOJ.2117. 【2016-12-30普及组模拟】台风
    团队合作
    长沙游记
    统计
    html....
    OI之路
    三鑫普及组模拟赛
    牛顿迭代法
    台风
    gcd
  • 原文地址:https://www.cnblogs.com/wanjch/p/11525532.html
Copyright © 2020-2023  润新知