USE [DataPRO]
GO

/****** Object:  Table [dbo].[SensorsDigitalIn]    Script Date: 6/19/2018 12:41:56 PM ******/
DROP TABLE [dbo].[SensorsDigitalIn]
GO

/****** Object:  Table [dbo].[SensorsDigitalIn]    Script Date: 6/19/2018 12:41:56 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[SensorsDigitalIn](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[SerialNumber] [nvarchar](50) NOT NULL,
	[SettingMode] [int] NOT NULL,
	[ScaleMultiplier] [nvarchar](50) NOT NULL,
	[LastModified] [datetime] NOT NULL,
	[LastModifiedBy] [nvarchar](50) NOT NULL,
	[eId] [nvarchar](50) NOT NULL,
	[UserValue1] [nvarchar](255) NULL,
	[UserValue2] [nvarchar](255) NULL,
	[UserValue3] [nvarchar](255) NULL,
	[UserTags] [varbinary](max) NULL,
	[MeasurementUnit] [nvarchar](50) NOT NULL,
	[FilterClass] [nvarchar](50) NOT NULL,
 CONSTRAINT [PK__SensorsDigitalIn] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

SET ANSI_PADDING ON
GO


