166 lines
3.4 KiB
MySQL
166 lines
3.4 KiB
MySQL
|
|
|
|||
|
|
INSERT INTO [dbo].[Settings]
|
|||
|
|
([PropertyId]
|
|||
|
|
,[PropertyType]
|
|||
|
|
,[PropertyValue]
|
|||
|
|
,[UserId])
|
|||
|
|
VALUES
|
|||
|
|
('SLICE6_AIR_PowerSetting'
|
|||
|
|
,2
|
|||
|
|
,'7.8,9,6.8,9,7.6,15.3,6.5,15.3,4,4,9,19,8.4,7.9,11.8,10.9'
|
|||
|
|
,'SYSTEM'),
|
|||
|
|
('UseFlatFolders'
|
|||
|
|
,2
|
|||
|
|
,'False'
|
|||
|
|
,'SYSTEM');
|
|||
|
|
|
|||
|
|
UPDATE [dbo].[DAS]
|
|||
|
|
SET MinSampleRate = 50, MaxSampleRate = 400000
|
|||
|
|
WHERE SerialNumber = 'SLICE6 Prototype'
|
|||
|
|
|
|||
|
|
DECLARE @dasID int;
|
|||
|
|
|
|||
|
|
INSERT INTO [dbo].[DAS]
|
|||
|
|
([SerialNumber]
|
|||
|
|
,[Type]
|
|||
|
|
,[MaxModules]
|
|||
|
|
,[MaxMemory]
|
|||
|
|
,[MaxSampleRate]
|
|||
|
|
,[MinSampleRate]
|
|||
|
|
,[FirmwareVersion]
|
|||
|
|
,[CalDate]
|
|||
|
|
,[ProtocolVersion]
|
|||
|
|
,[LastModified]
|
|||
|
|
,[LastModifiedBy]
|
|||
|
|
,[Version]
|
|||
|
|
,[LocalOnly]
|
|||
|
|
,[LastUsed]
|
|||
|
|
,[LastUsedBy]
|
|||
|
|
,[Connection]
|
|||
|
|
,[Channels]
|
|||
|
|
,[Position]
|
|||
|
|
,[ChannelTypes]
|
|||
|
|
,[Reprogramable]
|
|||
|
|
,[Reconfigurable]
|
|||
|
|
,[IsModule]
|
|||
|
|
,[PositionOnDistributor]
|
|||
|
|
,[PositionOnChain]
|
|||
|
|
,[Port]
|
|||
|
|
,[ParentDAS])
|
|||
|
|
VALUES
|
|||
|
|
('SLICE6 AIR Prototype'
|
|||
|
|
,36
|
|||
|
|
,2
|
|||
|
|
,1360003054
|
|||
|
|
,400000
|
|||
|
|
,50
|
|||
|
|
,'00A1'
|
|||
|
|
,'1970-01-01 00:00:00.000'
|
|||
|
|
,1
|
|||
|
|
,'2017-05-18 14:26:22.000'
|
|||
|
|
,'DATAPRO_SYSTEM'
|
|||
|
|
,1
|
|||
|
|
,0
|
|||
|
|
,'1753-01-01 00:00:00.000'
|
|||
|
|
,''
|
|||
|
|
,''
|
|||
|
|
,6
|
|||
|
|
,'Prototype'
|
|||
|
|
,'0,0,0,0,0,0'
|
|||
|
|
,0
|
|||
|
|
,0
|
|||
|
|
,0
|
|||
|
|
,0
|
|||
|
|
,0
|
|||
|
|
,0
|
|||
|
|
,'');
|
|||
|
|
|
|||
|
|
SET @dasID = CAST(SCOPE_IDENTITY() as int);
|
|||
|
|
|
|||
|
|
INSERT INTO [dbo].[DASChannels]
|
|||
|
|
([DASId]
|
|||
|
|
,[ChannelIdx]
|
|||
|
|
,[SupportedBridges]
|
|||
|
|
,[SupportedExcitations]
|
|||
|
|
,[DASDisplayOrder]
|
|||
|
|
,[LocalOnly]
|
|||
|
|
,[SupportedDigitalInputModes]
|
|||
|
|
,[SupportedSquibFireModes]
|
|||
|
|
,[SupportedDigitalOutputModes]
|
|||
|
|
,[ModuleSerialNumber]
|
|||
|
|
,[SettingId]
|
|||
|
|
,[ModuleArrayIndex])
|
|||
|
|
VALUES
|
|||
|
|
(@dasID
|
|||
|
|
,0
|
|||
|
|
,9
|
|||
|
|
,50
|
|||
|
|
,-1
|
|||
|
|
,0
|
|||
|
|
,30
|
|||
|
|
,1
|
|||
|
|
,10
|
|||
|
|
,''
|
|||
|
|
,0
|
|||
|
|
,0),
|
|||
|
|
(@dasID
|
|||
|
|
,1
|
|||
|
|
,9
|
|||
|
|
,50
|
|||
|
|
,-1
|
|||
|
|
,0
|
|||
|
|
,30
|
|||
|
|
,1
|
|||
|
|
,10
|
|||
|
|
,''
|
|||
|
|
,0
|
|||
|
|
,0),
|
|||
|
|
(@dasID
|
|||
|
|
,2
|
|||
|
|
,9
|
|||
|
|
,50
|
|||
|
|
,-1
|
|||
|
|
,0
|
|||
|
|
,30
|
|||
|
|
,1
|
|||
|
|
,10
|
|||
|
|
,''
|
|||
|
|
,0
|
|||
|
|
,0),
|
|||
|
|
(@dasID
|
|||
|
|
,3
|
|||
|
|
,9
|
|||
|
|
,50
|
|||
|
|
,-1
|
|||
|
|
,0
|
|||
|
|
,30
|
|||
|
|
,1
|
|||
|
|
,10
|
|||
|
|
,''
|
|||
|
|
,0
|
|||
|
|
,0),
|
|||
|
|
(@dasID
|
|||
|
|
,4
|
|||
|
|
,9
|
|||
|
|
,50
|
|||
|
|
,-1
|
|||
|
|
,0
|
|||
|
|
,30
|
|||
|
|
,1
|
|||
|
|
,10
|
|||
|
|
,''
|
|||
|
|
,0
|
|||
|
|
,0),
|
|||
|
|
(@dasID
|
|||
|
|
,5
|
|||
|
|
,9
|
|||
|
|
,50
|
|||
|
|
,-1
|
|||
|
|
,0
|
|||
|
|
,30
|
|||
|
|
,1
|
|||
|
|
,10
|
|||
|
|
,''
|
|||
|
|
,0
|
|||
|
|
,0);
|