mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[feat] 规则链添加切换设备节点
This commit is contained in:
@@ -191,7 +191,7 @@ func (m *deviceModelImpl) Delete(ids []string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取Tdengine时序数据
|
// 创建Tdengine时序数据
|
||||||
func createDeviceTable(productId, device string) error {
|
func createDeviceTable(productId, device string) error {
|
||||||
err := global.TdDb.CreateTable(productId+"_"+entity.ATTRIBUTES_TSL, device+"_"+entity.ATTRIBUTES_TSL)
|
err := global.TdDb.CreateTable(productId+"_"+entity.ATTRIBUTES_TSL, device+"_"+entity.ATTRIBUTES_TSL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user