-- ----------------------------------------------------------
-- MDB Tools - A library for reading MS Access database files
-- Copyright (C) 2000-2011 Brian Bruns and others.
-- Files in libmdb are licensed under LGPL and the utilities under
-- the GPL, see COPYING.LIB and COPYING files respectively.
-- Check out http://mdbtools.sourceforge.net
-- ----------------------------------------------------------

-- That file uses encoding UTF-8

CREATE TABLE [ComuInfos]
 (
	[Id]			Integer, 
	[Symbolname]			Text (60), 
	[Adresse]			Long Integer, 
	[TypId]			Long Integer, 
	[TexteId]			Long Integer
);

CREATE TABLE [DataTyps]
 (
	[TypeId]			Long Integer, 
	[TypeName]			Text (510)
);

CREATE TABLE [DiagnoseDaten]
 (
	[Id]			Integer, 
	[x0136]			Boolean NOT NULL, 
	[x0142]			Boolean NOT NULL, 
	[x0144]			Boolean NOT NULL, 
	[x0147]			Boolean NOT NULL, 
	[x0151]			Boolean NOT NULL, 
	[x0152]			Boolean NOT NULL, 
	[x0153]			Boolean NOT NULL, 
	[x0158]			Boolean NOT NULL, 
	[x0160]			Boolean NOT NULL, 
	[x0161]			Boolean NOT NULL, 
	[UserLevel]			Byte
);

CREATE TABLE [EinstellDaten]
 (
	[Id]			Integer, 
	[x0136]			Boolean NOT NULL, 
	[x0142]			Boolean NOT NULL, 
	[x0144]			Boolean NOT NULL, 
	[x0147]			Boolean NOT NULL, 
	[x0151]			Boolean NOT NULL, 
	[x0152]			Boolean NOT NULL, 
	[x0153]			Boolean NOT NULL, 
	[x0158]			Boolean NOT NULL, 
	[x0160]			Boolean NOT NULL, 
	[MinValue]			Double, 
	[MaxValue]			Double, 
	[Steps]			Long Integer, 
	[SubSteps]			Long Integer, 
	[x0161]			Boolean NOT NULL, 
	[DigitalMin]			Long Integer, 
	[DigitalMax]			Long Integer, 
	[UserLevel]			Byte, 
	[VisibleType]			Byte
);

CREATE TABLE [geraete]
 (
	[Id]			Long Integer, 
	[SpNr]			Long Integer, 
	[Name]			Text (40)
);

CREATE TABLE [MitschnittDaten]
 (
	[Id]			Long Integer, 
	[xMin]			Double, 
	[xMax]			Double, 
	[Userlevel]			Byte, 
	[x0136]			Byte, 
	[x0142]			Byte, 
	[x0144]			Byte, 
	[x0147]			Byte, 
	[x0151]			Byte, 
	[x0152]			Byte, 
	[x0153]			Byte, 
	[x0158]			Byte, 
	[x0160]			Byte, 
	[x0161]			Byte, 
	[AOrder]			Integer
);

CREATE TABLE [PageEnable]
 (
	[PageId]			Integer, 
	[UserLevel]			Integer, 
	[Info]			Text (80)
);

CREATE TABLE [ReglerDaten]
 (
	[Id]			Long Integer, 
	[Name]			Text (200), 
	[Address]			Long Integer, 
	[xCount]			Long Integer, 
	[CbId]			Long Integer, 
	[Adjust]			Boolean NOT NULL, 
	[Service]			Boolean NOT NULL, 
	[Periods]			Boolean NOT NULL, 
	[SaveAuto]			Boolean NOT NULL, 
	[SaveManual]			Boolean NOT NULL, 
	[AdrType]			Byte, 
	[TypeId]			Long Integer
);

CREATE TABLE [SymbolHints]
 (
	[Id]			Integer, 
	[Texte]			Text (510), 
	[TexteDE]			Text (510), 
	[TexteEN]			Text (510), 
	[TextePL]			Text (510), 
	[TexteNL]			Text (510), 
	[TexteIT]			Text (510), 
	[TexteCS]			Text (510), 
	[TexteES]			Text (510), 
	[TexteTR]			Text (510), 
	[TexteRO]			Text (510), 
	[TexteRU]			Text (510), 
	[TexteDA]			Text (510), 
	[TexteHR]			Text (510), 
	[TexteEL]			Text (510), 
	[TexteFR]			Text (510), 
	[TexteHU]			Text (510)
);

CREATE TABLE [SymbolNames]
 (
	[Id]			Long Integer, 
	[Texte]			Text (510), 
	[TexteDE]			Text (510), 
	[TexteEN]			Text (510), 
	[TextePL]			Text (510), 
	[TexteNL]			Text (510), 
	[TexteIT]			Text (510), 
	[TexteCS]			Text (510), 
	[TexteES]			Text (510), 
	[TexteTR]			Text (510), 
	[TexteRO]			Text (510), 
	[TexteRU]			Text (510), 
	[TexteDA]			Text (510), 
	[TexteHR]			Text (510), 
	[TexteEL]			Text (510), 
	[TexteFR]			Text (510), 
	[TexteHU]			Text (510)
);

CREATE TABLE [UnitNames]
 (
	[Id]			Integer, 
	[Texte]			Text (510), 
	[TexteDE]			Text (510), 
	[TexteEN]			Text (510), 
	[TextePL]			Text (510), 
	[TexteNL]			Text (510), 
	[TexteIT]			Text (510), 
	[TexteCS]			Text (510), 
	[TexteES]			Text (510), 
	[TexteTR]			Text (510), 
	[TexteRO]			Text (510), 
	[TexteRU]			Text (510), 
	[TexteDA]			Text (510), 
	[TexteHR]			Text (510), 
	[TexteEL]			Text (510), 
	[TexteFR]			Text (510), 
	[TexteHU]			Text (510)
);

CREATE TABLE [AdmUserLevel]
 (
	[Name]			Text (510), 
	[AId]			Byte
);

CREATE TABLE [AdmAddressType]
 (
	[AId]			Byte, 
	[AText]			Text (100)
);

CREATE TABLE [AdmVisType]
 (
	[AId]			Byte, 
	[Name]			Text (510)
);

CREATE TABLE [AdmLogType]
 (
	[AId]			Byte, 
	[AText]			Text (100)
);


