Files
DP44/DataPRO/Modules/Database/DatabaseMigrationScripts/.svn/pristine/d1/d145705e889dc551887befdfca963c4b8113474a.svn-base
2026-04-17 14:55:32 -04:00

44 lines
827 B
Plaintext

INSERT INTO [dbo].[Sensors] ([SensorType],[SerialNumber]) VALUES (1, 'TSI_TestSpecific');
DECLARE @SensorId int
SET @SensorId = CAST(SCOPE_IDENTITY() as int);
INSERT INTO [dbo].[SensorsDigitalIn] ([SensorId]
,[SettingMode]
,[ScaleMultiplier]
,[LastModified]
,[LastModifiedBy]
,[eId]
,[IsoCode]
,[IsoChannelName]
,[UserCode]
,[UserChannelName]
,[UserValue1]
,[UserValue2]
,[UserValue3]
,[UserTags]
,[MeasurementUnit]
,[FilterClass]
,[DoNotUse]
,[Broken])
VALUES
(@SensorId,
8,
'ArbitraryLowAndHigh,0,1',
'2019-06-11 12:00:00.000',
'SYSTEM',
'',
'',
'',
'',
'',
'',
'',
'',
0,
'V',
'Unfiltered',
0,
0);