You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lucas 34c2cb5d28 update 窗口创建原因 2 weeks ago
constant 添加分组类型常量 1 month ago
.gitignore Initial commit 1 month ago
IotaData.go IDataTrace添加GetDeviceId 1 month ago
LICENSE add 重建common_models 1 month ago
README.md 分组计算相关模型更新 1 month ago
aggData.go aggData.GetDeviceId()返回SensorId 1 month ago
alarm.go add 重建common_models 1 month ago
alarmMsg.go add 重建common_models 1 month ago
cacheData.go update 窗口创建原因 2 weeks ago
constant.go add 重建common_models 1 month ago
dataTrace.go IDataTrace添加GetDeviceId 1 month ago
dataUnit.go add 重建common_models 1 month ago
deviceData.go add 重建common_models 1 month ago
deviceFactorProto.go add 重建common_models 1 month ago
deviceInfo.go add 重建common_models 1 month ago
deviceMeta.go add 重建common_models 1 month ago
esGroupTheme.go JSON序列化时时间格式化为2006-01-02T15:04:05.000+08:00 4 weeks ago
esRaw.go add 重建common_models 1 month ago
esTheme.go JSON序列化时时间格式化为2006-01-02T15:04:05.000+08:00 4 weeks ago
esVbRaw.go add 重建common_models 1 month ago
factor.go fix 修正不合理的名称 1 month ago
filter.go add 重建common_models 1 month ago
formula.go add 重建common_models 1 month ago
formulaType.go add 重建common_models 1 month ago
go.mod update 调整不统一的指针接收器命名 1 month ago
go.sum 分组计算相关模型更新 1 month ago
iotaAlarm.go add 重建common_models 1 month ago
iotaDeploy.go add 重建common_models 1 month ago
iotaDevice.go add 重建common_models 1 month ago
iotaScheme.go add 重建common_models 1 month ago
processData.go add 重建common_models 1 month ago
rpc_node.go 分组计算相关模型更新 1 month ago
staionGroup.go 注释未使用的变量 1 month ago
station.go 注释未使用的变量 1 month ago
stationGroup_test.go add 重建common_models 1 month ago
structure.go add 重建common_models 1 month ago
threshold.go add 重建common_models 1 month ago
threshold_agg.go add 重建common_models 1 month ago

README.md

common_models 通用结构体模块

开发语言和版本

golang ,版本 go1.23.1

平台支持

安心云4.0

使用方式:

  1. 设置 go 环境
    set GOPRIVATE=gitea.anxinyun.cn
  2. 查询go 版本
    go list -m -versions gitea.anxinyun.cn/container/common_models
    如若 GOPRIVATE=gitea.anxinyun.cn 生效,则会返回 common_models 的版本信息。
    如若无版本信息返回,有可能是没有 container 的权限,也有可能环境变量设置没有生效。

异常情况处理:

  1. https://gitea.anxinyun.cn/container 访问权限,可以联系下管理员(刘歆毅)。
  2. 环境变量设置不生效
    解决方法,在GoLand工具中进行设置:
    1)打开 Settings
    2)Go > GOROOT,Download Go SDK
    3)Go > Go Modules,设置环境变量 GOPRIVATE=gitea.anxinyun.cn

依赖包管理

common_models 如若有修改,必须需要同步升级 common_utils、et-go