diff --git a/etc/emq_plugin_2db.config b/etc/emq_plugin_2db.config index 1b61680..8dedd2c 100644 --- a/etc/emq_plugin_2db.config +++ b/etc/emq_plugin_2db.config @@ -25,16 +25,16 @@ {que1 , [ - "INSERT INTO [Marposs].[dbo].[plant1GasSensors] ( [ts] ,[suid] ,[ppm] ,[temp]) VALUES( ? ,? , ? , ?)", + "INSERT INTO [dbname1].[dbo].[tablename1] ( [ts] ,[suid] ,[ppm] ,[temp]) VALUES( ? ,? , ? , ?)", - "INSERT INTO [Marposs].[dbo].[plant1Machine1] ([ts], [suid], [SupAirRH], [ProcInRH], [ProcInAirTemp], + "INSERT INTO [dbname2].[dbo].[tablename2] ([ts], [suid], [SupAirRH], [ProcInRH], [ProcInAirTemp], [ProcOutAirTemp], [ReactInTemp], [ReactOutTemp] ) VALUES(?,?,?,?,?,?,?,?)", - "INSERT INTO [Marposs].[dbo].[plant1Machine1Alarm] ([ts], [suid], [AlarmType], [AlarmStatus] ) VALUES(?,?,?,?)", + "INSERT INTO [dbname3].[dbo].[tablename3] ([ts], [suid], [AlarmType], [AlarmStatus] ) VALUES(?,?,?,?)", - "INSERT INTO [Marposs].[dbo].[plant1TempHumi] ([ts], [suid], [temp], [humi] ) VALUES(?,?,?,?)", + "INSERT INTO [dbname4].[dbo].[tablename4] ([ts], [suid], [temp], [humi] ) VALUES(?,?,?,?)", - "INSERT INTO [DMS].[dbo].[bu1locationtemphumisensors] ( [ts] ,[suid] ,[temp] ,[humi]) VALUES( ? ,? , ? , ?)" + "INSERT INTO [dbname5].[dbo].[tablename5] ( [ts] ,[suid] ,[temp] ,[humi]) VALUES( ? ,? , ? , ?)" ] },