Update from Sync Service

This commit is contained in:
FNS Service
2026-04-15 23:34:33 +08:00
commit 230c7bc2be
254 changed files with 5420 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/****** Script for SelectTopNRows command from SSMS ******/
declare @bx float
declare @by float
declare @bh float
select @bx=a.BaseX,@by=a.BaseY,@bh=a.BaseH from DataSyncPushConnector.dbo.DataSyncStation a
join [HiMonitorDB].[dbo].DeviceInfo b
on a.DeviceName=b.DeviceName
where a.DeviceName='WZ0504'
SELECT [GPSIndex]
,[aDatetime]
,[X]
,[Y]
,[Height]
,([X]-@bx)*1000 as dx
,([Y]-@by)*1000 as dy
,([Height]-@bh)*1000 as dh
FROM [HiMonitorDB].[dbo].[wz0504_stc] a where aDatetime \>'2020-04-1'
order by aDatetime desc