init
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
INSERT INTO SensorsType VALUES(8, 'CAN')
|
||||
INSERT INTO dbo.Sensors VALUES (8, 'TSF_TestSpecific')
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO [dbo].[DAS] VALUES ('SLICE PRO CAN FD Prototype',60,4,1360003054,4294967295,0,'00A0','2025-11-24 00:00:00.000',1,'2025-11-24 00:00:00.000','DATAPRO_SYSTEM',1,0,'2022-06-28 00:00:00.000','','',4,'Prototype','7,7,7,7',0,0,0,0,0,0,'',NULL,NULL,NULL,NULL,50000)
|
||||
@@ -0,0 +1,20 @@
|
||||
--Module 1
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 0, 8192, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 1, 8192, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 2, 8192, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 3, 8192, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
@@ -0,0 +1,45 @@
|
||||
CREATE PROCEDURE [dbo].[sp_DASGet_100]
|
||||
@SerialNumber nvarchar(50) = null
|
||||
,@position nvarchar(10) = null
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
SELECT [DASId]
|
||||
,[SerialNumber]
|
||||
,[Type]
|
||||
,[MaxModules]
|
||||
,[MaxMemory]
|
||||
,[MaxSampleRate]
|
||||
,[MinSampleRate]
|
||||
,[FirmwareVersion]
|
||||
,[CalDate]
|
||||
,[ProtocolVersion]
|
||||
,[LastModified]
|
||||
,[LastModifiedBy]
|
||||
,[Version]
|
||||
,[LocalOnly]
|
||||
,[LastUsed]
|
||||
,[LastUsedBy]
|
||||
,[Connection]
|
||||
,[Channels]
|
||||
,[Position]
|
||||
,[ChannelTypes]
|
||||
,[Reprogramable]
|
||||
,[Reconfigurable]
|
||||
,[IsModule]
|
||||
,isnull([PositionOnDistributor], 0) as [PositionOnDistributor]
|
||||
,isnull([PositionOnChain], 0) as [PositionOnChain]
|
||||
,isnull([Port],0) as [Port]
|
||||
,isnull([ParentDAS], space(0)) as [ParentDAS],
|
||||
[FirstUseDate],
|
||||
[TestId],
|
||||
[GroupId],
|
||||
[StandIn],
|
||||
[MaxAAFRate]
|
||||
|
||||
FROM [dbo].[DAS] where
|
||||
(@SerialNumber is null or DASId = dbo.foo_IdGetDAS(@SerialNumber))
|
||||
and
|
||||
Position = case when @position is null then space(0) else @position end
|
||||
END
|
||||
@@ -0,0 +1,22 @@
|
||||
ALTER PROCEDURE [dbo].[sp_ChannelSettingsGet]
|
||||
@Id int = NULL,
|
||||
@SettingName NVARCHAR (255) = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
IF (@Id IS NOT NULL) OR (@SettingName IS NOT NULL)
|
||||
BEGIN
|
||||
IF (@Id IS NULL)
|
||||
BEGIN
|
||||
SELECT [Id], [DefaultValue] FROM [dbo].[ChannelSettings] where (SettingName = @SettingName) AND (SettingName <> 'ACCouplingEnabled' AND SettingName <>'StreamOutTMATSIntervalMs' AND SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [SettingName] FROM [dbo].[ChannelSettings] where (Id = @Id) AND (SettingName <> 'ACCouplingEnabled' AND SettingName <>'StreamOutTMATSIntervalMs' AND SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [Id], [SettingName], [DefaultValue] FROM [dbo].[ChannelSettings] WHERE (SettingName <> 'ACCouplingEnabled' AND SettingName <>'StreamOutTMATSIntervalMs' AND SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,22 @@
|
||||
ALTER PROCEDURE [dbo].[sp_ChannelSettingsGet_92]
|
||||
@Id int = NULL,
|
||||
@SettingName NVARCHAR (255) = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
IF (@Id IS NOT NULL) OR (@SettingName IS NOT NULL)
|
||||
BEGIN
|
||||
IF (@Id IS NULL)
|
||||
BEGIN
|
||||
SELECT [Id], [DefaultValue] FROM [dbo].[ChannelSettings] where (SettingName = @SettingName) AND (SettingName <>'StreamOutTMATSIntervalMs' AND SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [SettingName] FROM [dbo].[ChannelSettings] where (Id = @Id) AND (SettingName <>'StreamOutTMATSIntervalMs' AND SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [Id], [SettingName], [DefaultValue] FROM [dbo].[ChannelSettings] WHERE (SettingName <>'StreamOutTMATSIntervalMs' AND SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,22 @@
|
||||
ALTER PROCEDURE [dbo].[sp_ChannelSettingsGet_93]
|
||||
@Id int = NULL,
|
||||
@SettingName NVARCHAR (255) = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
IF (@Id IS NOT NULL) OR (@SettingName IS NOT NULL)
|
||||
BEGIN
|
||||
IF (@Id IS NULL)
|
||||
BEGIN
|
||||
SELECT [Id], [DefaultValue] FROM [dbo].[ChannelSettings] where (SettingName = @SettingName) AND (SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [SettingName] FROM [dbo].[ChannelSettings] where (Id = @Id) AND (SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [Id], [SettingName], [DefaultValue] FROM [dbo].[ChannelSettings] WHERE (SettingName <>'BridgeType' AND SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,22 @@
|
||||
ALTER PROCEDURE [dbo].[sp_ChannelSettingsGet_95]
|
||||
@Id int = NULL,
|
||||
@SettingName NVARCHAR (255) = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
IF (@Id IS NOT NULL) OR (@SettingName IS NOT NULL)
|
||||
BEGIN
|
||||
IF (@Id IS NULL)
|
||||
BEGIN
|
||||
SELECT [Id], [DefaultValue] FROM [dbo].[ChannelSettings] where (SettingName = @SettingName) AND (SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [SettingName] FROM [dbo].[ChannelSettings] where (Id = @Id) AND (SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [Id], [SettingName], [DefaultValue] FROM [dbo].[ChannelSettings] WHERE (SettingName <> 'CanIsFD' AND SettingName <> 'CanArbBaseBitrate' AND SettingName <> 'CanArbBaseSJW' AND SettingName <> 'CanDataBitrate' AND SettingName <> 'CanDataSJW' AND SettingName <> 'CanFileType')
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,51 @@
|
||||
ALTER PROCEDURE [dbo].[sp_DASGet]
|
||||
@SerialNumber nvarchar(50) = null
|
||||
,@position nvarchar(10) = null
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
SELECT [DASId]
|
||||
,[SerialNumber]
|
||||
,[Type]
|
||||
,[MaxModules]
|
||||
,[MaxMemory]
|
||||
,[MaxSampleRate]
|
||||
,[MinSampleRate]
|
||||
,[FirmwareVersion]
|
||||
,[CalDate]
|
||||
,[ProtocolVersion]
|
||||
,[LastModified]
|
||||
,[LastModifiedBy]
|
||||
,[Version]
|
||||
,[LocalOnly]
|
||||
,[LastUsed]
|
||||
,[LastUsedBy]
|
||||
,[Connection]
|
||||
,[Channels]
|
||||
,[Position]
|
||||
,[ChannelTypes]
|
||||
,[Reprogramable]
|
||||
,[Reconfigurable]
|
||||
,[IsModule]
|
||||
,isnull([PositionOnDistributor], 0) as [PositionOnDistributor]
|
||||
,isnull([PositionOnChain], 0) as [PositionOnChain]
|
||||
,isnull([Port],0) as [Port]
|
||||
,isnull([ParentDAS], space(0)) as [ParentDAS],
|
||||
[FirstUseDate],
|
||||
[TestId],
|
||||
[GroupId],
|
||||
[StandIn],
|
||||
[MaxAAFRate]
|
||||
|
||||
FROM [dbo].[DAS] where
|
||||
(@SerialNumber is null or DASId = dbo.foo_IdGetDAS(@SerialNumber))
|
||||
and
|
||||
Position = case when @position is null then space(0) else @position end
|
||||
and
|
||||
Type!=58
|
||||
and
|
||||
Type!=59
|
||||
and
|
||||
Type!=60
|
||||
END
|
||||
@@ -0,0 +1,49 @@
|
||||
ALTER PROCEDURE [dbo].[sp_DASGet_95]
|
||||
@SerialNumber nvarchar(50) = null
|
||||
,@position nvarchar(10) = null
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
SELECT [DASId]
|
||||
,[SerialNumber]
|
||||
,[Type]
|
||||
,[MaxModules]
|
||||
,[MaxMemory]
|
||||
,[MaxSampleRate]
|
||||
,[MinSampleRate]
|
||||
,[FirmwareVersion]
|
||||
,[CalDate]
|
||||
,[ProtocolVersion]
|
||||
,[LastModified]
|
||||
,[LastModifiedBy]
|
||||
,[Version]
|
||||
,[LocalOnly]
|
||||
,[LastUsed]
|
||||
,[LastUsedBy]
|
||||
,[Connection]
|
||||
,[Channels]
|
||||
,[Position]
|
||||
,[ChannelTypes]
|
||||
,[Reprogramable]
|
||||
,[Reconfigurable]
|
||||
,[IsModule]
|
||||
,isnull([PositionOnDistributor], 0) as [PositionOnDistributor]
|
||||
,isnull([PositionOnChain], 0) as [PositionOnChain]
|
||||
,isnull([Port],0) as [Port]
|
||||
,isnull([ParentDAS], space(0)) as [ParentDAS],
|
||||
[FirstUseDate],
|
||||
[TestId],
|
||||
[GroupId],
|
||||
[StandIn],
|
||||
[MaxAAFRate]
|
||||
|
||||
FROM [dbo].[DAS] where
|
||||
(@SerialNumber is null or DASId = dbo.foo_IdGetDAS(@SerialNumber))
|
||||
and
|
||||
Position = case when @position is null then space(0) else @position end
|
||||
and
|
||||
Type!=59
|
||||
and
|
||||
Type!=60
|
||||
END
|
||||
@@ -0,0 +1,47 @@
|
||||
ALTER PROCEDURE [dbo].[sp_DASGet_99]
|
||||
@SerialNumber nvarchar(50) = null
|
||||
,@position nvarchar(10) = null
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
SELECT [DASId]
|
||||
,[SerialNumber]
|
||||
,[Type]
|
||||
,[MaxModules]
|
||||
,[MaxMemory]
|
||||
,[MaxSampleRate]
|
||||
,[MinSampleRate]
|
||||
,[FirmwareVersion]
|
||||
,[CalDate]
|
||||
,[ProtocolVersion]
|
||||
,[LastModified]
|
||||
,[LastModifiedBy]
|
||||
,[Version]
|
||||
,[LocalOnly]
|
||||
,[LastUsed]
|
||||
,[LastUsedBy]
|
||||
,[Connection]
|
||||
,[Channels]
|
||||
,[Position]
|
||||
,[ChannelTypes]
|
||||
,[Reprogramable]
|
||||
,[Reconfigurable]
|
||||
,[IsModule]
|
||||
,isnull([PositionOnDistributor], 0) as [PositionOnDistributor]
|
||||
,isnull([PositionOnChain], 0) as [PositionOnChain]
|
||||
,isnull([Port],0) as [Port]
|
||||
,isnull([ParentDAS], space(0)) as [ParentDAS],
|
||||
[FirstUseDate],
|
||||
[TestId],
|
||||
[GroupId],
|
||||
[StandIn],
|
||||
[MaxAAFRate]
|
||||
|
||||
FROM [dbo].[DAS] where
|
||||
(@SerialNumber is null or DASId = dbo.foo_IdGetDAS(@SerialNumber))
|
||||
and
|
||||
Position = case when @position is null then space(0) else @position end
|
||||
and
|
||||
Type!=60
|
||||
END
|
||||
@@ -0,0 +1,17 @@
|
||||
CREATE TABLE [dbo].[SensorsCAN](
|
||||
[Id] [int] IDENTITY(1,1) NOT NULL,
|
||||
[SensorId] [int] NOT NULL,
|
||||
[IsFD] bit NOT NULL,
|
||||
[ArbBaseBitrate] int NOT NULL,
|
||||
[ArbBaseSJW] int NOT NULL,
|
||||
[DataBitrate] int NOT NULL,
|
||||
[DataSJW] int NOT NULL,
|
||||
[FileType] [nvarchar](max) NOT NULL,
|
||||
[LastModified] [datetime] NOT NULL,
|
||||
[LastModifiedBy] [nvarchar](50) NOT NULL,
|
||||
[UserTags] [varbinary](max) NOT NULL,
|
||||
[DoNotUse] [bit] NULL,
|
||||
[Broken] [bit] NULL
|
||||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||||
|
||||
INSERT INTO SensorsCAN VALUES((SELECT id FROM Sensors WHERE SerialNumber = 'TSF_TestSpecific'), 1, 1000000, 8, 8000000, 1, 'asc', '20251202', 'System', 0x, 0, 0)
|
||||
@@ -0,0 +1,22 @@
|
||||
CREATE PROCEDURE [dbo].[sp_ChannelSettingsGet_100]
|
||||
@Id int = NULL,
|
||||
@SettingName NVARCHAR (255) = NULL
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
IF (@Id IS NOT NULL) OR (@SettingName IS NOT NULL)
|
||||
BEGIN
|
||||
IF (@Id IS NULL)
|
||||
BEGIN
|
||||
SELECT [Id], [DefaultValue] FROM [dbo].[ChannelSettings] where (SettingName = @SettingName)
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [SettingName] FROM [dbo].[ChannelSettings] where (Id = @Id)
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT [Id], [SettingName], [DefaultValue] FROM [dbo].[ChannelSettings]
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,23 @@
|
||||
CREATE PROCEDURE [dbo].[sp_SensorsCANGet]
|
||||
@Id INT = null,
|
||||
@SerialNumber NVARCHAR (50) = null
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
IF( @Id IS NULL)
|
||||
BEGIN
|
||||
IF NULLIF(@SerialNumber, '') IS NULL
|
||||
BEGIN
|
||||
SELECT A.id, A.SerialNumber, B.IsFD, B.ArbBaseBitrate, B.ArbBaseSJW, B.DataBitrate, B.DataSJW, B.FileType, B.LastModified, B.LastModifiedBy, B.UserTags, B.Broken, B.DoNotUse FROM [dbo].[Sensors] AS A INNER JOIN [dbo].[SensorsCAN] AS B ON A.id=B.SensorId INNER JOIN [dbo].SensorsType AS C ON A.SensorType=C.TypeId WHERE C.SensorType='CAN'
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT A.id, A.SerialNumber, B.IsFD, B.ArbBaseBitrate, B.ArbBaseSJW, B.DataBitrate, B.DataSJW, B.FileType, B.LastModified, B.LastModifiedBy, B.UserTags, B.Broken, B.DoNotUse FROM [dbo].[Sensors] AS A INNER JOIN [dbo].[SensorsCAN] AS B ON A.id=B.SensorId INNER JOIN [dbo].SensorsType AS C ON A.SensorType=C.TypeId WHERE C.SensorType='CAN' AND A.SerialNumber=@SerialNumber
|
||||
END
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
SELECT A.id, A.SerialNumber, B.IsFD, B.ArbBaseBitrate, B.ArbBaseSJW, B.DataBitrate, B.DataSJW, B.FileType, B.LastModified, B.LastModifiedBy, B.UserTags, B.Broken, B.DoNotUse FROM [dbo].[Sensors] AS A INNER JOIN [dbo].[SensorsCAN] AS B ON A.id=B.SensorId INNER JOIN [dbo].SensorsType AS C ON A.SensorType=C.TypeId WHERE C.SensorType='CAN' AND A.id=@Id
|
||||
END
|
||||
END
|
||||
@@ -0,0 +1,6 @@
|
||||
INSERT INTO[dbo].[ChannelSettings] ([SettingName], [DefaultValue]) VALUES('CanIsFD', 1);
|
||||
INSERT INTO[dbo].[ChannelSettings] ([SettingName], [DefaultValue]) VALUES('CanArbBaseBitrate', 1000000);
|
||||
INSERT INTO[dbo].[ChannelSettings] ([SettingName], [DefaultValue]) VALUES('CanArbBaseSJW', 8);
|
||||
INSERT INTO[dbo].[ChannelSettings] ([SettingName], [DefaultValue]) VALUES('CanDataBitrate', 8000000);
|
||||
INSERT INTO[dbo].[ChannelSettings] ([SettingName], [DefaultValue]) VALUES('CanDataSJW', 1);
|
||||
INSERT INTO[dbo].[ChannelSettings] ([SettingName], [DefaultValue]) VALUES('CanFileType', 'asc');
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO [dbo].[DAS] VALUES ('SLICE PRO CAN FD Prototype',60,4,1360003054,4294967295,0,'00A0','2025-11-24 00:00:00.000',1,'2025-11-24 00:00:00.000','DATAPRO_SYSTEM',1,0,'2022-06-28 00:00:00.000','','',4,'Prototype','7,7,7,7',0,0,0,0,0,0,'',NULL,NULL,NULL,NULL,50000)
|
||||
@@ -0,0 +1,20 @@
|
||||
--Module 1
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 0, 8, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 1, 8, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 2, 8, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
|
||||
INSERT INTO [dbo].[DASChannels]
|
||||
([DASId], [ChannelIdx], [SupportedBridges], [SupportedExcitations], [DASDisplayOrder], [LocalOnly], [SupportedDigitalInputModes], [SupportedSquibFireModes], [SupportedDigitalOutputModes], [ModuleSerialNumber], [ModuleArrayIndex])
|
||||
VALUES
|
||||
((SELECT DASId FROM [dbo].[DAS] WHERE SerialNumber = 'SLICE PRO CAN FD Prototype'), 3, 8, 50, -1, 0, 0, 0, 0, '', 0)
|
||||
@@ -0,0 +1,2 @@
|
||||
INSERT INTO [StoredProcedureVersions] ([StoredProcedure], [Version]) VALUES ('sp_DASGet', 100)
|
||||
INSERT INTO [StoredProcedureVersions] ([StoredProcedure], [Version]) VALUES ('sp_ChannelSettingsGet', 100)
|
||||
Reference in New Issue
Block a user