diff --git a/Softech/.gitignore b/Softech/.gitignore new file mode 100644 index 0000000..a91b837 --- /dev/null +++ b/Softech/.gitignore @@ -0,0 +1,74 @@ +################################################################################ +# Il file gitignore è stato creato automaticamente da Microsoft(R) Visual Studio. +################################################################################ + +/bin + +# Visual Studio 2015 cache/options directory +.vs/ + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +#[Ll]og/ + +# Per progetti Angular +# compiled output +/dist +/tmp +/out-tsc +# Only exists if Bazel was run +/bazel-out + +# dependencies +/node_modules + +# profiling files +chrome-profiler-events*.json + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# misc +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +yarn-error.log +testem.log +/typings + +# System Files +.DS_Store +Thumbs.db + +#file generati +pubblicazioni/ diff --git a/Softech/common/.dockerignore b/Softech/common/.dockerignore new file mode 100644 index 0000000..fe1152b --- /dev/null +++ b/Softech/common/.dockerignore @@ -0,0 +1,30 @@ +**/.classpath +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/azds.yaml +**/bin +**/charts +**/docker-compose* +**/Dockerfile* +**/node_modules +**/npm-debug.log +**/obj +**/secrets.dev.yaml +**/values.dev.yaml +LICENSE +README.md +!**/.gitignore +!.git/HEAD +!.git/config +!.git/packed-refs +!.git/refs/heads/** \ No newline at end of file diff --git a/Softech/common/lib/DatexModelOrig/DatexModelOrig.csproj b/Softech/common/lib/DatexModelOrig/DatexModelOrig.csproj new file mode 100644 index 0000000..467f6a1 --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/DatexModelOrig.csproj @@ -0,0 +1,23 @@ + + + + net8.0 + enable + enable + + + + + + + + + + + + + + + + + diff --git a/Softech/common/lib/DatexModelOrig/DatexModelOrig.sln b/Softech/common/lib/DatexModelOrig/DatexModelOrig.sln new file mode 100644 index 0000000..8e9b795 --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/DatexModelOrig.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34701.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DatexModelOrig", "DatexModelOrig.csproj", "{41CC8D9D-F72D-4711-8438-37AB646AF0E1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {41CC8D9D-F72D-4711-8438-37AB646AF0E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {41CC8D9D-F72D-4711-8438-37AB646AF0E1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {41CC8D9D-F72D-4711-8438-37AB646AF0E1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {41CC8D9D-F72D-4711-8438-37AB646AF0E1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {01165972-2A12-4FBC-9A36-36C4BEB4B439} + EndGlobalSection +EndGlobal diff --git a/Softech/common/lib/DatexModelOrig/Proxy/DATEXIISchema_2_2_3.xsd b/Softech/common/lib/DatexModelOrig/Proxy/DATEXIISchema_2_2_3.xsd new file mode 100644 index 0000000..50eefc8 --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/Proxy/DATEXIISchema_2_2_3.xsd @@ -0,0 +1,6783 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Softech/common/lib/DatexModelOrig/Proxy/Datex2Reference.cs b/Softech/common/lib/DatexModelOrig/Proxy/Datex2Reference.cs new file mode 100644 index 0000000..53d2b4e --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/Proxy/Datex2Reference.cs @@ -0,0 +1,23598 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +// This code was generated by XmlSchemaClassGenerator version 2.1.1167.0 using the following command: +// XmlSchemaClassGenerator.Console --namespace=Datex2Reference --netCore --nullableReferenceAttributes --namingScheme=Direct DATEXIISchema_2_2_3.xsd +namespace Datex2Reference +{ + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_AreaExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _AreaExtensionType + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrExtendedArea")] + public OpenlrExtendedArea openlrExtendedArea { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("areaExtended")] + public AreaExtended areaExtended { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _AreaExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrExtendedArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrExtendedArea + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrAreaLocationReference")] + public OpenlrAreaLocationReference openlrAreaLocationReference { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrAreaLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrCircleLocationReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrClosedLineLocationReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrGridLocationReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrPolygonLocationReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrRectangleLocationReference))] + public partial class OpenlrAreaLocationReference + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrAreaLocationReferenceExtension")] + public _ExtensionType openlrAreaLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ExtensionType + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _ExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AreaExtended", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AreaExtended + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("namedArea")] + public NamedArea namedArea { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _polygonArea; + + [System.Xml.Serialization.XmlElementAttribute("polygonArea")] + public System.Collections.ObjectModel.Collection polygonArea + { + get + { + return _polygonArea; + } + private set + { + _polygonArea = value; + } + } + + /// + /// Gets a value indicating whether the polygonArea collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool polygonAreaSpecified + { + get + { + return (this.polygonArea.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public AreaExtended() + { + this._polygonArea = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NamedArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NamedArea + { + + [System.Xml.Serialization.XmlElementAttribute("country")] + public CountryEnum country { get; set; } + + /// + /// Gets or sets a value indicating whether the country property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool countrySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nation")] + public MultilingualString nation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("county")] + public MultilingualString county { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("areaName")] + public MultilingualString areaName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("policeForceControlArea")] + public MultilingualString policeForceControlArea { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadOperatorControlArea")] + public MultilingualString roadOperatorControlArea { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("namedAreaExtension")] + public _ExtensionType namedAreaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CountryEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CountryEnum + { + + at, + + be, + + bg, + + ch, + + cs, + + cy, + + cz, + + de, + + dk, + + ee, + + es, + + fi, + + fo, + + fr, + + gb, + + gg, + + gi, + + gr, + + hr, + + hu, + + ie, + + im, + + [System.Xml.Serialization.XmlEnumAttribute("is")] + Item_is, + + it, + + je, + + li, + + lt, + + lu, + + lv, + + ma, + + mc, + + mk, + + mt, + + nl, + + no, + + pl, + + pt, + + ro, + + se, + + si, + + sk, + + sm, + + tr, + + va, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MultilingualString", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MultilingualString + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _values; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlArrayAttribute("values")] + [System.Xml.Serialization.XmlArrayItemAttribute("value", Namespace="http://datex2.eu/schema/2/2_0")] + public System.Collections.ObjectModel.Collection values + { + get + { + return _values; + } + private set + { + _values = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public MultilingualString() + { + this._values = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MultilingualStringvalues", Namespace="http://datex2.eu/schema/2/2_0", AnonymousType=true)] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MultilingualStringvalues + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _value; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("value")] + public System.Collections.ObjectModel.Collection value + { + get + { + return _value; + } + private set + { + _value = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public MultilingualStringvalues() + { + this._value = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MultilingualStringValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MultilingualStringValue + { + + /// + /// Gets or sets the text value. + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Xml.Serialization.XmlTextAttribute()] + public string Value { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlAttributeAttribute("lang")] + public string lang { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PolygonArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PolygonArea + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("sectionName")] + public MultilingualString sectionName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_PolygonAreaIndexPointCoordinates> _pointCoordinates; + + [System.Xml.Serialization.XmlElementAttribute("pointCoordinates")] + public System.Collections.ObjectModel.Collection<_PolygonAreaIndexPointCoordinates> pointCoordinates + { + get + { + return _pointCoordinates; + } + private set + { + _pointCoordinates = value; + } + } + + /// + /// Gets a value indicating whether the pointCoordinates collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pointCoordinatesSpecified + { + get + { + return (this.pointCoordinates.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public PolygonArea() + { + this._pointCoordinates = new System.Collections.ObjectModel.Collection<_PolygonAreaIndexPointCoordinates>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("polygonAreaExtension")] + public _ExtensionType polygonAreaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PolygonAreaIndexPointCoordinates", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PolygonAreaIndexPointCoordinates + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pointCoordinates")] + public PointCoordinates pointCoordinates { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("index")] + public int index { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PointCoordinates", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PointCoordinates + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("latitude")] + public float latitude { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("longitude")] + public float longitude { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointCoordinatesExtension")] + public _ExtensionType pointCoordinatesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ChargeBandVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ChargeBandVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "ChargeBand"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_ChargeBandVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_ContactDetailsVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_MeasurementSiteRecordVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_MeasurementSiteTableVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_ParkingRecordVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_ParkingRouteDetailsVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_ParkingTableVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_PredefinedItineraryVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_PredefinedLocationVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_PredefinedNonOrderedLocationGroupVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_SituationRecordVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_SituationVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_VmsUnitRecordVersionedReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_VmsUnitTableVersionedReference))] + public partial class VersionedReference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ContactDetailsVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ContactDetailsVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "ContactDetails"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_GenericPublicationExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _GenericPublicationExtensionType + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingTablePublication")] + public ParkingTablePublication parkingTablePublication { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStatusPublication")] + public ParkingStatusPublication parkingStatusPublication { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingVehiclesPublication")] + public ParkingVehiclesPublication parkingVehiclesPublication { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _GenericPublicationExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingTablePublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingTablePublication + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingTable; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingTable")] + public System.Collections.ObjectModel.Collection parkingTable + { + get + { + return _parkingTable; + } + private set + { + _parkingTable = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingTablePublication() + { + this._parkingTable = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("HeaderInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class HeaderInformation + { + + [System.Xml.Serialization.XmlElementAttribute("areaOfInterest")] + public AreaOfInterestEnum areaOfInterest { get; set; } + + /// + /// Gets or sets a value indicating whether the areaOfInterest property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool areaOfInterestSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("confidentiality")] + public ConfidentialityValueEnum confidentiality { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("informationStatus")] + public InformationStatusEnum informationStatus { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("urgency")] + public UrgencyEnum urgency { get; set; } + + /// + /// Gets or sets a value indicating whether the urgency property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool urgencySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("headerInformationExtension")] + public _ExtensionType headerInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AreaOfInterestEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AreaOfInterestEnum + { + + continentWide, + + national, + + neighbouringCountries, + + notSpecified, + + regional, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ConfidentialityValueEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ConfidentialityValueEnum + { + + internalUse, + + noRestriction, + + restrictedToAuthorities, + + restrictedToAuthoritiesAndTrafficOperators, + + restrictedToAuthoritiesTrafficOperatorsAndPublishers, + + restrictedToAuthoritiesTrafficOperatorsAndVms, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InformationStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum InformationStatusEnum + { + + real, + + securityExercise, + + technicalExercise, + + test, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UrgencyEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum UrgencyEnum + { + + extremelyUrgent, + + urgent, + + normalUrgency, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingTable", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingTable + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingTableName")] + public MultilingualString parkingTableName { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingTableVersionTime", DataType="dateTime")] + public System.DateTime parkingTableVersionTime { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingRecord; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRecord")] + public System.Collections.ObjectModel.Collection parkingRecord + { + get + { + return _parkingRecord; + } + private set + { + _parkingRecord = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingTable() + { + this._parkingRecord = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingTableExtension")] + public _ExtensionType parkingTableExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GroupOfParkingSites))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InterUrbanParkingSite))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ParkingSite))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SpecialLocationParkingSite))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UrbanParkingSite))] + public abstract partial class ParkingRecord + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingName")] + public MultilingualString parkingName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingAlias; + + [System.Xml.Serialization.XmlElementAttribute("parkingAlias")] + public System.Collections.ObjectModel.Collection parkingAlias + { + get + { + return _parkingAlias; + } + private set + { + _parkingAlias = value; + } + } + + /// + /// Gets a value indicating whether the parkingAlias collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingAliasSpecified + { + get + { + return (this.parkingAlias.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingRecord() + { + this._parkingAlias = new System.Collections.ObjectModel.Collection(); + this._parkingOccupanyDetectionType = new System.Collections.ObjectModel.Collection(); + this._emergencyContact = new System.Collections.ObjectModel.Collection(); + this._owner = new System.Collections.ObjectModel.Collection(); + this._responisbleAuthority = new System.Collections.ObjectModel.Collection(); + this._securityService = new System.Collections.ObjectModel.Collection(); + this.@__operator = new System.Collections.ObjectModel.Collection(); + this._servicePartner = new System.Collections.ObjectModel.Collection(); + this._parkingVMS = new System.Collections.ObjectModel.Collection(); + this._parkingRoute = new System.Collections.ObjectModel.Collection(); + this._parkingEquipmentOrServiceFacility = new System.Collections.ObjectModel.Collection<_ParkingRecordEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility>(); + this._parkingSpace = new System.Collections.ObjectModel.Collection<_ParkingSpace>(); + this._groupOfParkingSpaces = new System.Collections.ObjectModel.Collection<_GroupOfParkingSpaces>(); + this._permitsAndProhibitions = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingDescription")] + public MultilingualString parkingDescription { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordVersionTime", DataType="dateTime")] + public System.DateTime parkingRecordVersionTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfSpaces")] + public string parkingNumberOfSpaces { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingPrincipalNumberOfSpaces")] + public string parkingPrincipalNumberOfSpaces { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("maximumParkingDuration")] + public float maximumParkingDuration { get; set; } + + /// + /// Gets or sets a value indicating whether the maximumParkingDuration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maximumParkingDurationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("photoUrl")] + public string photoUrl { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urlLinkAddress")] + public string urlLinkAddress { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingOccupanyDetectionType; + + [System.Xml.Serialization.XmlElementAttribute("parkingOccupanyDetectionType")] + public System.Collections.ObjectModel.Collection parkingOccupanyDetectionType + { + get + { + return _parkingOccupanyDetectionType; + } + private set + { + _parkingOccupanyDetectionType = value; + } + } + + /// + /// Gets a value indicating whether the parkingOccupanyDetectionType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingOccupanyDetectionTypeSpecified + { + get + { + return (this.parkingOccupanyDetectionType.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _emergencyContact; + + [System.Xml.Serialization.XmlElementAttribute("emergencyContact")] + public System.Collections.ObjectModel.Collection emergencyContact + { + get + { + return _emergencyContact; + } + private set + { + _emergencyContact = value; + } + } + + /// + /// Gets a value indicating whether the emergencyContact collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool emergencyContactSpecified + { + get + { + return (this.emergencyContact.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _owner; + + [System.Xml.Serialization.XmlElementAttribute("owner")] + public System.Collections.ObjectModel.Collection owner + { + get + { + return _owner; + } + private set + { + _owner = value; + } + } + + /// + /// Gets a value indicating whether the owner collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ownerSpecified + { + get + { + return (this.owner.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _responisbleAuthority; + + [System.Xml.Serialization.XmlElementAttribute("responisbleAuthority")] + public System.Collections.ObjectModel.Collection responisbleAuthority + { + get + { + return _responisbleAuthority; + } + private set + { + _responisbleAuthority = value; + } + } + + /// + /// Gets a value indicating whether the responisbleAuthority collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool responisbleAuthoritySpecified + { + get + { + return (this.responisbleAuthority.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _securityService; + + [System.Xml.Serialization.XmlElementAttribute("securityService")] + public System.Collections.ObjectModel.Collection securityService + { + get + { + return _securityService; + } + private set + { + _securityService = value; + } + } + + /// + /// Gets a value indicating whether the securityService collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool securityServiceSpecified + { + get + { + return (this.securityService.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection @__operator; + + [System.Xml.Serialization.XmlElementAttribute("operator")] + public System.Collections.ObjectModel.Collection _operator + { + get + { + return @__operator; + } + private set + { + @__operator = value; + } + } + + /// + /// Gets a value indicating whether the _operator collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool _operatorSpecified + { + get + { + return (this._operator.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _servicePartner; + + [System.Xml.Serialization.XmlElementAttribute("servicePartner")] + public System.Collections.ObjectModel.Collection servicePartner + { + get + { + return _servicePartner; + } + private set + { + _servicePartner = value; + } + } + + /// + /// Gets a value indicating whether the servicePartner collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool servicePartnerSpecified + { + get + { + return (this.servicePartner.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingVMS; + + [System.Xml.Serialization.XmlElementAttribute("parkingVMS")] + public System.Collections.ObjectModel.Collection parkingVMS + { + get + { + return _parkingVMS; + } + private set + { + _parkingVMS = value; + } + } + + /// + /// Gets a value indicating whether the parkingVMS collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingVMSSpecified + { + get + { + return (this.parkingVMS.Count != 0); + } + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingLocation")] + public GroupOfLocations parkingLocation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingRoute; + + [System.Xml.Serialization.XmlElementAttribute("parkingRoute")] + public System.Collections.ObjectModel.Collection parkingRoute + { + get + { + return _parkingRoute; + } + private set + { + _parkingRoute = value; + } + } + + /// + /// Gets a value indicating whether the parkingRoute collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingRouteSpecified + { + get + { + return (this.parkingRoute.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingColour")] + public RGBColour parkingColour { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("onlyAssignedParking")] + public ParkingAssignment onlyAssignedParking { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("assignedParkingAmongOthers")] + public ParkingAssignment assignedParkingAmongOthers { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("prohibitedParking")] + public ParkingAssignment prohibitedParking { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tariffsAndPayment")] + public TariffsAndPayment tariffsAndPayment { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingRecordEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility> _parkingEquipmentOrServiceFacility; + + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacility")] + public System.Collections.ObjectModel.Collection<_ParkingRecordEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility> parkingEquipmentOrServiceFacility + { + get + { + return _parkingEquipmentOrServiceFacility; + } + private set + { + _parkingEquipmentOrServiceFacility = value; + } + } + + /// + /// Gets a value indicating whether the parkingEquipmentOrServiceFacility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingEquipmentOrServiceFacilitySpecified + { + get + { + return (this.parkingEquipmentOrServiceFacility.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingSpace> _parkingSpace; + + [System.Xml.Serialization.XmlElementAttribute("parkingSpace")] + public System.Collections.ObjectModel.Collection<_ParkingSpace> parkingSpace + { + get + { + return _parkingSpace; + } + private set + { + _parkingSpace = value; + } + } + + /// + /// Gets a value indicating whether the parkingSpace collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpaceSpecified + { + get + { + return (this.parkingSpace.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_GroupOfParkingSpaces> _groupOfParkingSpaces; + + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpaces")] + public System.Collections.ObjectModel.Collection<_GroupOfParkingSpaces> groupOfParkingSpaces + { + get + { + return _groupOfParkingSpaces; + } + private set + { + _groupOfParkingSpaces = value; + } + } + + /// + /// Gets a value indicating whether the groupOfParkingSpaces collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfParkingSpacesSpecified + { + get + { + return (this.groupOfParkingSpaces.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingThresholds")] + public ParkingThresholds parkingThresholds { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _permitsAndProhibitions; + + [System.Xml.Serialization.XmlElementAttribute("permitsAndProhibitions")] + public System.Collections.ObjectModel.Collection permitsAndProhibitions + { + get + { + return _permitsAndProhibitions; + } + private set + { + _permitsAndProhibitions = value; + } + } + + /// + /// Gets a value indicating whether the permitsAndProhibitions collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool permitsAndProhibitionsSpecified + { + get + { + return (this.permitsAndProhibitions.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("emergencyAssemblyPoint")] + public GroupOfLocations emergencyAssemblyPoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("entireArea")] + public Area entireArea { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordDimension")] + public Dimension parkingRecordDimension { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordExtension")] + public _ExtensionType parkingRecordExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OccupancyDetectionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OccupancyDetectionTypeEnum + { + + none, + + balancing, + + singleSpaceDetection, + + modelBased, + + manual, + + unspecified, + + other, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Contact", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ContactByReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ContactDetails))] + public partial class Contact + { + + [System.Xml.Serialization.XmlElementAttribute("contactUnknown")] + public bool contactUnknown { get; set; } + + /// + /// Gets or sets a value indicating whether the contactUnknown property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactUnknownSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("contactNotDefined")] + public bool contactNotDefined { get; set; } + + /// + /// Gets or sets a value indicating whether the contactNotDefined property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactNotDefinedSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("validityOfContact")] + public OverallPeriod validityOfContact { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactExtension")] + public _ExtensionType contactExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OverallPeriod", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OverallPeriod + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("overallStartTime", DataType="dateTime")] + public System.DateTime overallStartTime { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("overallEndTime", DataType="dateTime")] + public System.DateTime overallEndTime { get; set; } + + /// + /// Gets or sets a value indicating whether the overallEndTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool overallEndTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _validPeriod; + + [System.Xml.Serialization.XmlElementAttribute("validPeriod")] + public System.Collections.ObjectModel.Collection validPeriod + { + get + { + return _validPeriod; + } + private set + { + _validPeriod = value; + } + } + + /// + /// Gets a value indicating whether the validPeriod collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool validPeriodSpecified + { + get + { + return (this.validPeriod.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public OverallPeriod() + { + this._validPeriod = new System.Collections.ObjectModel.Collection(); + this._exceptionPeriod = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _exceptionPeriod; + + [System.Xml.Serialization.XmlElementAttribute("exceptionPeriod")] + public System.Collections.ObjectModel.Collection exceptionPeriod + { + get + { + return _exceptionPeriod; + } + private set + { + _exceptionPeriod = value; + } + } + + /// + /// Gets a value indicating whether the exceptionPeriod collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool exceptionPeriodSpecified + { + get + { + return (this.exceptionPeriod.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("overallPeriodExtension")] + public _ExtensionType overallPeriodExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Period", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Period + { + + [System.Xml.Serialization.XmlElementAttribute("startOfPeriod", DataType="dateTime")] + public System.DateTime startOfPeriod { get; set; } + + /// + /// Gets or sets a value indicating whether the startOfPeriod property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool startOfPeriodSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("endOfPeriod", DataType="dateTime")] + public System.DateTime endOfPeriod { get; set; } + + /// + /// Gets or sets a value indicating whether the endOfPeriod property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool endOfPeriodSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("periodName")] + public MultilingualString periodName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _recurringTimePeriodOfDay; + + [System.Xml.Serialization.XmlElementAttribute("recurringTimePeriodOfDay")] + public System.Collections.ObjectModel.Collection recurringTimePeriodOfDay + { + get + { + return _recurringTimePeriodOfDay; + } + private set + { + _recurringTimePeriodOfDay = value; + } + } + + /// + /// Gets a value indicating whether the recurringTimePeriodOfDay collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool recurringTimePeriodOfDaySpecified + { + get + { + return (this.recurringTimePeriodOfDay.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Period() + { + this._recurringTimePeriodOfDay = new System.Collections.ObjectModel.Collection(); + this._recurringDayWeekMonthPeriod = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _recurringDayWeekMonthPeriod; + + [System.Xml.Serialization.XmlElementAttribute("recurringDayWeekMonthPeriod")] + public System.Collections.ObjectModel.Collection recurringDayWeekMonthPeriod + { + get + { + return _recurringDayWeekMonthPeriod; + } + private set + { + _recurringDayWeekMonthPeriod = value; + } + } + + /// + /// Gets a value indicating whether the recurringDayWeekMonthPeriod collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool recurringDayWeekMonthPeriodSpecified + { + get + { + return (this.recurringDayWeekMonthPeriod.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("periodExtension")] + public _PeriodExtensionType periodExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TimePeriodOfDay", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TimePeriodByHour))] + public abstract partial class TimePeriodOfDay + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("timePeriodOfDayExtension")] + public _ExtensionType timePeriodOfDayExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DayWeekMonth", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DayWeekMonth + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableDay; + + [System.Xml.Serialization.XmlElementAttribute("applicableDay")] + public System.Collections.ObjectModel.Collection applicableDay + { + get + { + return _applicableDay; + } + private set + { + _applicableDay = value; + } + } + + /// + /// Gets a value indicating whether the applicableDay collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableDaySpecified + { + get + { + return (this.applicableDay.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public DayWeekMonth() + { + this._applicableDay = new System.Collections.ObjectModel.Collection(); + this._applicableWeek = new System.Collections.ObjectModel.Collection(); + this._applicableMonth = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableWeek; + + [System.Xml.Serialization.XmlElementAttribute("applicableWeek")] + public System.Collections.ObjectModel.Collection applicableWeek + { + get + { + return _applicableWeek; + } + private set + { + _applicableWeek = value; + } + } + + /// + /// Gets a value indicating whether the applicableWeek collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableWeekSpecified + { + get + { + return (this.applicableWeek.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableMonth; + + [System.Xml.Serialization.XmlElementAttribute("applicableMonth")] + public System.Collections.ObjectModel.Collection applicableMonth + { + get + { + return _applicableMonth; + } + private set + { + _applicableMonth = value; + } + } + + /// + /// Gets a value indicating whether the applicableMonth collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableMonthSpecified + { + get + { + return (this.applicableMonth.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dayWeekMonthExtension")] + public _ExtensionType dayWeekMonthExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DayEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DayEnum + { + + monday, + + tuesday, + + wednesday, + + thursday, + + friday, + + saturday, + + sunday, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WeekOfMonthEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum WeekOfMonthEnum + { + + firstWeekOfMonth, + + secondWeekOfMonth, + + thirdWeekOfMonth, + + fourthWeekOfMonth, + + fifthWeekOfMonth, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MonthOfYearEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum MonthOfYearEnum + { + + january, + + february, + + march, + + april, + + may, + + june, + + july, + + august, + + september, + + october, + + november, + + december, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PeriodExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PeriodExtensionType + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _periodExtended; + + [System.Xml.Serialization.XmlArrayAttribute("periodExtended")] + [System.Xml.Serialization.XmlArrayItemAttribute("recurringSpecialDay", Namespace="http://datex2.eu/schema/2/2_0")] + public System.Collections.ObjectModel.Collection periodExtended + { + get + { + return _periodExtended; + } + private set + { + _periodExtended = value; + } + } + + /// + /// Gets a value indicating whether the periodExtended collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool periodExtendedSpecified + { + get + { + return (this.periodExtended.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _PeriodExtensionType() + { + this._periodExtended = new System.Collections.ObjectModel.Collection(); + this._any = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PeriodExtended", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PeriodExtended + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _recurringSpecialDay; + + [System.Xml.Serialization.XmlElementAttribute("recurringSpecialDay")] + public System.Collections.ObjectModel.Collection recurringSpecialDay + { + get + { + return _recurringSpecialDay; + } + private set + { + _recurringSpecialDay = value; + } + } + + /// + /// Gets a value indicating whether the recurringSpecialDay collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool recurringSpecialDaySpecified + { + get + { + return (this.recurringSpecialDay.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public PeriodExtended() + { + this._recurringSpecialDay = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpecialDay", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SpecialDay + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("intersectWithApplicableDays")] + public bool intersectWithApplicableDays { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("specialDayType")] + public SpecialDayTypeEnum specialDayType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("specialDayName")] + public MultilingualString specialDayName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _publicHoliday; + + [System.Xml.Serialization.XmlElementAttribute("publicHoliday")] + public System.Collections.ObjectModel.Collection publicHoliday + { + get + { + return _publicHoliday; + } + private set + { + _publicHoliday = value; + } + } + + /// + /// Gets a value indicating whether the publicHoliday collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool publicHolidaySpecified + { + get + { + return (this.publicHoliday.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public SpecialDay() + { + this._publicHoliday = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("specialDayExtension")] + public _ExtensionType specialDayExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpecialDayTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum SpecialDayTypeEnum + { + + bicycleRaceDay, + + bullFightDay, + + carnivalDay, + + exhibitionDay, + + festivalDay, + + gamesDay, + + horseRaceMeetingDay, + + huntMeetingDay, + + marathonRaceDay, + + marketDay, + + motorSportRaceMeetingDay, + + nonWorkingDay, + + raceMeetingDay, + + regattaDay, + + showDay, + + sportsMeetingDay, + + workingDay, + + schoolDay, + + electionDay, + + publicHoliday, + + holidays, + + undefinedDayType, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PublicHoliday", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PublicHoliday + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("country")] + public CountryEnum country { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("countrySubdivision")] + public string countrySubdivision { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("region")] + public MultilingualString region { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("publicHolidayType")] + public PublicHolidayTypeEnum publicHolidayType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("publicHolidayName")] + public MultilingualString publicHolidayName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("publicHolidayExtension")] + public _ExtensionType publicHolidayExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PublicHolidayTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PublicHolidayTypeEnum + { + + betweenChristmasAndNewYear, + + boxingDay, + + bridgeHoliday, + + christmasEve, + + christmasDayAndBoxingDay, + + christmasHolidayPeriod, + + dayFollowingPublicHoliday, + + easterFridayHoliday, + + easterHolidayPeriod, + + easterMondayHoliday, + + easterSaturday, + + easterSunday, + + eveOfPublicHoliday, + + holidayPeriod, + + inLieuOfPublicHoliday, + + january2ndHoliday, + + newYearsDay, + + newYearsEve, + + notPublicHoliday, + + publicHoliday, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingVMS", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingVMS + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitUsedToManageParking")] + public _VmsUnitRecordVersionedReference vmsUnitUsedToManageParking { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsOperator; + + [System.Xml.Serialization.XmlElementAttribute("vmsOperator")] + public System.Collections.ObjectModel.Collection vmsOperator + { + get + { + return _vmsOperator; + } + private set + { + _vmsOperator = value; + } + } + + /// + /// Gets a value indicating whether the vmsOperator collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsOperatorSpecified + { + get + { + return (this.vmsOperator.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingVMS() + { + this._vmsOperator = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingVMSExtension")] + public _ExtensionType parkingVMSExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsUnitRecordVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsUnitRecordVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "VmsUnitRecord"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfLocations", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Area))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Itinerary))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ItineraryByIndexedLocations))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ItineraryByReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Linear))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Location))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LocationByReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NetworkLocation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonOrderedLocationGroupByList))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonOrderedLocationGroupByReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonOrderedLocations))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Point))] + public abstract partial class GroupOfLocations + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfLocationsExtension")] + public _ExtensionType groupOfLocationsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRoute", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ParkingRouteByReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ParkingRouteDetails))] + public abstract partial class ParkingRoute + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteColour")] + public RGBColour parkingRouteColour { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteExtension")] + public _ExtensionType parkingRouteExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RGBColour", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RGBColour + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("rgbRedValue")] + public string rgbRedValue { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("rgbGreenValue")] + public string rgbGreenValue { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("rgbBlueValue")] + public string rgbBlueValue { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("colourName")] + public MultilingualString colourName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("rgbColourExtension")] + public _ExtensionType rgbColourExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingAssignment", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingAssignment + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForUser; + + [System.Xml.Serialization.XmlElementAttribute("applicableForUser")] + public System.Collections.ObjectModel.Collection applicableForUser + { + get + { + return _applicableForUser; + } + private set + { + _applicableForUser = value; + } + } + + /// + /// Gets a value indicating whether the applicableForUser collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForUserSpecified + { + get + { + return (this.applicableForUser.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingAssignment() + { + this._applicableForUser = new System.Collections.ObjectModel.Collection(); + this._parkingDuration = new System.Collections.ObjectModel.Collection(); + this._vehicleCharacteristics = new System.Collections.ObjectModel.Collection(); + this._hazardousMaterials = new System.Collections.ObjectModel.Collection(); + this._timePeriodByHour = new System.Collections.ObjectModel.Collection(); + this._parkingPermit = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingDuration; + + [System.Xml.Serialization.XmlElementAttribute("parkingDuration")] + public System.Collections.ObjectModel.Collection parkingDuration + { + get + { + return _parkingDuration; + } + private set + { + _parkingDuration = value; + } + } + + /// + /// Gets a value indicating whether the parkingDuration collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingDurationSpecified + { + get + { + return (this.parkingDuration.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleCharacteristics; + + [System.Xml.Serialization.XmlElementAttribute("vehicleCharacteristics")] + public System.Collections.ObjectModel.Collection vehicleCharacteristics + { + get + { + return _vehicleCharacteristics; + } + private set + { + _vehicleCharacteristics = value; + } + } + + /// + /// Gets a value indicating whether the vehicleCharacteristics collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleCharacteristicsSpecified + { + get + { + return (this.vehicleCharacteristics.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _hazardousMaterials; + + [System.Xml.Serialization.XmlElementAttribute("hazardousMaterials")] + public System.Collections.ObjectModel.Collection hazardousMaterials + { + get + { + return _hazardousMaterials; + } + private set + { + _hazardousMaterials = value; + } + } + + /// + /// Gets a value indicating whether the hazardousMaterials collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool hazardousMaterialsSpecified + { + get + { + return (this.hazardousMaterials.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _timePeriodByHour; + + [System.Xml.Serialization.XmlElementAttribute("timePeriodByHour")] + public System.Collections.ObjectModel.Collection timePeriodByHour + { + get + { + return _timePeriodByHour; + } + private set + { + _timePeriodByHour = value; + } + } + + /// + /// Gets a value indicating whether the timePeriodByHour collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool timePeriodByHourSpecified + { + get + { + return (this.timePeriodByHour.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingPermit; + + [System.Xml.Serialization.XmlElementAttribute("parkingPermit")] + public System.Collections.ObjectModel.Collection parkingPermit + { + get + { + return _parkingPermit; + } + private set + { + _parkingPermit = value; + } + } + + /// + /// Gets a value indicating whether the parkingPermit collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingPermitSpecified + { + get + { + return (this.parkingPermit.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingAssignmentExtension")] + public _ExtensionType parkingAssignmentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UserTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum UserTypeEnum + { + + allUsers, + + shoppers, + + hotelGuests, + + subscribers, + + reservationHolders, + + seasonTicketHolders, + + registeredDisabledUsers, + + disabled, + + handicapped, + + hearingImpaired, + + visuallyImpaired, + + wheelchairUsers, + + elderlyUsers, + + families, + + men, + + women, + + pregnantWomen, + + pensioners, + + students, + + staff, + + employees, + + customers, + + visitors, + + members, + + shortTermParker, + + longTermParker, + + overnightParker, + + sportEventAwaySupporters, + + sportEventHomeSupporters, + + residents, + + commuters, + + parkAndRideUsers, + + parkAndWalkUser, + + parkAndCycleUser, + + other, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingDurationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingDurationEnum + { + + pickUpDropOff, + + shortTerm, + + shortTerm24hours, + + shortTerm48hours, + + shortTerm72hours, + + shortTerm96hours, + + longTerm, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleCharacteristics + { + + [System.Xml.Serialization.XmlElementAttribute("fuelType")] + public FuelTypeEnum fuelType { get; set; } + + /// + /// Gets or sets a value indicating whether the fuelType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fuelTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("loadType")] + public LoadTypeEnum loadType { get; set; } + + /// + /// Gets or sets a value indicating whether the loadType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool loadTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vehicleEquipment")] + public VehicleEquipmentEnum vehicleEquipment { get; set; } + + /// + /// Gets or sets a value indicating whether the vehicleEquipment property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleEquipmentSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleType; + + [System.Xml.Serialization.XmlElementAttribute("vehicleType")] + public System.Collections.ObjectModel.Collection vehicleType + { + get + { + return _vehicleType; + } + private set + { + _vehicleType = value; + } + } + + /// + /// Gets a value indicating whether the vehicleType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleTypeSpecified + { + get + { + return (this.vehicleType.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VehicleCharacteristics() + { + this._vehicleType = new System.Collections.ObjectModel.Collection(); + this._grossWeightCharacteristic = new System.Collections.ObjectModel.Collection(); + this._heightCharacteristic = new System.Collections.ObjectModel.Collection(); + this._lengthCharacteristic = new System.Collections.ObjectModel.Collection(); + this._widthCharacteristic = new System.Collections.ObjectModel.Collection(); + this._heaviestAxleWeightCharacteristic = new System.Collections.ObjectModel.Collection(); + this._numberOfAxlesCharacteristic = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlElementAttribute("vehicleUsage")] + public VehicleUsageEnum vehicleUsage { get; set; } + + /// + /// Gets or sets a value indicating whether the vehicleUsage property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleUsageSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _grossWeightCharacteristic; + + [System.Xml.Serialization.XmlElementAttribute("grossWeightCharacteristic")] + public System.Collections.ObjectModel.Collection grossWeightCharacteristic + { + get + { + return _grossWeightCharacteristic; + } + private set + { + _grossWeightCharacteristic = value; + } + } + + /// + /// Gets a value indicating whether the grossWeightCharacteristic collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool grossWeightCharacteristicSpecified + { + get + { + return (this.grossWeightCharacteristic.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _heightCharacteristic; + + [System.Xml.Serialization.XmlElementAttribute("heightCharacteristic")] + public System.Collections.ObjectModel.Collection heightCharacteristic + { + get + { + return _heightCharacteristic; + } + private set + { + _heightCharacteristic = value; + } + } + + /// + /// Gets a value indicating whether the heightCharacteristic collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool heightCharacteristicSpecified + { + get + { + return (this.heightCharacteristic.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _lengthCharacteristic; + + [System.Xml.Serialization.XmlElementAttribute("lengthCharacteristic")] + public System.Collections.ObjectModel.Collection lengthCharacteristic + { + get + { + return _lengthCharacteristic; + } + private set + { + _lengthCharacteristic = value; + } + } + + /// + /// Gets a value indicating whether the lengthCharacteristic collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lengthCharacteristicSpecified + { + get + { + return (this.lengthCharacteristic.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _widthCharacteristic; + + [System.Xml.Serialization.XmlElementAttribute("widthCharacteristic")] + public System.Collections.ObjectModel.Collection widthCharacteristic + { + get + { + return _widthCharacteristic; + } + private set + { + _widthCharacteristic = value; + } + } + + /// + /// Gets a value indicating whether the widthCharacteristic collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool widthCharacteristicSpecified + { + get + { + return (this.widthCharacteristic.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _heaviestAxleWeightCharacteristic; + + [System.Xml.Serialization.XmlElementAttribute("heaviestAxleWeightCharacteristic")] + public System.Collections.ObjectModel.Collection heaviestAxleWeightCharacteristic + { + get + { + return _heaviestAxleWeightCharacteristic; + } + private set + { + _heaviestAxleWeightCharacteristic = value; + } + } + + /// + /// Gets a value indicating whether the heaviestAxleWeightCharacteristic collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool heaviestAxleWeightCharacteristicSpecified + { + get + { + return (this.heaviestAxleWeightCharacteristic.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _numberOfAxlesCharacteristic; + + [System.Xml.Serialization.XmlElementAttribute("numberOfAxlesCharacteristic")] + public System.Collections.ObjectModel.Collection numberOfAxlesCharacteristic + { + get + { + return _numberOfAxlesCharacteristic; + } + private set + { + _numberOfAxlesCharacteristic = value; + } + } + + /// + /// Gets a value indicating whether the numberOfAxlesCharacteristic collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool numberOfAxlesCharacteristicSpecified + { + get + { + return (this.numberOfAxlesCharacteristic.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCharacteristicsExtension")] + public _VehicleCharacteristicsExtensionType vehicleCharacteristicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("FuelTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum FuelTypeEnum + { + + battery, + + biodiesel, + + diesel, + + dieselBatteryHybrid, + + ethanol, + + hydrogen, + + liquidGas, + + lpg, + + methane, + + petrol, + + petrolBatteryHybrid, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LoadTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LoadTypeEnum + { + + abnormalLoad, + + ammunition, + + chemicals, + + combustibleMaterials, + + corrosiveMaterials, + + debris, + + empty, + + explosiveMaterials, + + extraHighLoad, + + extraLongLoad, + + extraWideLoad, + + fuel, + + glass, + + goods, + + hazardousMaterials, + + liquid, + + livestock, + + materials, + + materialsDangerousForPeople, + + materialsDangerousForTheEnvironment, + + materialsDangerousForWater, + + oil, + + ordinary, + + perishableProducts, + + petrol, + + pharmaceuticalMaterials, + + radioactiveMaterials, + + refuse, + + toxicMaterials, + + vehicles, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleEquipmentEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleEquipmentEnum + { + + notUsingSnowChains, + + notUsingSnowChainsOrTyres, + + snowChainsInUse, + + snowTyresInUse, + + snowChainsOrTyresInUse, + + withoutSnowTyresOrChainsOnBoard, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleTypeEnum + { + + agriculturalVehicle, + + anyVehicle, + + articulatedVehicle, + + bicycle, + + bus, + + car, + + caravan, + + carOrLightVehicle, + + carWithCaravan, + + carWithTrailer, + + constructionOrMaintenanceVehicle, + + fourWheelDrive, + + highSidedVehicle, + + lorry, + + moped, + + motorcycle, + + motorcycleWithSideCar, + + motorscooter, + + tanker, + + threeWheeledVehicle, + + trailer, + + tram, + + twoWheeledVehicle, + + van, + + vehicleWithCatalyticConverter, + + vehicleWithoutCatalyticConverter, + + vehicleWithCaravan, + + vehicleWithTrailer, + + withEvenNumberedRegistrationPlates, + + withOddNumberedRegistrationPlates, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleUsageEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleUsageEnum + { + + agricultural, + + commercial, + + emergencyServices, + + military, + + nonCommercial, + + patrol, + + recoveryServices, + + roadMaintenanceOrConstruction, + + roadOperator, + + taxi, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GrossWeightCharacteristic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GrossWeightCharacteristic + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comparisonOperator")] + public ComparisonOperatorEnum comparisonOperator { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("grossVehicleWeight")] + public float grossVehicleWeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("grossWeightCharacteristicExtension")] + public _ExtensionType grossWeightCharacteristicExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ComparisonOperatorEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ComparisonOperatorEnum + { + + equalTo, + + greaterThan, + + greaterThanOrEqualTo, + + lessThan, + + lessThanOrEqualTo, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("HeightCharacteristic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class HeightCharacteristic + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comparisonOperator")] + public ComparisonOperatorEnum comparisonOperator { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicleHeight")] + public float vehicleHeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("heightCharacteristicExtension")] + public _ExtensionType heightCharacteristicExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LengthCharacteristic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LengthCharacteristic + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comparisonOperator")] + public ComparisonOperatorEnum comparisonOperator { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicleLength")] + public float vehicleLength { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("lengthCharacteristicExtension")] + public _ExtensionType lengthCharacteristicExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WidthCharacteristic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WidthCharacteristic + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comparisonOperator")] + public ComparisonOperatorEnum comparisonOperator { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicleWidth")] + public float vehicleWidth { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("widthCharacteristicExtension")] + public _ExtensionType widthCharacteristicExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("HeaviestAxleWeightCharacteristic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class HeaviestAxleWeightCharacteristic + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comparisonOperator")] + public ComparisonOperatorEnum comparisonOperator { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("heaviestAxleWeight")] + public float heaviestAxleWeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("heaviestAxleWeightCharacteristicExtension")] + public _ExtensionType heaviestAxleWeightCharacteristicExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NumberOfAxlesCharacteristic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NumberOfAxlesCharacteristic + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comparisonOperator")] + public ComparisonOperatorEnum comparisonOperator { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("numberOfAxles")] + public string numberOfAxles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfAxlesCharacteristicExtension")] + public _ExtensionType numberOfAxlesCharacteristicExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VehicleCharacteristicsExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VehicleCharacteristicsExtensionType + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCharacteristicsExtended")] + public VehicleCharacteristicsExtended vehicleCharacteristicsExtended { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _VehicleCharacteristicsExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleCharacteristicsExtended", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleCharacteristicsExtended + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _emissionClassification; + + [System.Xml.Serialization.XmlElementAttribute("emissionClassification")] + public System.Collections.ObjectModel.Collection emissionClassification + { + get + { + return _emissionClassification; + } + private set + { + _emissionClassification = value; + } + } + + /// + /// Gets a value indicating whether the emissionClassification collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool emissionClassificationSpecified + { + get + { + return (this.emissionClassification.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VehicleCharacteristicsExtended() + { + this._emissionClassification = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlElementAttribute("operationFreeOfEmission")] + public bool operationFreeOfEmission { get; set; } + + /// + /// Gets or sets a value indicating whether the operationFreeOfEmission property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool operationFreeOfEmissionSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("loadType2")] + public LoadType2Enum loadType2 { get; set; } + + /// + /// Gets or sets a value indicating whether the loadType2 property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool loadType2Specified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vehicleType2")] + public VehicleType2Enum vehicleType2 { get; set; } + + /// + /// Gets or sets a value indicating whether the vehicleType2 property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleType2Specified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("fuelType2")] + public FuelType2Enum fuelType2 { get; set; } + + /// + /// Gets or sets a value indicating whether the fuelType2 property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fuelType2Specified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vehicleUsage2")] + public VehicleUsage2Enum vehicleUsage2 { get; set; } + + /// + /// Gets or sets a value indicating whether the vehicleUsage2 property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleUsage2Specified { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LoadType2Enum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LoadType2Enum + { + + refrigeratedGoods, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleType2Enum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleType2Enum + { + + motorhome, + + lightGoodsVehicle, + + heavyGoodsVehicle, + + minibus, + + smallCar, + + largeCar, + + lightGoodsVehicleWithTrailer, + + heavyGoodsVehicleWithTrailer, + + heavyHaulageVehicle, + + passengerCar, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("FuelType2Enum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum FuelType2Enum + { + + all, + + petrol95Octane, + + petrol98Octane, + + petrolLeaded, + + petrolUnleaded, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleUsage2Enum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleUsage2Enum + { + + cityLogistics, + + carSharing, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("HazardousMaterials", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class HazardousMaterials + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("chemicalName")] + public MultilingualString chemicalName { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dangerousGoodsFlashPoint")] + public float dangerousGoodsFlashPoint { get; set; } + + /// + /// Gets or sets a value indicating whether the dangerousGoodsFlashPoint property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dangerousGoodsFlashPointSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dangerousGoodsRegulations")] + public DangerousGoodsRegulationsEnum dangerousGoodsRegulations { get; set; } + + /// + /// Gets or sets a value indicating whether the dangerousGoodsRegulations property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dangerousGoodsRegulationsSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("hazardCodeIdentification")] + public string hazardCodeIdentification { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("hazardCodeVersionNumber")] + public string hazardCodeVersionNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("hazardSubstanceItemPageNumber")] + public string hazardSubstanceItemPageNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tremCardNumber")] + public string tremCardNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("undgNumber")] + public string undgNumber { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("volumeOfDangerousGoods")] + public float volumeOfDangerousGoods { get; set; } + + /// + /// Gets or sets a value indicating whether the volumeOfDangerousGoods property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool volumeOfDangerousGoodsSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("weightOfDangerousGoods")] + public float weightOfDangerousGoods { get; set; } + + /// + /// Gets or sets a value indicating whether the weightOfDangerousGoods property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool weightOfDangerousGoodsSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("hazardousMaterialsExtension")] + public _ExtensionType hazardousMaterialsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DangerousGoodsRegulationsEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DangerousGoodsRegulationsEnum + { + + adr, + + iataIcao, + + imoImdg, + + railroadDangerousGoodsBook, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TimePeriodByHour", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TimePeriodByHour : TimePeriodOfDay + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("startTimeOfPeriod", DataType="time")] + public System.DateTime startTimeOfPeriod { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("endTimeOfPeriod", DataType="time")] + public System.DateTime endTimeOfPeriod { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("timePeriodByHourExtension")] + public _ExtensionType timePeriodByHourExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingPermit", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingPermit + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingPermitType")] + public PermitTypeEnum parkingPermitType { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingPermitScheme")] + public string parkingPermitScheme { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingPermitIdentifier")] + public string parkingPermitIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingPermitExtension")] + public _ExtensionType parkingPermitExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PermitTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PermitTypeEnum + { + + blueZonePermit, + + careTakingPermit, + + carpoolingPermit, + + carSharingPermit, + + disabledPermit, + + emergencyVehiclePermit, + + employeePermit, + + fairPermit, + + governmentPermit, + + maintenanceVehiclePermit, + + residentPermit, + + roadWorksPermit, + + specificIdentifiedVehiclePermit, + + taxiPermit, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TariffsAndPayment", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TariffsAndPayment + { + + [System.Xml.Serialization.XmlElementAttribute("lastUpdated", DataType="dateTime")] + public System.DateTime lastUpdated { get; set; } + + /// + /// Gets or sets a value indicating whether the lastUpdated property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastUpdatedSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _acceptedMeansOfPayment; + + [System.Xml.Serialization.XmlElementAttribute("acceptedMeansOfPayment")] + public System.Collections.ObjectModel.Collection acceptedMeansOfPayment + { + get + { + return _acceptedMeansOfPayment; + } + private set + { + _acceptedMeansOfPayment = value; + } + } + + /// + /// Gets a value indicating whether the acceptedMeansOfPayment collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool acceptedMeansOfPaymentSpecified + { + get + { + return (this.acceptedMeansOfPayment.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public TariffsAndPayment() + { + this._acceptedMeansOfPayment = new System.Collections.ObjectModel.Collection(); + this._paymentMode = new System.Collections.ObjectModel.Collection(); + this._chargeBand = new System.Collections.ObjectModel.Collection(); + this._chargeBandByReference = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _paymentMode; + + [System.Xml.Serialization.XmlElementAttribute("paymentMode")] + public System.Collections.ObjectModel.Collection paymentMode + { + get + { + return _paymentMode; + } + private set + { + _paymentMode = value; + } + } + + /// + /// Gets a value indicating whether the paymentMode collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool paymentModeSpecified + { + get + { + return (this.paymentMode.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("paymentAdditionalDescription")] + public MultilingualString paymentAdditionalDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("freeOfCharge")] + public bool freeOfCharge { get; set; } + + /// + /// Gets or sets a value indicating whether the freeOfCharge property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool freeOfChargeSpecified { get; set; } + + /// + /// Total number of digits: 8. + /// Total number of digits in fraction: 2. + /// + [System.Xml.Serialization.XmlElementAttribute("reservationFee")] + public decimal reservationFee { get; set; } + + /// + /// Gets or sets a value indicating whether the reservationFee property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool reservationFeeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urlLinkAddress")] + public string urlLinkAddress { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _chargeBand; + + [System.Xml.Serialization.XmlElementAttribute("chargeBand")] + public System.Collections.ObjectModel.Collection chargeBand + { + get + { + return _chargeBand; + } + private set + { + _chargeBand = value; + } + } + + /// + /// Gets a value indicating whether the chargeBand collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool chargeBandSpecified + { + get + { + return (this.chargeBand.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _chargeBandByReference; + + [System.Xml.Serialization.XmlElementAttribute("chargeBandByReference")] + public System.Collections.ObjectModel.Collection chargeBandByReference + { + get + { + return _chargeBandByReference; + } + private set + { + _chargeBandByReference = value; + } + } + + /// + /// Gets a value indicating whether the chargeBandByReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool chargeBandByReferenceSpecified + { + get + { + return (this.chargeBandByReference.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("acceptedPaymentCards")] + public AcceptedPaymentCards acceptedPaymentCards { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tariffsAndPaymentExtension")] + public _ExtensionType tariffsAndPaymentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeansOfPaymentEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum MeansOfPaymentEnum + { + + paymentCard, + + cash, + + cashCoinsOnly, + + directCashTransfer, + + electronicSettlement, + + rfid, + + mobileApp, + + payBySMS, + + mobilePhone, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingPaymentModeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingPaymentModeEnum + { + + payAndDisplay, + + payManualAtExitBooth, + + payPriorToExit, + + payByPrepaidToken, + + payAndExit, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ChargeBand", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChargeBand + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("chargeCurrency")] + public CurrencyEnum chargeCurrency { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("maximumDuration")] + public float maximumDuration { get; set; } + + /// + /// Gets or sets a value indicating whether the maximumDuration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maximumDurationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeBandName")] + public MultilingualString chargeBandName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForUser; + + [System.Xml.Serialization.XmlElementAttribute("applicableForUser")] + public System.Collections.ObjectModel.Collection applicableForUser + { + get + { + return _applicableForUser; + } + private set + { + _applicableForUser = value; + } + } + + /// + /// Gets a value indicating whether the applicableForUser collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForUserSpecified + { + get + { + return (this.applicableForUser.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ChargeBand() + { + this._applicableForUser = new System.Collections.ObjectModel.Collection(); + this._charge = new System.Collections.ObjectModel.Collection(); + this._applicableForVehicles = new System.Collections.ObjectModel.Collection(); + this._parkingPermit = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _charge; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("charge")] + public System.Collections.ObjectModel.Collection charge + { + get + { + return _charge; + } + private set + { + _charge = value; + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("applicableForPeriod")] + public OverallPeriod applicableForPeriod { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForVehicles; + + [System.Xml.Serialization.XmlElementAttribute("applicableForVehicles")] + public System.Collections.ObjectModel.Collection applicableForVehicles + { + get + { + return _applicableForVehicles; + } + private set + { + _applicableForVehicles = value; + } + } + + /// + /// Gets a value indicating whether the applicableForVehicles collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForVehiclesSpecified + { + get + { + return (this.applicableForVehicles.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingPermit; + + [System.Xml.Serialization.XmlElementAttribute("parkingPermit")] + public System.Collections.ObjectModel.Collection parkingPermit + { + get + { + return _parkingPermit; + } + private set + { + _parkingPermit = value; + } + } + + /// + /// Gets a value indicating whether the parkingPermit collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingPermitSpecified + { + get + { + return (this.parkingPermit.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeBandExtension")] + public _ExtensionType chargeBandExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CurrencyEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CurrencyEnum + { + + eur, + + all, + + amd, + + azn, + + bam, + + bgn, + + byr, + + chf, + + czk, + + dkk, + + gbp, + + gel, + + hrk, + + huf, + + isk, + + ltl, + + mdl, + + mkd, + + nok, + + pln, + + ron, + + rsd, + + rub, + + sek, + + [System.Xml.Serialization.XmlEnumAttribute("try")] + Item_try, + + uah, + + usd, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Charge", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Charge + { + + /// + /// Total number of digits: 8. + /// Total number of digits in fraction: 2. + /// + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("charge")] + public decimal charge { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("chargeInterval")] + public float chargeInterval { get; set; } + + /// + /// Gets or sets a value indicating whether the chargeInterval property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool chargeIntervalSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("chargeType")] + public ChargeTypeEnum chargeType { get; set; } + + /// + /// Gets or sets a value indicating whether the chargeType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool chargeTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeTypeDescription")] + public MultilingualString chargeTypeDescription { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxIterationsOfCharge")] + public string maxIterationsOfCharge { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minIterationsOfCharge")] + public string minIterationsOfCharge { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeOrderIndex")] + public string chargeOrderIndex { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("timePeriodOfDay")] + public TimePeriodOfDay timePeriodOfDay { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeExtension")] + public _ExtensionType chargeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ChargeTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ChargeTypeEnum + { + + minimum, + + maximum, + + additionalIntervalPrice, + + seasonTicket, + + temporaryPrice, + + firstIntervalPrice, + + freeParking, + + flat, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ChargeBandByReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ChargeBandByReference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("chargeBandReference")] + public _ChargeBandVersionedReference chargeBandReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeBandByReferenceExtension")] + public _ExtensionType chargeBandByReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AcceptedPaymentCards", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AcceptedPaymentCards + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _paymentCards; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("paymentCards")] + public System.Collections.ObjectModel.Collection paymentCards + { + get + { + return _paymentCards; + } + private set + { + _paymentCards = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public AcceptedPaymentCards() + { + this._paymentCards = new System.Collections.ObjectModel.Collection(); + this._otherPaymentCards = new System.Collections.ObjectModel.Collection(); + this._paymentCardBrands = new System.Collections.ObjectModel.Collection(); + this._otherPaymentCardBrands = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _otherPaymentCards; + + [System.Xml.Serialization.XmlElementAttribute("otherPaymentCards")] + public System.Collections.ObjectModel.Collection otherPaymentCards + { + get + { + return _otherPaymentCards; + } + private set + { + _otherPaymentCards = value; + } + } + + /// + /// Gets a value indicating whether the otherPaymentCards collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool otherPaymentCardsSpecified + { + get + { + return (this.otherPaymentCards.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _paymentCardBrands; + + [System.Xml.Serialization.XmlElementAttribute("paymentCardBrands")] + public System.Collections.ObjectModel.Collection paymentCardBrands + { + get + { + return _paymentCardBrands; + } + private set + { + _paymentCardBrands = value; + } + } + + /// + /// Gets a value indicating whether the paymentCardBrands collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool paymentCardBrandsSpecified + { + get + { + return (this.paymentCardBrands.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _otherPaymentCardBrands; + + [System.Xml.Serialization.XmlElementAttribute("otherPaymentCardBrands")] + public System.Collections.ObjectModel.Collection otherPaymentCardBrands + { + get + { + return _otherPaymentCardBrands; + } + private set + { + _otherPaymentCardBrands = value; + } + } + + /// + /// Gets a value indicating whether the otherPaymentCardBrands collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool otherPaymentCardBrandsSpecified + { + get + { + return (this.otherPaymentCardBrands.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("acceptedPaymentCardsExtension")] + public _ExtensionType acceptedPaymentCardsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PaymentCardTypesEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PaymentCardTypesEnum + { + + creditCard, + + debitCard, + + chargeCard, + + fleetCard, + + storedValueCard, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PaymentCardBrandsEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PaymentCardBrandsEnum + { + + americanExpress, + + cirrus, + + dinersClub, + + discoverCard, + + giroCard, + + maestro, + + masterCard, + + visa, + + vPay, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRecordEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRecordEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacility")] + public ParkingEquipmentOrServiceFacility parkingEquipmentOrServiceFacility { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("equipmentOrServiceFacilityIndex")] + public int equipmentOrServiceFacilityIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingEquipmentOrServiceFacility", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Equipment))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceFacility))] + public abstract partial class ParkingEquipmentOrServiceFacility + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _equipmentOrServiceFacilityIdentifier; + + [System.Xml.Serialization.XmlElementAttribute("equipmentOrServiceFacilityIdentifier")] + public System.Collections.ObjectModel.Collection equipmentOrServiceFacilityIdentifier + { + get + { + return _equipmentOrServiceFacilityIdentifier; + } + private set + { + _equipmentOrServiceFacilityIdentifier = value; + } + } + + /// + /// Gets a value indicating whether the equipmentOrServiceFacilityIdentifier collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool equipmentOrServiceFacilityIdentifierSpecified + { + get + { + return (this.equipmentOrServiceFacilityIdentifier.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingEquipmentOrServiceFacility() + { + this._equipmentOrServiceFacilityIdentifier = new System.Collections.ObjectModel.Collection(); + this._accessibility = new System.Collections.ObjectModel.Collection(); + this._applicableForUser = new System.Collections.ObjectModel.Collection(); + this._applicableForVehicles = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlElementAttribute("availability")] + public AvailabilityEnum availability { get; set; } + + /// + /// Gets or sets a value indicating whether the availability property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool availabilitySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfEquipmentOrServiceFacility")] + public string numberOfEquipmentOrServiceFacility { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("additionalDescription")] + public MultilingualString additionalDescription { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("otherEquipmentOrServiceFacility")] + public MultilingualString otherEquipmentOrServiceFacility { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accessibility; + + [System.Xml.Serialization.XmlElementAttribute("accessibility")] + public System.Collections.ObjectModel.Collection accessibility + { + get + { + return _accessibility; + } + private set + { + _accessibility = value; + } + } + + /// + /// Gets a value indicating whether the accessibility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accessibilitySpecified + { + get + { + return (this.accessibility.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nameOrBrand")] + public MultilingualString nameOrBrand { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("comment")] + public MultilingualString comment { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("photoUrl")] + public string photoUrl { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForUser; + + [System.Xml.Serialization.XmlElementAttribute("applicableForUser")] + public System.Collections.ObjectModel.Collection applicableForUser + { + get + { + return _applicableForUser; + } + private set + { + _applicableForUser = value; + } + } + + /// + /// Gets a value indicating whether the applicableForUser collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForUserSpecified + { + get + { + return (this.applicableForUser.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("availabilityAndOpeningTimes")] + public OpeningTimes availabilityAndOpeningTimes { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tariffsAndPayment")] + public TariffsAndPayment tariffsAndPayment { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfLocations")] + public GroupOfLocations groupOfLocations { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForVehicles; + + [System.Xml.Serialization.XmlElementAttribute("applicableForVehicles")] + public System.Collections.ObjectModel.Collection applicableForVehicles + { + get + { + return _applicableForVehicles; + } + private set + { + _applicableForVehicles = value; + } + } + + /// + /// Gets a value indicating whether the applicableForVehicles collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForVehiclesSpecified + { + get + { + return (this.applicableForVehicles.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacilityExtension")] + public _ExtensionType parkingEquipmentOrServiceFacilityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AvailabilityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AvailabilityEnum + { + + available, + + notAvailable, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AccessibilityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AccessibilityEnum + { + + barrierFreeAccessible, + + handicappedAccessible, + + wheelChairAccessible, + + handicappedEasements, + + orientationSystemForBlindPeople, + + handicappedMarked, + + none, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpeningTimes", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpeningTimes + { + + [System.Xml.Serialization.XmlElementAttribute("lastUpdated", DataType="dateTime")] + public System.DateTime lastUpdated { get; set; } + + /// + /// Gets or sets a value indicating whether the lastUpdated property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastUpdatedSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("openAllYear")] + public bool openAllYear { get; set; } + + /// + /// Gets or sets a value indicating whether the openAllYear property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool openAllYearSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("available24hours")] + public bool available24hours { get; set; } + + /// + /// Gets or sets a value indicating whether the available24hours property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool available24hoursSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urlLinkAddress")] + public string urlLinkAddress { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("openingTimesUnknown")] + public bool openingTimesUnknown { get; set; } + + /// + /// Gets or sets a value indicating whether the openingTimesUnknown property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool openingTimesUnknownSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("openingTimesNotSpecified")] + public bool openingTimesNotSpecified { get; set; } + + /// + /// Gets or sets a value indicating whether the openingTimesNotSpecified property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool openingTimesNotSpecifiedSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("validity")] + public Validity validity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openingTimesExtension")] + public _ExtensionType openingTimesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Validity", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Validity + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("validityStatus")] + public ValidityStatusEnum validityStatus { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("overrunning")] + public bool overrunning { get; set; } + + /// + /// Gets or sets a value indicating whether the overrunning property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool overrunningSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("validityTimeSpecification")] + public OverallPeriod validityTimeSpecification { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("validityExtension")] + public _ExtensionType validityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ValidityStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ValidityStatusEnum + { + + active, + + suspended, + + definedByValidityTimeSpec, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingSpace", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingSpace + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceBasics")] + public ParkingSpaceBasics parkingSpaceBasics { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("parkingSpaceIndex")] + public int parkingSpaceIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSpaceBasics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GroupOfParkingSpaces))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ParkingSpace))] + public abstract partial class ParkingSpaceBasics + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceOrGroupIdentifier")] + public MultilingualString parkingSpaceOrGroupIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingFloorOrLevel")] + public string parkingFloorOrLevel { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accessibility; + + [System.Xml.Serialization.XmlElementAttribute("accessibility")] + public System.Collections.ObjectModel.Collection accessibility + { + get + { + return _accessibility; + } + private set + { + _accessibility = value; + } + } + + /// + /// Gets a value indicating whether the accessibility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accessibilitySpecified + { + get + { + return (this.accessibility.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingSpaceBasics() + { + this._accessibility = new System.Collections.ObjectModel.Collection(); + this._parkingSpaceAccessibility = new System.Collections.ObjectModel.Collection(); + this._parkingSpacePhysics = new System.Collections.ObjectModel.Collection(); + this._parkingOccupanyDetectionType = new System.Collections.ObjectModel.Collection(); + this._parkingSecurity = new System.Collections.ObjectModel.Collection(); + this._dedicatedAccess = new System.Collections.ObjectModel.Collection(); + this._parkingEquipmentOrServiceFacility = new System.Collections.ObjectModel.Collection<_ParkingSpaceBasicsEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility>(); + this._parkingUsageScenario = new System.Collections.ObjectModel.Collection<_ParkingSpaceBasicsScenarioIndexParkingUsageScenario>(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSpaceAccessibility; + + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceAccessibility")] + public System.Collections.ObjectModel.Collection parkingSpaceAccessibility + { + get + { + return _parkingSpaceAccessibility; + } + private set + { + _parkingSpaceAccessibility = value; + } + } + + /// + /// Gets a value indicating whether the parkingSpaceAccessibility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpaceAccessibilitySpecified + { + get + { + return (this.parkingSpaceAccessibility.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSpacePhysics; + + [System.Xml.Serialization.XmlElementAttribute("parkingSpacePhysics")] + public System.Collections.ObjectModel.Collection parkingSpacePhysics + { + get + { + return _parkingSpacePhysics; + } + private set + { + _parkingSpacePhysics = value; + } + } + + /// + /// Gets a value indicating whether the parkingSpacePhysics collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpacePhysicsSpecified + { + get + { + return (this.parkingSpacePhysics.Count != 0); + } + } + + [System.Xml.Serialization.XmlElementAttribute("parkingMode")] + public ParkingModeEnum parkingMode { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingMode property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingModeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingReservation")] + public ReservationTypeEnum parkingReservation { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingReservation property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingReservationSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("maximumParkingDuration")] + public float maximumParkingDuration { get; set; } + + /// + /// Gets or sets a value indicating whether the maximumParkingDuration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maximumParkingDurationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceFromPrimaryRoad")] + public string distanceFromPrimaryRoad { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingOccupanyDetectionType; + + [System.Xml.Serialization.XmlElementAttribute("parkingOccupanyDetectionType")] + public System.Collections.ObjectModel.Collection parkingOccupanyDetectionType + { + get + { + return _parkingOccupanyDetectionType; + } + private set + { + _parkingOccupanyDetectionType = value; + } + } + + /// + /// Gets a value indicating whether the parkingOccupanyDetectionType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingOccupanyDetectionTypeSpecified + { + get + { + return (this.parkingOccupanyDetectionType.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSecurity; + + [System.Xml.Serialization.XmlElementAttribute("parkingSecurity")] + public System.Collections.ObjectModel.Collection parkingSecurity + { + get + { + return _parkingSecurity; + } + private set + { + _parkingSecurity = value; + } + } + + /// + /// Gets a value indicating whether the parkingSecurity collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSecuritySpecified + { + get + { + return (this.parkingSecurity.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _dedicatedAccess; + + [System.Xml.Serialization.XmlElementAttribute("dedicatedAccess")] + public System.Collections.ObjectModel.Collection dedicatedAccess + { + get + { + return _dedicatedAccess; + } + private set + { + _dedicatedAccess = value; + } + } + + /// + /// Gets a value indicating whether the dedicatedAccess collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dedicatedAccessSpecified + { + get + { + return (this.dedicatedAccess.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("onlyAssignedParking")] + public ParkingAssignment onlyAssignedParking { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("assignedParkingAmongOthers")] + public ParkingAssignment assignedParkingAmongOthers { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("prohibitedParking")] + public ParkingAssignment prohibitedParking { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingSpaceBasicsEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility> _parkingEquipmentOrServiceFacility; + + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacility")] + public System.Collections.ObjectModel.Collection<_ParkingSpaceBasicsEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility> parkingEquipmentOrServiceFacility + { + get + { + return _parkingEquipmentOrServiceFacility; + } + private set + { + _parkingEquipmentOrServiceFacility = value; + } + } + + /// + /// Gets a value indicating whether the parkingEquipmentOrServiceFacility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingEquipmentOrServiceFacilitySpecified + { + get + { + return (this.parkingEquipmentOrServiceFacility.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingSpaceBasicsScenarioIndexParkingUsageScenario> _parkingUsageScenario; + + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenario")] + public System.Collections.ObjectModel.Collection<_ParkingSpaceBasicsScenarioIndexParkingUsageScenario> parkingUsageScenario + { + get + { + return _parkingUsageScenario; + } + private set + { + _parkingUsageScenario = value; + } + } + + /// + /// Gets a value indicating whether the parkingUsageScenario collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingUsageScenarioSpecified + { + get + { + return (this.parkingUsageScenario.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceBasicsExtension")] + public _ExtensionType parkingSpaceBasicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSpaceAccessibilityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSpaceAccessibilityEnum + { + + extraSpaceLeftSide, + + extraSpaceRightSide, + + nearbyPedestrianExit, + + bordersMarked, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSpacePhysicsEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSpacePhysicsEnum + { + + driveThrough, + + openAir, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingModeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingModeEnum + { + + perpendicularParking, + + parallelParking, + + echelonParking, + + parkingOnOppositeSideOfRoad, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ReservationTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ReservationTypeEnum + { + + optional, + + mandatory, + + notAvailable, + + partly, + + unknown, + + unspecified, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSecurityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSecurityEnum + { + + socialControl, + + securityStaff, + + externalSecurity, + + cctv, + + dog, + + guard24hours, + + lighting, + + floodLight, + + fences, + + areaSeperatedFromSurroundings, + + none, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DedicatedAccess", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DedicatedAccess + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("dedicatedAccess")] + public _ParkingAccessReference dedicatedAccess { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceFromParkingSpace")] + public string distanceFromParkingSpace { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dedicatedAccessExtension")] + public _ExtensionType dedicatedAccessExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingAccessReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingAccessReference : Reference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "ParkingAccess"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Reference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(_ParkingAccessReference))] + public partial class Reference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingSpaceBasicsEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacili" + + "ty", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingSpaceBasicsEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacility + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacility")] + public ParkingEquipmentOrServiceFacility parkingEquipmentOrServiceFacility { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("equipmentOrServiceFacilityIndex")] + public int equipmentOrServiceFacilityIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingSpaceBasicsScenarioIndexParkingUsageScenario", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingSpaceBasicsScenarioIndexParkingUsageScenario + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenario")] + public ParkingUsageScenario parkingUsageScenario { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("scenarioIndex")] + public int scenarioIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingUsageScenario", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingUsageScenario + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenario")] + public ParkingUsageScenarioEnum parkingUsageScenario { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _truckParkingDynamicManagement; + + [System.Xml.Serialization.XmlElementAttribute("truckParkingDynamicManagement")] + public System.Collections.ObjectModel.Collection truckParkingDynamicManagement + { + get + { + return _truckParkingDynamicManagement; + } + private set + { + _truckParkingDynamicManagement = value; + } + } + + /// + /// Gets a value indicating whether the truckParkingDynamicManagement collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool truckParkingDynamicManagementSpecified + { + get + { + return (this.truckParkingDynamicManagement.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingUsageScenario() + { + this._truckParkingDynamicManagement = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlElementAttribute("eventParkingType")] + public PublicEventTypeEnum eventParkingType { get; set; } + + /// + /// Gets or sets a value indicating whether the eventParkingType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool eventParkingTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("eventParkingType2")] + public PublicEventType2Enum eventParkingType2 { get; set; } + + /// + /// Gets or sets a value indicating whether the eventParkingType2 property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool eventParkingType2Specified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("scenarioAvailability")] + public OverallPeriod scenarioAvailability { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenarioExtension")] + public _ExtensionType parkingUsageScenarioExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingUsageScenarioEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingUsageScenarioEnum + { + + truckParking, + + parkAndRide, + + parkAndCycle, + + parkAndWalk, + + kissAndRide, + + liftshare, + + carSharing, + + restArea, + + serviceArea, + + dropOffWithValet, + + dropOffMechanical, + + eventParking, + + automaticParkingGuidance, + + staffGuidesToSpace, + + vehicleLift, + + loadingBay, + + dropOff, + + overnightParking, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TruckParkingDynamicManagementEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TruckParkingDynamicManagementEnum + { + + compactParking, + + queueParking, + + noDynamicParkingManagement, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PublicEventTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PublicEventTypeEnum + { + + agriculturalShow, + + airShow, + + athleticsMeeting, + + commercialEvent, + + culturalEvent, + + ballGame, + + baseballGame, + + basketballGame, + + bicycleRace, + + boatRace, + + boatShow, + + boxingTournament, + + bullFight, + + ceremonialEvent, + + concert, + + cricketMatch, + + exhibition, + + fair, + + festival, + + filmTVMaking, + + footballMatch, + + funfair, + + gardeningOrFlowerShow, + + golfTournament, + + hockeyGame, + + horseRaceMeeting, + + internationalSportsMeeting, + + majorEvent, + + marathon, + + market, + + match, + + motorShow, + + motorSportRaceMeeting, + + parade, + + procession, + + raceMeeting, + + rugbyMatch, + + severalMajorEvents, + + show, + + showJumping, + + sportsMeeting, + + stateOccasion, + + tennisTournament, + + tournament, + + tradeFair, + + waterSportsMeeting, + + winterSportsMeeting, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PublicEventType2Enum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PublicEventType2Enum + { + + openAirConcert, + + soundAndLightShow, + + artEvent, + + flowerEvent, + + beerFestival, + + foodFestival, + + wineFestival, + + theatricalEvent, + + fireworkDisplay, + + streetFestival, + + filmFestival, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_GroupOfParkingSpaces", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _GroupOfParkingSpaces + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceBasics")] + public ParkingSpaceBasics parkingSpaceBasics { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("groupIndex")] + public int groupIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingThresholds", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingThresholds + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("almostFullDecreasing")] + public string almostFullDecreasing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("almostFullIncreasing")] + public string almostFullIncreasing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("entranceFull")] + public string entranceFull { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("fullDecreasing")] + public string fullDecreasing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("fullIncreasing")] + public string fullIncreasing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("overcrowding")] + public string overcrowding { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("overcrowdingLevel1")] + public string overcrowdingLevel1 { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("overcrowdingLevel2")] + public string overcrowdingLevel2 { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingLastMaximumOccupancy")] + public string parkingLastMaximumOccupancy { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingStatusColourMapping; + + [System.Xml.Serialization.XmlElementAttribute("parkingStatusColourMapping")] + public System.Collections.ObjectModel.Collection parkingStatusColourMapping + { + get + { + return _parkingStatusColourMapping; + } + private set + { + _parkingStatusColourMapping = value; + } + } + + /// + /// Gets a value indicating whether the parkingStatusColourMapping collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingStatusColourMappingSpecified + { + get + { + return (this.parkingStatusColourMapping.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingThresholds() + { + this._parkingStatusColourMapping = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingThresholdsExtension")] + public _ExtensionType parkingThresholdsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingStatusColourMapping", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingStatusColourMapping + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSiteStatus")] + public ParkingSiteStatusEnum parkingSiteStatus { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("rgbColour")] + public RGBColour rgbColour { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStatusColourMappingExtension")] + public _ExtensionType parkingStatusColourMappingExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSiteStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSiteStatusEnum + { + + spacesAvailable, + + almostFull, + + fullAtEntrance, + + full, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PermitsAndProhibitions", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PermitsAndProhibitions + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("activity")] + public RestAreaActivityEnum activity { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("regulation")] + public RegulationEnum regulation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("permitsAndProhibitionsExtension")] + public _ExtensionType permitsAndProhibitionsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RestAreaActivityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RestAreaActivityEnum + { + + openFire, + + overnightParking, + + picnic, + + smoking, + + camping, + + handlingHazardousMaterial, + + barbecue, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RegulationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RegulationEnum + { + + permitted, + + prohibited, + + punishable, + + seasonalHeterogeneous, + + permittedOnlyAtParticularTimes, + + permittedOnlyOnParticularAreas, + + prohibitedAtParticularTimes, + + prohibitedOnParticularAreas, + + onlyOnRequest, + + heterogeneous, + + onlyOutsideBuildings, + + onlyInsideBuildings, + + unspecified, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Area", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Area : Location + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCArea")] + public AlertCArea alertCArea { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegAreaLocation")] + public TpegAreaLocation tpegAreaLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("areaExtension")] + public _AreaExtensionType areaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Location", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Area))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Linear))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LocationByReference))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NetworkLocation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Point))] + public abstract partial class Location : GroupOfLocations + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _externalReferencing; + + [System.Xml.Serialization.XmlElementAttribute("externalReferencing")] + public System.Collections.ObjectModel.Collection externalReferencing + { + get + { + return _externalReferencing; + } + private set + { + _externalReferencing = value; + } + } + + /// + /// Gets a value indicating whether the externalReferencing collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool externalReferencingSpecified + { + get + { + return (this.externalReferencing.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Location() + { + this._externalReferencing = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("locationForDisplay")] + public PointCoordinates locationForDisplay { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("locationExtension")] + public _ExtensionType locationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ExternalReferencing", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ExternalReferencing + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("externalLocationCode")] + public string externalLocationCode { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("externalReferencingSystem")] + public string externalReferencingSystem { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("externalReferencingExtension")] + public _ExtensionType externalReferencingExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCArea + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationCountryCode")] + public string alertCLocationCountryCode { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationTableNumber")] + public string alertCLocationTableNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationTableVersion")] + public string alertCLocationTableVersion { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("areaLocation")] + public AlertCLocation areaLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCAreaExtension")] + public _ExtensionType alertCAreaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCLocation + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationName")] + public MultilingualString alertCLocationName { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("specificLocation")] + public string specificLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationExtension")] + public _ExtensionType alertCLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegAreaLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegGeometricArea))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegNamedOnlyArea))] + public abstract partial class TpegAreaLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegAreaLocationType")] + public TpegLoc01AreaLocationSubtypeEnum tpegAreaLocationType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegHeight")] + public TpegHeight tpegHeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegAreaLocationExtension")] + public _ExtensionType tpegAreaLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc01AreaLocationSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc01AreaLocationSubtypeEnum + { + + largeArea, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegHeight", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegHeight + { + + [System.Xml.Serialization.XmlElementAttribute("height")] + public float height { get; set; } + + /// + /// Gets or sets a value indicating whether the height property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool heightSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("heightType")] + public TpegLoc04HeightTypeEnum heightType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegHeightExtension")] + public _ExtensionType tpegHeightExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc04HeightTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc04HeightTypeEnum + { + + above, + + aboveSeaLevel, + + aboveStreetLevel, + + at, + + atSeaLevel, + + atStreetLevel, + + below, + + belowSeaLevel, + + belowStreetLevel, + + undefined, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Dimension", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Dimension + { + + [System.Xml.Serialization.XmlElementAttribute("dimensionLength")] + public float dimensionLength { get; set; } + + /// + /// Gets or sets a value indicating whether the dimensionLength property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dimensionLengthSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dimensionWidth")] + public float dimensionWidth { get; set; } + + /// + /// Gets or sets a value indicating whether the dimensionWidth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dimensionWidthSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dimensionHeight")] + public float dimensionHeight { get; set; } + + /// + /// Gets or sets a value indicating whether the dimensionHeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dimensionHeightSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dimensionUsableArea")] + public string dimensionUsableArea { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dimensionExtension")] + public _ExtensionType dimensionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingStatusPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingStatusPublication + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingTableVersionedReference> _parkingTableReference; + + [System.Xml.Serialization.XmlElementAttribute("parkingTableReference")] + public System.Collections.ObjectModel.Collection<_ParkingTableVersionedReference> parkingTableReference + { + get + { + return _parkingTableReference; + } + private set + { + _parkingTableReference = value; + } + } + + /// + /// Gets a value indicating whether the parkingTableReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingTableReferenceSpecified + { + get + { + return (this.parkingTableReference.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingStatusPublication() + { + this._parkingTableReference = new System.Collections.ObjectModel.Collection<_ParkingTableVersionedReference>(); + this._parkingRecordStatus = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingRecordStatus; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordStatus")] + public System.Collections.ObjectModel.Collection parkingRecordStatus + { + get + { + return _parkingRecordStatus; + } + private set + { + _parkingRecordStatus = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingTableVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingTableVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "ParkingTable"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRecordStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GroupOfParkingSitesStatus))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ParkingSiteStatus))] + public abstract partial class ParkingRecordStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordReference")] + public _ParkingRecordVersionedReference parkingRecordReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingStatusOriginTime", DataType="dateTime")] + public System.DateTime parkingStatusOriginTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStatusDescription")] + public MultilingualString parkingStatusDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingQueueingTime")] + public float parkingQueueingTime { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingQueueingTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingQueueingTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingConditions")] + public ParkingConditionsEnum parkingConditions { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingConditions property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingConditionsSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _blurredAvailability; + + [System.Xml.Serialization.XmlElementAttribute("blurredAvailability")] + public System.Collections.ObjectModel.Collection blurredAvailability + { + get + { + return _blurredAvailability; + } + private set + { + _blurredAvailability = value; + } + } + + /// + /// Gets a value indicating whether the blurredAvailability collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool blurredAvailabilitySpecified + { + get + { + return (this.blurredAvailability.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingRecordStatus() + { + this._blurredAvailability = new System.Collections.ObjectModel.Collection(); + this._parkingFault = new System.Collections.ObjectModel.Collection(); + this._winterEquipmentManagementType = new System.Collections.ObjectModel.Collection(); + this._parkingSpaceStatus = new System.Collections.ObjectModel.Collection<_ParkingRecordStatusParkingSpaceIndexParkingSpaceStatus>(); + this._groupOfParkingSpacesStatus = new System.Collections.ObjectModel.Collection<_ParkingRecordStatusGroupIndexGroupOfParkingSpacesStatus>(); + this._parkingEquipmentOrServiceFacilityStatus = new System.Collections.ObjectModel.Collection<_ParkingRecordStatusEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacilityStatus>(); + this._parkingUsageScenarioStatus = new System.Collections.ObjectModel.Collection<_ParkingRecordStatusScenarioIndexParkingUsageScenarioStatus>(); + this._parkingAccessStatus = new System.Collections.ObjectModel.Collection(); + this._parkingRouteStatus = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingFault; + + [System.Xml.Serialization.XmlElementAttribute("parkingFault")] + public System.Collections.ObjectModel.Collection parkingFault + { + get + { + return _parkingFault; + } + private set + { + _parkingFault = value; + } + } + + /// + /// Gets a value indicating whether the parkingFault collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingFaultSpecified + { + get + { + return (this.parkingFault.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _winterEquipmentManagementType; + + [System.Xml.Serialization.XmlElementAttribute("winterEquipmentManagementType")] + public System.Collections.ObjectModel.Collection winterEquipmentManagementType + { + get + { + return _winterEquipmentManagementType; + } + private set + { + _winterEquipmentManagementType = value; + } + } + + /// + /// Gets a value indicating whether the winterEquipmentManagementType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool winterEquipmentManagementTypeSpecified + { + get + { + return (this.winterEquipmentManagementType.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingRecordStatusParkingSpaceIndexParkingSpaceStatus> _parkingSpaceStatus; + + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceStatus")] + public System.Collections.ObjectModel.Collection<_ParkingRecordStatusParkingSpaceIndexParkingSpaceStatus> parkingSpaceStatus + { + get + { + return _parkingSpaceStatus; + } + private set + { + _parkingSpaceStatus = value; + } + } + + /// + /// Gets a value indicating whether the parkingSpaceStatus collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpaceStatusSpecified + { + get + { + return (this.parkingSpaceStatus.Count != 0); + } + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingOccupancy")] + public ParkingOccupancy parkingOccupancy { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingRecordStatusGroupIndexGroupOfParkingSpacesStatus> _groupOfParkingSpacesStatus; + + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpacesStatus")] + public System.Collections.ObjectModel.Collection<_ParkingRecordStatusGroupIndexGroupOfParkingSpacesStatus> groupOfParkingSpacesStatus + { + get + { + return _groupOfParkingSpacesStatus; + } + private set + { + _groupOfParkingSpacesStatus = value; + } + } + + /// + /// Gets a value indicating whether the groupOfParkingSpacesStatus collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfParkingSpacesStatusSpecified + { + get + { + return (this.groupOfParkingSpacesStatus.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStatusValidity")] + public ParkingStatusValidity parkingStatusValidity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("overrideParkingThresholds")] + public ParkingThresholds overrideParkingThresholds { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingRecordStatusEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacilityStatus> _parkingEquipmentOrServiceFacilityStatus; + + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacilityStatus")] + public System.Collections.ObjectModel.Collection<_ParkingRecordStatusEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacilityStatus> parkingEquipmentOrServiceFacilityStatus + { + get + { + return _parkingEquipmentOrServiceFacilityStatus; + } + private set + { + _parkingEquipmentOrServiceFacilityStatus = value; + } + } + + /// + /// Gets a value indicating whether the parkingEquipmentOrServiceFacilityStatus collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingEquipmentOrServiceFacilityStatusSpecified + { + get + { + return (this.parkingEquipmentOrServiceFacilityStatus.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingRecordStatusScenarioIndexParkingUsageScenarioStatus> _parkingUsageScenarioStatus; + + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenarioStatus")] + public System.Collections.ObjectModel.Collection<_ParkingRecordStatusScenarioIndexParkingUsageScenarioStatus> parkingUsageScenarioStatus + { + get + { + return _parkingUsageScenarioStatus; + } + private set + { + _parkingUsageScenarioStatus = value; + } + } + + /// + /// Gets a value indicating whether the parkingUsageScenarioStatus collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingUsageScenarioStatusSpecified + { + get + { + return (this.parkingUsageScenarioStatus.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingAccessStatus; + + [System.Xml.Serialization.XmlElementAttribute("parkingAccessStatus")] + public System.Collections.ObjectModel.Collection parkingAccessStatus + { + get + { + return _parkingAccessStatus; + } + private set + { + _parkingAccessStatus = value; + } + } + + /// + /// Gets a value indicating whether the parkingAccessStatus collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingAccessStatusSpecified + { + get + { + return (this.parkingAccessStatus.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingRouteStatus; + + [System.Xml.Serialization.XmlElementAttribute("parkingRouteStatus")] + public System.Collections.ObjectModel.Collection parkingRouteStatus + { + get + { + return _parkingRouteStatus; + } + private set + { + _parkingRouteStatus = value; + } + } + + /// + /// Gets a value indicating whether the parkingRouteStatus collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingRouteStatusSpecified + { + get + { + return (this.parkingRouteStatus.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordStatusExtension")] + public _ExtensionType parkingRecordStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRecordVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRecordVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "ParkingRecord"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingConditionsEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingConditionsEnum + { + + normalParkingConditionsSuspended, + + specialParkingConditionsInForce, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingFaultEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingFaultEnum + { + + communicationsFailure, + + barrierMalfunction, + + entranceExitObstructed, + + erroneousOccupancyInformation, + + erroneousOccupancyDisplayed, + + paymentMachinesInoperative, + + reservationServiceOutOfOrder, + + noParkingInformationAvailable, + + unspecified, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WinterEquipmentManagementTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum WinterEquipmentManagementTypeEnum + { + + doNoUseStudTyres, + + useSnowChains, + + useSnowChainsOrTyres, + + useSnowTyres, + + winterEquipmentOnBoardRequired, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRecordStatusParkingSpaceIndexParkingSpaceStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRecordStatusParkingSpaceIndexParkingSpaceStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceStatus")] + public ParkingSpaceStatus parkingSpaceStatus { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("parkingSpaceIndex")] + public int parkingSpaceIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSpaceStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingSpaceStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceOccupied")] + public bool parkingSpaceOccupied { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceClosed")] + public bool parkingSpaceClosed { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingSpaceClosed property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpaceClosedSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceDeclarationValidNow")] + public bool parkingSpaceDeclarationValidNow { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingSpaceDeclarationValidNow property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpaceDeclarationValidNowSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("measurementOrCalculationTime", DataType="dateTime")] + public System.DateTime measurementOrCalculationTime { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementOrCalculationTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementOrCalculationTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("lastCalibration", DataType="dateTime")] + public System.DateTime lastCalibration { get; set; } + + /// + /// Gets or sets a value indicating whether the lastCalibration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastCalibrationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceStatusExtension")] + public _ExtensionType parkingSpaceStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingOccupancy", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GroupOfParkingSpacesStatus))] + public partial class ParkingOccupancy + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfSpacesOverride")] + public string parkingNumberOfSpacesOverride { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfVacantSpaces")] + public string parkingNumberOfVacantSpaces { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfVacantSpacesLowerThan")] + public string parkingNumberOfVacantSpacesLowerThan { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfVacantSpacesHigherThan")] + public string parkingNumberOfVacantSpacesHigherThan { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfVacantSpacesGraded")] + public ParkingVacantSpacesEnum parkingNumberOfVacantSpacesGraded { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingNumberOfVacantSpacesGraded property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingNumberOfVacantSpacesGradedSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfOccupiedSpaces")] + public string parkingNumberOfOccupiedSpaces { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfVehicles")] + public string parkingNumberOfVehicles { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingOccupancy")] + public float parkingOccupancy { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingOccupancy property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingOccupancySpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingOccupancyGraded")] + public ParkingOccupancyEnum parkingOccupancyGraded { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingOccupancyGraded property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingOccupancyGradedSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingOccupancyTrend")] + public ParkingOccupancyTrendEnum parkingOccupancyTrend { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingOccupancyTrend property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingOccupancyTrendSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingNotAllowed")] + public bool parkingNotAllowed { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingNotAllowed property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingNotAllowedSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleCountAndRate; + + [System.Xml.Serialization.XmlElementAttribute("vehicleCountAndRate")] + public System.Collections.ObjectModel.Collection vehicleCountAndRate + { + get + { + return _vehicleCountAndRate; + } + private set + { + _vehicleCountAndRate = value; + } + } + + /// + /// Gets a value indicating whether the vehicleCountAndRate collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleCountAndRateSpecified + { + get + { + return (this.vehicleCountAndRate.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingOccupancy() + { + this._vehicleCountAndRate = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingOccupancyExtension")] + public _ExtensionType parkingOccupancyExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingVacantSpacesEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingVacantSpacesEnum + { + + noParkingSpacesAvailable, + + expectNoSpacesAvailable, + + onlyAFewSpacesAvailable, + + lessThan10SpacesAvailable, + + lessThan20SpacesAvailable, + + lessThan30SpacesAvailable, + + lessThan40SpacesAvailable, + + lessThan50SpacesAvailable, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingOccupancyEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingOccupancyEnum + { + + expectCarParkToBeFull, + + percentage10, + + percentage20, + + percentage30, + + percentage40, + + percentage50, + + percentage60, + + percentage70, + + percentage80, + + percentage90, + + full, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingOccupancyTrendEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingOccupancyTrendEnum + { + + decreasing, + + increasing, + + stable, + + increasingQuickly, + + increasingSlowly, + + decreasingQuickly, + + decreasingSlowly, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleCountAndRate", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleCountAndRate + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteReference")] + public _MeasurementSiteRecordVersionedReference measurementSiteReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measuredValueIndex")] + public string measuredValueIndex { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dedicatedAccess")] + public _ParkingAccessReference dedicatedAccess { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("measurementTimeDefault", DataType="dateTime")] + public System.DateTime measurementTimeDefault { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementTimeDefault property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementTimeDefaultSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("lastCalibration", DataType="dateTime")] + public System.DateTime lastCalibration { get; set; } + + /// + /// Gets or sets a value indicating whether the lastCalibration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lastCalibrationSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("coveringPetrolStationArea")] + public bool coveringPetrolStationArea { get; set; } + + /// + /// Gets or sets a value indicating whether the coveringPetrolStationArea property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool coveringPetrolStationAreaSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleCountWithinInterval; + + [System.Xml.Serialization.XmlElementAttribute("vehicleCountWithinInterval")] + public System.Collections.ObjectModel.Collection vehicleCountWithinInterval + { + get + { + return _vehicleCountWithinInterval; + } + private set + { + _vehicleCountWithinInterval = value; + } + } + + /// + /// Gets a value indicating whether the vehicleCountWithinInterval collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleCountWithinIntervalSpecified + { + get + { + return (this.vehicleCountWithinInterval.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VehicleCountAndRate() + { + this._vehicleCountWithinInterval = new System.Collections.ObjectModel.Collection(); + this._vehicleRate = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleRate; + + [System.Xml.Serialization.XmlElementAttribute("vehicleRate")] + public System.Collections.ObjectModel.Collection vehicleRate + { + get + { + return _vehicleRate; + } + private set + { + _vehicleRate = value; + } + } + + /// + /// Gets a value indicating whether the vehicleRate collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleRateSpecified + { + get + { + return (this.vehicleRate.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCountAndRateExtension")] + public _ExtensionType vehicleCountAndRateExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_MeasurementSiteRecordVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _MeasurementSiteRecordVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "MeasurementSiteRecord"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleCountWithinInterval", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleCountWithinInterval + { + + [System.Xml.Serialization.XmlElementAttribute("measurementOrCalcualtionTime", DataType="dateTime")] + public System.DateTime measurementOrCalcualtionTime { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementOrCalcualtionTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementOrCalcualtionTimeSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementInterval")] + public float measurementInterval { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfIncomingVehicles")] + public VehicleCountValue numberOfIncomingVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfOutgoingVehicles")] + public VehicleCountValue numberOfOutgoingVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("changeOfOccupiedSpaces")] + public OccupancyChangeValue changeOfOccupiedSpaces { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("countedVehicles")] + public VehicleCharacteristics countedVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCountWithinIntervalExtension")] + public _ExtensionType vehicleCountWithinIntervalExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleCountValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleCountValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicleCount")] + public string vehicleCount { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCountValueExtension")] + public _ExtensionType vehicleCountValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DataValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ApplicationRateValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AxleFlowValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConcentrationOfVehiclesValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DateTimeValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DirectionBearingValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DirectionCompassValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DurationValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(FloatingPointMetreDistanceValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(IntegerMetreDistanceValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(KilogramsConcentrationValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MicrogramsConcentrationValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OccupancyChangeValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PcuFlowValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PercentageValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PrecipitationIntensityValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SpeedValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TemperatureValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficStatusValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VehicleCountValue))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VehicleFlowValue))] + public abstract partial class DataValue + { + + [System.Xml.Serialization.XmlElementAttribute("dataError")] + public bool dataError { get; set; } + + /// + /// Gets or sets a value indicating whether the dataError property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dataErrorSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("reasonForDataError")] + public MultilingualString reasonForDataError { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dataValueExtension")] + public _ExtensionType dataValueExtension { get; set; } + + [System.Xml.Serialization.XmlAttributeAttribute("accuracy")] + public float accuracy { get; set; } + + /// + /// Gets or sets a value indicating whether the accuracy property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accuracySpecified { get; set; } + + [System.Xml.Serialization.XmlAttributeAttribute("computationalMethod")] + public ComputationMethodEnum computationalMethod { get; set; } + + /// + /// Gets or sets a value indicating whether the computationalMethod property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool computationalMethodSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlAttributeAttribute("numberOfIncompleteInputs")] + public string numberOfIncompleteInputs { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlAttributeAttribute("numberOfInputValuesUsed")] + public string numberOfInputValuesUsed { get; set; } + + [System.Xml.Serialization.XmlAttributeAttribute("smoothingFactor")] + public float smoothingFactor { get; set; } + + /// + /// Gets or sets a value indicating whether the smoothingFactor property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool smoothingFactorSpecified { get; set; } + + [System.Xml.Serialization.XmlAttributeAttribute("standardDeviation")] + public float standardDeviation { get; set; } + + /// + /// Gets or sets a value indicating whether the standardDeviation property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool standardDeviationSpecified { get; set; } + + [System.Xml.Serialization.XmlAttributeAttribute("supplierCalculatedDataQuality")] + public float supplierCalculatedDataQuality { get; set; } + + /// + /// Gets or sets a value indicating whether the supplierCalculatedDataQuality property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool supplierCalculatedDataQualitySpecified { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ComputationMethodEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ComputationMethodEnum + { + + arithmeticAverageOfSamplesBasedOnAFixedNumberOfSamples, + + arithmeticAverageOfSamplesInATimePeriod, + + harmonicAverageOfSamplesInATimePeriod, + + medianOfSamplesInATimePeriod, + + movingAverageOfSamples, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OccupancyChangeValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OccupancyChangeValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("occupancyChange")] + public string occupancyChange { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("occupancyChangeValueExtension")] + public _ExtensionType occupancyChangeValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleRate", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleRate + { + + [System.Xml.Serialization.XmlElementAttribute("measurementOrCalculationTime", DataType="dateTime")] + public System.DateTime measurementOrCalculationTime { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementOrCalculationTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementOrCalculationTimeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("fillRate")] + public VehicleFlowValue fillRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("exitRate")] + public VehicleFlowValue exitRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleFlowRate")] + public VehicleFlowValue vehicleFlowRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measuredVehicles")] + public VehicleCharacteristics measuredVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleRateExtension")] + public _ExtensionType vehicleRateExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleFlowValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleFlowValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicleFlowRate")] + public string vehicleFlowRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleFlowValueExtension")] + public _ExtensionType vehicleFlowValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRecordStatusGroupIndexGroupOfParkingSpacesStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRecordStatusGroupIndexGroupOfParkingSpacesStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpacesStatus")] + public GroupOfParkingSpacesStatus groupOfParkingSpacesStatus { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("groupIndex")] + public int groupIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfParkingSpacesStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GroupOfParkingSpacesStatus : ParkingOccupancy + { + + [System.Xml.Serialization.XmlElementAttribute("groupDeclarationValidNow")] + public bool groupDeclarationValidNow { get; set; } + + /// + /// Gets or sets a value indicating whether the groupDeclarationValidNow property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupDeclarationValidNowSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpacesClosed")] + public bool groupOfParkingSpacesClosed { get; set; } + + /// + /// Gets or sets a value indicating whether the groupOfParkingSpacesClosed property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfParkingSpacesClosedSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpacesStatusExtension")] + public _ExtensionType groupOfParkingSpacesStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingStatusValidity", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingStatusValidity + { + + [System.Xml.Serialization.XmlElementAttribute("parkingStatusTime", DataType="dateTime")] + public System.DateTime parkingStatusTime { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingStatusTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingStatusTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingStatusTimeOffsetToOrigin")] + public float parkingStatusTimeOffsetToOrigin { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingStatusTimeOffsetToOrigin property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingStatusTimeOffsetToOriginSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("validityTimeSpecification")] + public OverallPeriod validityTimeSpecification { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStatusValidityExtension")] + public _ExtensionType parkingStatusValidityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRecordStatusEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacil" + + "ityStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRecordStatusEquipmentOrServiceFacilityIndexParkingEquipmentOrServiceFacilityStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacilityStatus")] + public ParkingEquipmentOrServiceFacilityStatus parkingEquipmentOrServiceFacilityStatus { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("equipmentOrServiceFacilityIndex")] + public int equipmentOrServiceFacilityIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingEquipmentOrServiceFacilityStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingEquipmentOrServiceFacilityStatus + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfEquipmentOrServiceFacilityOverride")] + public string numberOfEquipmentOrServiceFacilityOverride { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfSubitemsOverride")] + public string numberOfSubitemsOverride { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vacantEquipmentOrServiceFacilitySubitems")] + public string vacantEquipmentOrServiceFacilitySubitems { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("serviceFacilityOpeningStatus")] + public OpeningStatusEnum serviceFacilityOpeningStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the serviceFacilityOpeningStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool serviceFacilityOpeningStatusSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("equipmentOperationStatus")] + public OperationStatusEnum equipmentOperationStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the equipmentOperationStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool equipmentOperationStatusSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingEquipmentOrServiceFacilityStatusExtension")] + public _ExtensionType parkingEquipmentOrServiceFacilityStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpeningStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OpeningStatusEnum + { + + open, + + closed, + + closedAbnormal, + + openingTimesInForce, + + statusUnknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OperationStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OperationStatusEnum + { + + inOperation, + + limitedOperation, + + notInOperation, + + notInOperationAbnormal, + + technicalDefect, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRecordStatusScenarioIndexParkingUsageScenarioStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRecordStatusScenarioIndexParkingUsageScenarioStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenarioStatus")] + public ParkingUsageScenarioStatus parkingUsageScenarioStatus { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("scenarioIndex")] + public int scenarioIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingUsageScenarioStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingUsageScenarioStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("usageScenarioOperationStatus")] + public OperationStatusEnum usageScenarioOperationStatus { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenarioStatusExtension")] + public _ExtensionType parkingUsageScenarioStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingAccessStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingAccessStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("accessReference")] + public _ParkingAccessReference accessReference { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("accessOpeningStatus")] + public OpeningStatusEnum accessOpeningStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the accessOpeningStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accessOpeningStatusSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accessFault; + + [System.Xml.Serialization.XmlElementAttribute("accessFault")] + public System.Collections.ObjectModel.Collection accessFault + { + get + { + return _accessFault; + } + private set + { + _accessFault = value; + } + } + + /// + /// Gets a value indicating whether the accessFault collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accessFaultSpecified + { + get + { + return (this.accessFault.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingAccessStatus() + { + this._accessFault = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingAccessStatusExtension")] + public _ExtensionType parkingAccessStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRouteStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingRouteStatus + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteReference")] + public _ParkingRouteDetailsVersionedReference parkingRouteReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteActive")] + public bool parkingRouteActive { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteStatusExtension")] + public _ExtensionType parkingRouteStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingRouteDetailsVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingRouteDetailsVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "ParkingRouteDetails"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingVehiclesPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingVehiclesPublication + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingTableVersionedReference> _parkingTableReference; + + [System.Xml.Serialization.XmlElementAttribute("parkingTableReference")] + public System.Collections.ObjectModel.Collection<_ParkingTableVersionedReference> parkingTableReference + { + get + { + return _parkingTableReference; + } + private set + { + _parkingTableReference = value; + } + } + + /// + /// Gets a value indicating whether the parkingTableReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingTableReferenceSpecified + { + get + { + return (this.parkingTableReference.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingVehiclesPublication() + { + this._parkingTableReference = new System.Collections.ObjectModel.Collection<_ParkingTableVersionedReference>(); + this._parkingVehicle = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingVehicle; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingVehicle")] + public System.Collections.ObjectModel.Collection parkingVehicle + { + get + { + return _parkingVehicle; + } + private set + { + _parkingVehicle = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingVehicle", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingVehicle + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRecordReference")] + public _ParkingRecordVersionedReference parkingRecordReference { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceReference")] + public string parkingSpaceReference { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _groupOfParkingSpacesReference; + + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpacesReference")] + public System.Collections.ObjectModel.Collection groupOfParkingSpacesReference + { + get + { + return _groupOfParkingSpacesReference; + } + private set + { + _groupOfParkingSpacesReference = value; + } + } + + /// + /// Gets a value indicating whether the groupOfParkingSpacesReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfParkingSpacesReferenceSpecified + { + get + { + return (this.groupOfParkingSpacesReference.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingVehicle() + { + this._groupOfParkingSpacesReference = new System.Collections.ObjectModel.Collection(); + this._parkingPermit = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingPermit; + + [System.Xml.Serialization.XmlElementAttribute("parkingPermit")] + public System.Collections.ObjectModel.Collection parkingPermit + { + get + { + return _parkingPermit; + } + private set + { + _parkingPermit = value; + } + } + + /// + /// Gets a value indicating whether the parkingPermit collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingPermitSpecified + { + get + { + return (this.parkingPermit.Count != 0); + } + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicle")] + public Vehicle vehicle { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("individualCharge")] + public IndividualCharge individualCharge { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingPeriod")] + public OverallPeriod parkingPeriod { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingVehicleExtension")] + public _ExtensionType parkingVehicleExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Vehicle", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Vehicle + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleColour")] + public MultilingualString vehicleColour { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCountryOfOrigin")] + public MultilingualString vehicleCountryOfOrigin { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleIdentifier")] + public string vehicleIdentifier { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleManufacturer")] + public string vehicleManufacturer { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleModel")] + public string vehicleModel { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleRegistrationPlateIdentifier")] + public string vehicleRegistrationPlateIdentifier { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vehicleStatus")] + public VehicleStatusEnum vehicleStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the vehicleStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleStatusSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCharacteristics")] + public VehicleCharacteristics vehicleCharacteristics { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _axleSpacingOnVehicle; + + [System.Xml.Serialization.XmlElementAttribute("axleSpacingOnVehicle")] + public System.Collections.ObjectModel.Collection axleSpacingOnVehicle + { + get + { + return _axleSpacingOnVehicle; + } + private set + { + _axleSpacingOnVehicle = value; + } + } + + /// + /// Gets a value indicating whether the axleSpacingOnVehicle collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool axleSpacingOnVehicleSpecified + { + get + { + return (this.axleSpacingOnVehicle.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Vehicle() + { + this._axleSpacingOnVehicle = new System.Collections.ObjectModel.Collection(); + this._specificAxleWeight = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _specificAxleWeight; + + [System.Xml.Serialization.XmlElementAttribute("specificAxleWeight")] + public System.Collections.ObjectModel.Collection specificAxleWeight + { + get + { + return _specificAxleWeight; + } + private set + { + _specificAxleWeight = value; + } + } + + /// + /// Gets a value indicating whether the specificAxleWeight collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool specificAxleWeightSpecified + { + get + { + return (this.specificAxleWeight.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("hazardousGoodsAssociatedWithVehicle")] + public HazardousMaterials hazardousGoodsAssociatedWithVehicle { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleExtension")] + public _ExtensionType vehicleExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleStatusEnum + { + + abandoned, + + brokenDown, + + burntOut, + + damaged, + + damagedAndImmobilized, + + onFire, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AxleSpacing", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AxleSpacing + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("axleSpacing")] + public float axleSpacing { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("axleSpacingSequenceIdentifier")] + public string axleSpacingSequenceIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("axleSpacingExtension")] + public _ExtensionType axleSpacingExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AxleWeight", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AxleWeight + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("axlePositionIdentifier")] + public string axlePositionIdentifier { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("axleWeight")] + public float axleWeight { get; set; } + + /// + /// Gets or sets a value indicating whether the axleWeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool axleWeightSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("maximumPermittedAxleWeight")] + public float maximumPermittedAxleWeight { get; set; } + + /// + /// Gets or sets a value indicating whether the maximumPermittedAxleWeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maximumPermittedAxleWeightSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("axleWeightExtension")] + public _ExtensionType axleWeightExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("IndividualCharge", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IndividualCharge + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargeBandReference")] + public _ChargeBandVersionedReference chargeBandReference { get; set; } + + /// + /// Total number of digits: 8. + /// Total number of digits in fraction: 2. + /// + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("chargePaid")] + public decimal chargePaid { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("chargeCurrency")] + public CurrencyEnum chargeCurrency { get; set; } + + /// + /// Gets or sets a value indicating whether the chargeCurrency property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool chargeCurrencySpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("usedMeansOfPayment")] + public MeansOfPaymentEnum usedMeansOfPayment { get; set; } + + /// + /// Gets or sets a value indicating whether the usedMeansOfPayment property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool usedMeansOfPaymentSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("withReservation")] + public bool withReservation { get; set; } + + /// + /// Gets or sets a value indicating whether the withReservation property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool withReservationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("usedPaymentCard")] + public UsedPaymentCard usedPaymentCard { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("individualChargeExtension")] + public _ExtensionType individualChargeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UsedPaymentCard", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UsedPaymentCard + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("paymentCard")] + public PaymentCardTypesEnum paymentCard { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("otherPaymentCard")] + public string otherPaymentCard { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("paymentCardBrand")] + public PaymentCardBrandsEnum paymentCardBrand { get; set; } + + /// + /// Gets or sets a value indicating whether the paymentCardBrand property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool paymentCardBrandSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("otherPaymentCardBrand")] + public string otherPaymentCardBrand { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("usedPaymentCardExtension")] + public _ExtensionType usedPaymentCardExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_GroupOfParkingSpacesParkingSpaceIndexParkingSpace", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _GroupOfParkingSpacesParkingSpaceIndexParkingSpace + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSpace")] + public ParkingSpace parkingSpace { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("parkingSpaceIndex")] + public int parkingSpaceIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSpace", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingSpace : ParkingSpaceBasics + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _identicalToParkingSpace; + + [System.Xml.Serialization.XmlElementAttribute("identicalToParkingSpace")] + public System.Collections.ObjectModel.Collection identicalToParkingSpace + { + get + { + return _identicalToParkingSpace; + } + private set + { + _identicalToParkingSpace = value; + } + } + + /// + /// Gets a value indicating whether the identicalToParkingSpace collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool identicalToParkingSpaceSpecified + { + get + { + return (this.identicalToParkingSpace.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingSpace() + { + this._identicalToParkingSpace = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("location")] + public Location location { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceDimension")] + public Dimension parkingSpaceDimension { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSpaceExtension")] + public _ExtensionType parkingSpaceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_IntermediatePointOnLinearElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _IntermediatePointOnLinearElement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("referent")] + public Referent referent { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("index")] + public int index { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Referent", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Referent + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("referentIdentifier")] + public string referentIdentifier { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("referentName")] + public string referentName { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("referentType")] + public ReferentTypeEnum referentType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("referentDescription")] + public MultilingualString referentDescription { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointCoordinates")] + public PointCoordinates pointCoordinates { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("referentExtension")] + public _ExtensionType referentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ReferentTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ReferentTypeEnum + { + + boundary, + + intersection, + + referenceMarker, + + landmark, + + roadNode, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_LinearExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _LinearExtensionType + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrExtendedLinear")] + public OpenlrExtendedLinear openlrExtendedLinear { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _LinearExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrExtendedLinear", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrExtendedLinear + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("firstDirection")] + public OpenlrLineLocationReference firstDirection { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("oppositeDirection")] + public OpenlrLineLocationReference oppositeDirection { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrLineLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrLineLocationReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _openlrLocationReferencePoint; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLocationReferencePoint")] + public System.Collections.ObjectModel.Collection openlrLocationReferencePoint + { + get + { + return _openlrLocationReferencePoint; + } + private set + { + _openlrLocationReferencePoint = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public OpenlrLineLocationReference() + { + this._openlrLocationReferencePoint = new System.Collections.ObjectModel.Collection(); + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLastLocationReferencePoint")] + public OpenlrLastLocationReferencePoint openlrLastLocationReferencePoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrOffsets")] + public OpenlrOffsets openlrOffsets { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrLineLocationReferenceExtension")] + public _ExtensionType openlrLineLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrLocationReferencePoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrLocationReferencePoint : OpenlrBaseLocationReferencePoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrPathAttributes")] + public OpenlrPathAttributes openlrPathAttributes { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrLocationReferencePointExtension")] + public _ExtensionType openlrLocationReferencePointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrBaseLocationReferencePoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrLastLocationReferencePoint))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrLocationReferencePoint))] + public abstract partial class OpenlrBaseLocationReferencePoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrCoordinate")] + public PointCoordinates openlrCoordinate { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLineAttributes")] + public OpenlrLineAttributes openlrLineAttributes { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrBaseLocationReferencePointExtension")] + public _ExtensionType openlrBaseLocationReferencePointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrLineAttributes", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrLineAttributes + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrFunctionalRoadClass")] + public OpenlrFunctionalRoadClassEnum openlrFunctionalRoadClass { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrFormOfWay")] + public OpenlrFormOfWayEnum openlrFormOfWay { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrBearing")] + public string openlrBearing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrLineAttributesExtension")] + public _ExtensionType openlrLineAttributesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrFunctionalRoadClassEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OpenlrFunctionalRoadClassEnum + { + + FRC0, + + FRC1, + + FRC2, + + FRC3, + + FRC4, + + FRC5, + + FRC6, + + FRC7, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrFormOfWayEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OpenlrFormOfWayEnum + { + + undefined, + + motorway, + + multipleCarriageway, + + singleCarriageway, + + roundabout, + + slipRoad, + + trafficSquare, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrPathAttributes", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrPathAttributes + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLowestFRCToNextLRPoint")] + public OpenlrFunctionalRoadClassEnum openlrLowestFRCToNextLRPoint { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrDistanceToNextLRPoint")] + public string openlrDistanceToNextLRPoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPathAttributesExtension")] + public _ExtensionType openlrPathAttributesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrLastLocationReferencePoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrLastLocationReferencePoint : OpenlrBaseLocationReferencePoint + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrLastLocationReferencePointExtension")] + public _ExtensionType openlrLastLocationReferencePointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrOffsets", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrOffsets + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPositiveOffset")] + public string openlrPositiveOffset { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrNegativeOffset")] + public string openlrNegativeOffset { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrOffsetsExtension")] + public _ExtensionType openlrOffsetsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_LocationContainedInItinerary", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _LocationContainedInItinerary + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("location")] + public Location location { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("index")] + public int index { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_MeasurementSiteRecordIndexMeasurementSpecificCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _MeasurementSiteRecordIndexMeasurementSpecificCharacteristics + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementSpecificCharacteristics")] + public MeasurementSpecificCharacteristics measurementSpecificCharacteristics { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("index")] + public int index { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasurementSpecificCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasurementSpecificCharacteristics + { + + [System.Xml.Serialization.XmlElementAttribute("accuracy")] + public float accuracy { get; set; } + + /// + /// Gets or sets a value indicating whether the accuracy property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accuracySpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("period")] + public float period { get; set; } + + /// + /// Gets or sets a value indicating whether the period property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool periodSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("smoothingFactor")] + public float smoothingFactor { get; set; } + + /// + /// Gets or sets a value indicating whether the smoothingFactor property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool smoothingFactorSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("specificLane")] + public LaneEnum specificLane { get; set; } + + /// + /// Gets or sets a value indicating whether the specificLane property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool specificLaneSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("specificMeasurementValueType")] + public MeasuredOrDerivedDataTypeEnum specificMeasurementValueType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("specificVehicleCharacteristics")] + public VehicleCharacteristics specificVehicleCharacteristics { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSpecificCharacteristicsExtension")] + public _ExtensionType measurementSpecificCharacteristicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LaneEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LaneEnum + { + + allLanesCompleteCarriageway, + + busLane, + + busStop, + + carPoolLane, + + centralReservation, + + crawlerLane, + + emergencyLane, + + escapeLane, + + expressLane, + + hardShoulder, + + heavyVehicleLane, + + lane1, + + lane2, + + lane3, + + lane4, + + lane5, + + lane6, + + lane7, + + lane8, + + lane9, + + layBy, + + leftHandTurningLane, + + leftLane, + + localTrafficLane, + + middleLane, + + opposingLanes, + + overtakingLane, + + rightHandTurningLane, + + rightLane, + + rushHourLane, + + setDownArea, + + slowVehicleLane, + + throughTrafficLane, + + tidalFlowLane, + + turningLane, + + verge, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasuredOrDerivedDataTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum MeasuredOrDerivedDataTypeEnum + { + + humidityInformation, + + individualVehicleMeasurements, + + pollutionInformation, + + precipitationInformation, + + pressureInformation, + + radiationInformation, + + roadSurfaceConditionInformation, + + temperatureInformation, + + trafficConcentration, + + trafficFlow, + + trafficHeadway, + + trafficSpeed, + + trafficStatusInformation, + + travelTimeInformation, + + visibilityInformation, + + windInformation, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_MeasurementSiteTableVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _MeasurementSiteTableVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "MeasurementSiteTable"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_ParkingSiteScenarioIndexParkingUsageScenario", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _ParkingSiteScenarioIndexParkingUsageScenario + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenario")] + public ParkingUsageScenario parkingUsageScenario { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("scenarioIndex")] + public int scenarioIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PointExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PointExtensionType + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrExtendedPoint")] + public OpenlrExtendedPoint openlrExtendedPoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointExtended")] + public PointExtended pointExtended { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _PointExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrExtendedPoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrExtendedPoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrPointLocationReference")] + public OpenlrPointLocationReference openlrPointLocationReference { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrPointLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrPointLocationReference + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrGeoCoordinate")] + public OpenlrGeoCoordinate openlrGeoCoordinate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPoiWithAccessPoint")] + public OpenlrPoiWithAccessPoint openlrPoiWithAccessPoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPointAlongLine")] + public OpenlrPointAlongLine openlrPointAlongLine { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPointLocationReferenceExtension")] + public _ExtensionType openlrPointLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrGeoCoordinate", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrGeoCoordinate + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrCoordinate")] + public PointCoordinates openlrCoordinate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrGeoCoordinateExtension")] + public _ExtensionType openlrGeoCoordinateExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrPoiWithAccessPoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrPoiWithAccessPoint : OpenlrBasePointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrCoordinate")] + public PointCoordinates openlrCoordinate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPoiWithAccessPointExtension")] + public _ExtensionType openlrPoiWithAccessPointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrBasePointLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrPointAlongLine))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OpenlrPoiWithAccessPoint))] + public abstract partial class OpenlrBasePointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrSideOfRoad")] + public OpenlrSideOfRoadEnum openlrSideOfRoad { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrOrientation")] + public OpenlrOrientationEnum openlrOrientation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPositiveOffset")] + public string openlrPositiveOffset { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLocationReferencePoint")] + public OpenlrLocationReferencePoint openlrLocationReferencePoint { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLastLocationReferencePoint")] + public OpenlrLastLocationReferencePoint openlrLastLocationReferencePoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrBasePointLocationExtension")] + public _ExtensionType openlrBasePointLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrSideOfRoadEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OpenlrSideOfRoadEnum + { + + onRoadOrUnknown, + + right, + + left, + + both, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrOrientationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OpenlrOrientationEnum + { + + noOrientationOrUnknown, + + withLineDirection, + + againstLineDirection, + + both, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrPointAlongLine", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrPointAlongLine : OpenlrBasePointLocation + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPointAlongLineExtension")] + public _ExtensionType openlrPointAlongLineExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PointExtended", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PointExtended + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("description")] + public MultilingualString description { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("junction")] + public Junction junction { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Junction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Junction + { + + [System.Xml.Serialization.XmlElementAttribute("junctionClassification")] + public JunctionClassificationEnum junctionClassification { get; set; } + + /// + /// Gets or sets a value indicating whether the junctionClassification property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool junctionClassificationSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("junctionName")] + public MultilingualString junctionName { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("junctionNumber")] + public string junctionNumber { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("motorway")] + public Road motorway { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _destinationMotorway; + + [System.Xml.Serialization.XmlElementAttribute("destinationMotorway")] + public System.Collections.ObjectModel.Collection destinationMotorway + { + get + { + return _destinationMotorway; + } + private set + { + _destinationMotorway = value; + } + } + + /// + /// Gets a value indicating whether the destinationMotorway collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool destinationMotorwaySpecified + { + get + { + return (this.destinationMotorway.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Junction() + { + this._destinationMotorway = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("junctionExtension")] + public _ExtensionType junctionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("JunctionClassificationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum JunctionClassificationEnum + { + + threeWayInterchange, + + interchange, + + motorwayConnection, + + junction, + + temporaryJunction, + + borderCrossing, + + junctionInOneDirection, + + operationalServiceJunction, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Road", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadNode))] + public partial class Road + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nameOfRoad")] + public MultilingualString nameOfRoad { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadIdentifier")] + public MultilingualString roadIdentifier { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("typeOfRoad")] + public RoadTypeEnum typeOfRoad { get; set; } + + /// + /// Gets or sets a value indicating whether the typeOfRoad property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool typeOfRoadSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _roadDestination; + + [System.Xml.Serialization.XmlElementAttribute("roadDestination")] + public System.Collections.ObjectModel.Collection roadDestination + { + get + { + return _roadDestination; + } + private set + { + _roadDestination = value; + } + } + + /// + /// Gets a value indicating whether the roadDestination collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool roadDestinationSpecified + { + get + { + return (this.roadDestination.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Road() + { + this._roadDestination = new System.Collections.ObjectModel.Collection(); + this._roadOrigination = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _roadOrigination; + + [System.Xml.Serialization.XmlElementAttribute("roadOrigination")] + public System.Collections.ObjectModel.Collection roadOrigination + { + get + { + return _roadOrigination; + } + private set + { + _roadOrigination = value; + } + } + + /// + /// Gets a value indicating whether the roadOrigination collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool roadOriginationSpecified + { + get + { + return (this.roadOrigination.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceToThisRoad")] + public string distanceToThisRoad { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadExtension")] + public _ExtensionType roadExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadTypeEnum + { + + motorway, + + trunkRoad, + + mainRoad, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PredefinedItineraryIndexPredefinedLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PredefinedItineraryIndexPredefinedLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocation")] + public PredefinedLocation predefinedLocation { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("index")] + public int index { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PredefinedLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PredefinedLocation : PredefinedLocationContainer + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocationName")] + public MultilingualString predefinedLocationName { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("location")] + public Location location { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocationExtension")] + public _ExtensionType predefinedLocationExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PredefinedLocationContainer", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PredefinedItinerary))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PredefinedLocation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PredefinedNonOrderedLocationGroup))] + public abstract partial class PredefinedLocationContainer + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocationContainerExtension")] + public _ExtensionType predefinedLocationContainerExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PredefinedItineraryVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PredefinedItineraryVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "PredefinedItinerary"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PredefinedLocationVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PredefinedLocationVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "PredefinedLocation"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_PredefinedNonOrderedLocationGroupVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _PredefinedNonOrderedLocationGroupVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "PredefinedNonOrderedLocationGroup"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_SiteMeasurementsIndexMeasuredValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _SiteMeasurementsIndexMeasuredValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measuredValue")] + public MeasuredValue measuredValue { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("index")] + public int index { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasuredValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasuredValue + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementEquipmentTypeUsed")] + public MultilingualString measurementEquipmentTypeUsed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("locationCharacteristicsOverride")] + public LocationCharacteristicsOverride locationCharacteristicsOverride { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _measurementEquipmentFault; + + [System.Xml.Serialization.XmlElementAttribute("measurementEquipmentFault")] + public System.Collections.ObjectModel.Collection measurementEquipmentFault + { + get + { + return _measurementEquipmentFault; + } + private set + { + _measurementEquipmentFault = value; + } + } + + /// + /// Gets a value indicating whether the measurementEquipmentFault collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementEquipmentFaultSpecified + { + get + { + return (this.measurementEquipmentFault.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public MeasuredValue() + { + this._measurementEquipmentFault = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("basicData")] + public BasicData basicData { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measuredValueExtension")] + public _ExtensionType measuredValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LocationCharacteristicsOverride", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LocationCharacteristicsOverride + { + + [System.Xml.Serialization.XmlElementAttribute("measurementLanesOverride")] + public LaneEnum measurementLanesOverride { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementLanesOverride property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementLanesOverrideSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("reversedFlow")] + public bool reversedFlow { get; set; } + + /// + /// Gets or sets a value indicating whether the reversedFlow property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool reversedFlowSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("locationCharacteristicsOverrideExtension")] + public _ExtensionType locationCharacteristicsOverrideExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasurementEquipmentFault", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasurementEquipmentFault : Fault + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementEquipmentFault")] + public MeasurementEquipmentFaultEnum measurementEquipmentFault { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementEquipmentFaultExtension")] + public _ExtensionType measurementEquipmentFaultExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Fault", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElaboratedDataFault))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MeasurementEquipmentFault))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VmsFault))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VmsUnitFault))] + public partial class Fault + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("faultIdentifier")] + public string faultIdentifier { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("faultDescription")] + public string faultDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("faultCreationTime", DataType="dateTime")] + public System.DateTime faultCreationTime { get; set; } + + /// + /// Gets or sets a value indicating whether the faultCreationTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool faultCreationTimeSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("faultLastUpdateTime", DataType="dateTime")] + public System.DateTime faultLastUpdateTime { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("faultSeverity")] + public FaultSeverityEnum faultSeverity { get; set; } + + /// + /// Gets or sets a value indicating whether the faultSeverity property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool faultSeveritySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("faultExtension")] + public _ExtensionType faultExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("FaultSeverityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum FaultSeverityEnum + { + + low, + + medium, + + high, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasurementEquipmentFaultEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum MeasurementEquipmentFaultEnum + { + + intermittentDataValues, + + noDataValuesAvailable, + + spuriousUnreliableDataValues, + + unspecifiedOrUnknownFault, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("BasicData", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(HumidityInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(IndividualVehicleDataValues))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PollutionInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PrecipitationInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadSurfaceConditionInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TemperatureInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficConcentration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficData))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficFlow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficHeadway))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficSpeed))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficStatus))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TravelTimeData))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VisibilityInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WeatherData))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WindInformation))] + public abstract partial class BasicData + { + + [System.Xml.Serialization.XmlElementAttribute("measurementOrCalculationPeriod")] + public float measurementOrCalculationPeriod { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementOrCalculationPeriod property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementOrCalculationPeriodSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("measurementOrCalculationTime", DataType="dateTime")] + public System.DateTime measurementOrCalculationTime { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementOrCalculationTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementOrCalculationTimeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pertinentLocation")] + public GroupOfLocations pertinentLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("basicDataExtension")] + public _ExtensionType basicDataExtension { get; set; } + + [System.Xml.Serialization.XmlAttributeAttribute("measurementOrCalculatedTimePrecision")] + public TimePrecisionEnum measurementOrCalculatedTimePrecision { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementOrCalculatedTimePrecision property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementOrCalculatedTimePrecisionSpecified { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TimePrecisionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TimePrecisionEnum + { + + tenthsOfSecond, + + second, + + minute, + + quarterHour, + + halfHour, + + hour, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_SituationRecordExtensionType", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _SituationRecordExtensionType + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationRecordExtendedApproved")] + public SituationRecordExtendedApproved situationRecordExtendedApproved { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _any; + + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Collections.ObjectModel.Collection Any + { + get + { + return _any; + } + private set + { + _any = value; + } + } + + /// + /// Gets a value indicating whether the Any collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnySpecified + { + get + { + return (this.Any.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public _SituationRecordExtensionType() + { + this._any = new System.Collections.ObjectModel.Collection(); + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SituationRecordExtendedApproved", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SituationRecordExtendedApproved + { + + [System.Xml.Serialization.XmlElementAttribute("safetyRelatedMessage")] + public bool safetyRelatedMessage { get; set; } + + /// + /// Gets or sets a value indicating whether the safetyRelatedMessage property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool safetyRelatedMessageSpecified { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_SituationRecordVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _SituationRecordVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "SituationRecord"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_SituationVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _SituationVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "Situation"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_TextPage", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _TextPage + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsText")] + public VmsText vmsText { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("pageNumber")] + public int pageNumber { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsText", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsText + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsLegendCode")] + public string vmsLegendCode { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextImageUrl")] + public string vmsTextImageUrl { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsTextLineIndexVmsTextLine> _vmsTextLine; + + [System.Xml.Serialization.XmlElementAttribute("vmsTextLine")] + public System.Collections.ObjectModel.Collection<_VmsTextLineIndexVmsTextLine> vmsTextLine + { + get + { + return _vmsTextLine; + } + private set + { + _vmsTextLine = value; + } + } + + /// + /// Gets a value indicating whether the vmsTextLine collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsTextLineSpecified + { + get + { + return (this.vmsTextLine.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsText() + { + this._vmsTextLine = new System.Collections.ObjectModel.Collection<_VmsTextLineIndexVmsTextLine>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextExtension")] + public _ExtensionType vmsTextExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsTextLineIndexVmsTextLine", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsTextLineIndexVmsTextLine + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsTextLine")] + public VmsTextLine vmsTextLine { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("lineIndex")] + public int lineIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsTextLine", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsTextLine + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsTextLine")] + public string vmsTextLine { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextLineLanguage")] + public string vmsTextLineLanguage { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsTextLineColour")] + public ColourEnum vmsTextLineColour { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsTextLineColour property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsTextLineColourSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsTextLineFlashing")] + public bool vmsTextLineFlashing { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsTextLineFlashing property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsTextLineFlashingSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextLineHtml")] + public string vmsTextLineHtml { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextLineExtension")] + public _ExtensionType vmsTextLineExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ColourEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ColourEnum + { + + amber, + + blue, + + green, + + red, + + white, + + whiteYellow, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsDynamicCharacteristicsPictogramDisplayAreaIndexVmsPictogramDisplayCharacteris" + + "tics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsDynamicCharacteristicsPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayCharacteristics")] + public VmsPictogramDisplayCharacteristics vmsPictogramDisplayCharacteristics { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("pictogramDisplayAreaIndex")] + public int pictogramDisplayAreaIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsPictogramDisplayCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsPictogramDisplayCharacteristics + { + + [System.Xml.Serialization.XmlElementAttribute("pictogramLanternsPresent")] + public bool pictogramLanternsPresent { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramLanternsPresent property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramLanternsPresentSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramSequencingCapable")] + public bool pictogramSequencingCapable { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramSequencingCapable property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramSequencingCapableSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramPixelsAcross")] + public string pictogramPixelsAcross { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramPixelsDown")] + public string pictogramPixelsDown { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramDisplayHeight")] + public float pictogramDisplayHeight { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramDisplayHeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramDisplayHeightSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramDisplayWidth")] + public float pictogramDisplayWidth { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramDisplayWidth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramDisplayWidthSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramCodeListIdentifier")] + public string pictogramCodeListIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxPictogramLuminanceLevel")] + public string maxPictogramLuminanceLevel { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramNumberOfColours")] + public string pictogramNumberOfColours { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxNumberOfSequentialPictograms")] + public string maxNumberOfSequentialPictograms { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramPositionAbsolute")] + public PositionAbsoluteEnum pictogramPositionAbsolute { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramPositionAbsolute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramPositionAbsoluteSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramPositionX")] + public float pictogramPositionX { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramPositionX property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramPositionXSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramPositionY")] + public float pictogramPositionY { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramPositionY property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramPositionYSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramPositionRelativeToText")] + public PositionRelativeEnum pictogramPositionRelativeToText { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramPositionRelativeToText property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramPositionRelativeToTextSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryPanelCharacteristics")] + public VmsSupplementaryPanelCharacteristics vmsSupplementaryPanelCharacteristics { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayCharacteristicsExtension")] + public _ExtensionType vmsPictogramDisplayCharacteristicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PositionAbsoluteEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PositionAbsoluteEnum + { + + onLeft, + + onRight, + + atTop, + + atBottom, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PositionRelativeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PositionRelativeEnum + { + + above, + + below, + + toTheLeft, + + toTheRight, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsSupplementaryPanelCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsSupplementaryPanelCharacteristics + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPictogramCodeListIdentifier")] + public string supplementaryPictogramCodeListIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPanelPixelsAcross")] + public string supplementaryPanelPixelsAcross { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPanelPixelsDown")] + public string supplementaryPanelPixelsDown { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("supplementaryPanelDisplayHeight")] + public float supplementaryPanelDisplayHeight { get; set; } + + /// + /// Gets or sets a value indicating whether the supplementaryPanelDisplayHeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool supplementaryPanelDisplayHeightSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("supplementaryPanelDisplayWidth")] + public float supplementaryPanelDisplayWidth { get; set; } + + /// + /// Gets or sets a value indicating whether the supplementaryPanelDisplayWidth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool supplementaryPanelDisplayWidthSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("supplementaryPanelPositionX")] + public float supplementaryPanelPositionX { get; set; } + + /// + /// Gets or sets a value indicating whether the supplementaryPanelPositionX property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool supplementaryPanelPositionXSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("supplementaryPanelPositionY")] + public float supplementaryPanelPositionY { get; set; } + + /// + /// Gets or sets a value indicating whether the supplementaryPanelPositionY property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool supplementaryPanelPositionYSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("relativePositionToPictogramArea")] + public PositionRelativeEnum relativePositionToPictogramArea { get; set; } + + /// + /// Gets or sets a value indicating whether the relativePositionToPictogramArea property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool relativePositionToPictogramAreaSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryPanelCharacteristicsExtension")] + public _ExtensionType vmsSupplementaryPanelCharacteristicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsMessageIndexVmsMessage", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsMessageIndexVmsMessage + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsMessage")] + public VmsMessage vmsMessage { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("messageIndex")] + public int messageIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsMessage", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsMessage + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("associatedManagementOrDiversionPlan")] + public string associatedManagementOrDiversionPlan { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("messageSetBy")] + public MultilingualString messageSetBy { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("setBySystem")] + public bool setBySystem { get; set; } + + /// + /// Gets or sets a value indicating whether the setBySystem property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool setBySystemSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("reasonForSetting")] + public MultilingualString reasonForSetting { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("codedReasonForSetting")] + public CodedReasonForSettingMessageEnum codedReasonForSetting { get; set; } + + /// + /// Gets or sets a value indicating whether the codedReasonForSetting property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool codedReasonForSettingSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsMessageInformationType; + + [System.Xml.Serialization.XmlElementAttribute("vmsMessageInformationType")] + public System.Collections.ObjectModel.Collection vmsMessageInformationType + { + get + { + return _vmsMessageInformationType; + } + private set + { + _vmsMessageInformationType = value; + } + } + + /// + /// Gets a value indicating whether the vmsMessageInformationType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsMessageInformationTypeSpecified + { + get + { + return (this.vmsMessageInformationType.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsMessage() + { + this._vmsMessageInformationType = new System.Collections.ObjectModel.Collection(); + this._textPage = new System.Collections.ObjectModel.Collection<_TextPage>(); + this._vmsPictogramDisplayArea = new System.Collections.ObjectModel.Collection<_VmsMessagePictogramDisplayAreaIndexVmsPictogramDisplayArea>(); + } + + [System.Xml.Serialization.XmlElementAttribute("primarySetting")] + public bool primarySetting { get; set; } + + /// + /// Gets or sets a value indicating whether the primarySetting property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool primarySettingSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("mareNostrumCompliant")] + public bool mareNostrumCompliant { get; set; } + + /// + /// Gets or sets a value indicating whether the mareNostrumCompliant property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool mareNostrumCompliantSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("timeLastSet", DataType="dateTime")] + public System.DateTime timeLastSet { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("requestedBy")] + public MultilingualString requestedBy { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationToWhichMessageIsRelated")] + public VersionedReference situationToWhichMessageIsRelated { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationRecordToWhichMessageIsRelated")] + public VersionedReference situationRecordToWhichMessageIsRelated { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("distanceFromSituationRecord")] + public float distanceFromSituationRecord { get; set; } + + /// + /// Gets or sets a value indicating whether the distanceFromSituationRecord property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool distanceFromSituationRecordSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textPictogramSequencingInterval")] + public float textPictogramSequencingInterval { get; set; } + + /// + /// Gets or sets a value indicating whether the textPictogramSequencingInterval property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textPictogramSequencingIntervalSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_TextPage> _textPage; + + [System.Xml.Serialization.XmlElementAttribute("textPage")] + public System.Collections.ObjectModel.Collection<_TextPage> textPage + { + get + { + return _textPage; + } + private set + { + _textPage = value; + } + } + + /// + /// Gets a value indicating whether the textPage collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textPageSpecified + { + get + { + return (this.textPage.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsMessagePictogramDisplayAreaIndexVmsPictogramDisplayArea> _vmsPictogramDisplayArea; + + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayArea")] + public System.Collections.ObjectModel.Collection<_VmsMessagePictogramDisplayAreaIndexVmsPictogramDisplayArea> vmsPictogramDisplayArea + { + get + { + return _vmsPictogramDisplayArea; + } + private set + { + _vmsPictogramDisplayArea = value; + } + } + + /// + /// Gets a value indicating whether the vmsPictogramDisplayArea collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsPictogramDisplayAreaSpecified + { + get + { + return (this.vmsPictogramDisplayArea.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsMessageExtension")] + public _ExtensionType vmsMessageExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CodedReasonForSettingMessageEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CodedReasonForSettingMessageEnum + { + + situation, + + operatorCreated, + + trafficManagement, + + travelTime, + + campaign, + + [System.Xml.Serialization.XmlEnumAttribute("default")] + Item_default, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsMessageInformationTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VmsMessageInformationTypeEnum + { + + campaignMessage, + + dateTime, + + futureInformation, + + instructionOrMessage, + + situationWarning, + + temperature, + + trafficManagement, + + travelTime, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsMessagePictogramDisplayAreaIndexVmsPictogramDisplayArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsMessagePictogramDisplayAreaIndexVmsPictogramDisplayArea + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayArea")] + public VmsPictogramDisplayArea vmsPictogramDisplayArea { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("pictogramDisplayAreaIndex")] + public int pictogramDisplayAreaIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsPictogramDisplayArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsPictogramDisplayArea + { + + [System.Xml.Serialization.XmlElementAttribute("synchronizedSequencingWithTextPages")] + public bool synchronizedSequencingWithTextPages { get; set; } + + /// + /// Gets or sets a value indicating whether the synchronizedSequencingWithTextPages property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool synchronizedSequencingWithTextPagesSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsPictogramDisplayAreaPictogramSequencingIndexVmsPictogram> _vmsPictogram; + + [System.Xml.Serialization.XmlElementAttribute("vmsPictogram")] + public System.Collections.ObjectModel.Collection<_VmsPictogramDisplayAreaPictogramSequencingIndexVmsPictogram> vmsPictogram + { + get + { + return _vmsPictogram; + } + private set + { + _vmsPictogram = value; + } + } + + /// + /// Gets a value indicating whether the vmsPictogram collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsPictogramSpecified + { + get + { + return (this.vmsPictogram.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsPictogramDisplayArea() + { + this._vmsPictogram = new System.Collections.ObjectModel.Collection<_VmsPictogramDisplayAreaPictogramSequencingIndexVmsPictogram>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayAreaExtension")] + public _ExtensionType vmsPictogramDisplayAreaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsPictogramDisplayAreaPictogramSequencingIndexVmsPictogram", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsPictogramDisplayAreaPictogramSequencingIndexVmsPictogram + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogram")] + public VmsPictogram vmsPictogram { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("pictogramSequencingIndex")] + public int pictogramSequencingIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsPictogram", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsPictogram + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _pictogramDescription; + + [System.Xml.Serialization.XmlElementAttribute("pictogramDescription")] + public System.Collections.ObjectModel.Collection pictogramDescription + { + get + { + return _pictogramDescription; + } + private set + { + _pictogramDescription = value; + } + } + + /// + /// Gets a value indicating whether the pictogramDescription collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramDescriptionSpecified + { + get + { + return (this.pictogramDescription.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsPictogram() + { + this._pictogramDescription = new System.Collections.ObjectModel.Collection(); + } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramCode")] + public string pictogramCode { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramUrl")] + public string pictogramUrl { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("additionalPictogramDescription")] + public MultilingualString additionalPictogramDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramFlashing")] + public bool pictogramFlashing { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramFlashing property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramFlashingSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramInInverseColour")] + public bool pictogramInInverseColour { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramInInverseColour property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramInInverseColourSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("presenceOfRedTriangle")] + public bool presenceOfRedTriangle { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("viennaConventionCompliant")] + public bool viennaConventionCompliant { get; set; } + + /// + /// Gets or sets a value indicating whether the viennaConventionCompliant property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool viennaConventionCompliantSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceAttribute")] + public string distanceAttribute { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("heightAttribute")] + public float heightAttribute { get; set; } + + /// + /// Gets or sets a value indicating whether the heightAttribute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool heightAttributeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("lengthAttribute")] + public float lengthAttribute { get; set; } + + /// + /// Gets or sets a value indicating whether the lengthAttribute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lengthAttributeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("speedAttribute")] + public float speedAttribute { get; set; } + + /// + /// Gets or sets a value indicating whether the speedAttribute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool speedAttributeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("weightAttribute")] + public float weightAttribute { get; set; } + + /// + /// Gets or sets a value indicating whether the weightAttribute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool weightAttributeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("weightPerAxleAttribute")] + public float weightPerAxleAttribute { get; set; } + + /// + /// Gets or sets a value indicating whether the weightPerAxleAttribute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool weightPerAxleAttributeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("widthAttribute")] + public float widthAttribute { get; set; } + + /// + /// Gets or sets a value indicating whether the widthAttribute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool widthAttributeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryPanel")] + public VmsSupplementaryPanel vmsSupplementaryPanel { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramExtension")] + public _ExtensionType vmsPictogramExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsDatexPictogramEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VmsDatexPictogramEnum + { + + accident, + + advisorySpeed, + + animalsOnRoad, + + blankVoid, + + bridgeClosed, + + bridgeSwingInOperation, + + carParkFull, + + carParkSpacesAvailable, + + carriagewayNarrows, + + carriagewayNarrowsOnTheLeft, + + carriagewayNarrowsOnTheRight, + + carriagewayReducedToOneLane, + + carriagewayReducedToTwoLanes, + + carriagewayReducedToThreeLanes, + + chainsOrSnowTyresRecommended, + + compulsoryMinimumSpeed, + + crossWind, + + dangerOfFire, + + drivingOfVehiclesLessThanXMetresApartProhibited, + + endOfAdvisorySpeed, + + endOfCompulsoryMinimumSpeed, + + endOfProhibitionOfOvertaking, + + endOfProhibitionOfOvertakingForGoodsVehicles, + + endOfSpeedLimit, + + exitClosed, + + fallingRocks, + + fastenChildrensSeatBelts, + + fastenYourSeatBelt, + + fire, + + floodingOrFlashFloods, + + fog, + + footballMatch, + + hardShoulderNotRunning, + + hardShoulderRunning, + + keepASafeDistance, + + keepLeft, + + keepRight, + + lane1ClosedOf2, + + lane2ClosedOf2, + + lane1ClosedOf3, + + lane3ClosedOf3, + + lanes1And2ClosedOf3, + + lanes2And3ClosedOf3, + + lane1ClosedOf4, + + lane4ClosedOf4, + + lanes1And2ClosedOf4, + + lanes3And4ClosedOf4, + + lanes1And2And3ClosedOf4, + + lanes2And3And4ClosedOf4, + + laneClosed, + + laneDeviationToLeft, + + laneDeviationToRight, + + laneOpen, + + leftHandLaneClosed, + + lightSignals, + + looseGravel, + + maintenanceVehicleInAction, + + maximumSpeedLimitedToTheFigureIndicated, + + narrowLanesAead, + + noEntry, + + noEntryForAnyPowerDrivenVehicleDrawingATrailer, + + noEntryForAnyPowerDrivenVehicleDrawingATrailerOtherThanASemiTrailerOrASingleAxleTrailer, + + noEntryForGoodsVehicles, + + noEntryForVehiclesExceedingXTonnesLadenMass, + + noEntryForVehiclesHavingAMassExceedingXTonnesOnOneAxle, + + noEntryForVehiclesHavingAnOverallHeightExceedingXMetres, + + noEntryForVehiclesHavingAnOverallLengthExceedingXMetres, + + noEntryForVehiclesHavingAnOverallWidthExceedingXMetres, + + noEntryForVehiclesCarryingDangerousGoods, + + otherDangers, + + overtakingByGoodsVehiclesProhibited, + + overtakingProhibited, + + pollutionOrSmogAlert, + + queue, + + rain, + + rightHandLaneClosed, + + roadClosedAhead, + + roadworks, + + slipperyRoad, + + smoke, + + snow, + + snowChainsCompulsory, + + snowTyresCompulsory, + + snowPloughInAction, + + speedCamerasInAction, + + trafficCongestion, + + trafficDeviatedToOppositeCarriagewayAhead, + + trafficPartiallyDeviatedToOppositeCarriagewayAhead, + + tunnelClosed, + + turnLeft, + + turnRight, + + twoWayTraffic, + + unevenRoad, + + vehicleFire, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsSupplementaryPanel", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsSupplementaryPanel + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryMessageDescription")] + public MultilingualString supplementaryMessageDescription { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryPictogram")] + public VmsSupplementaryPictogram vmsSupplementaryPictogram { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryText")] + public VmsTextLine vmsSupplementaryText { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryPanelExtension")] + public _ExtensionType vmsSupplementaryPanelExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsSupplementaryPictogram", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsSupplementaryPictogram + { + + [System.Xml.Serialization.XmlElementAttribute("supplementaryPictogramDescription")] + public VmsDatexSupplementalPictogramEnum supplementaryPictogramDescription { get; set; } + + /// + /// Gets or sets a value indicating whether the supplementaryPictogramDescription property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool supplementaryPictogramDescriptionSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPictogramCode")] + public string supplementaryPictogramCode { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPictogramUrl")] + public string supplementaryPictogramUrl { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("additionalSupplementaryPictogramDescription")] + public MultilingualString additionalSupplementaryPictogramDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramFlashing")] + public bool pictogramFlashing { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramFlashing property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramFlashingSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSupplementaryPictogramExtension")] + public _ExtensionType vmsSupplementaryPictogramExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsDatexSupplementalPictogramEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VmsDatexSupplementalPictogramEnum + { + + distanceToTheBeginningofTheApplicationZone, + + exceptAnyPowerDrivenVehicleDrawingTrailer, + + exceptBus, + + exceptGoodsVehicles, + + exceptSemiTrailer, + + exceptVehiclesCarryingDangerousGoods, + + inCaseOfIceOrSnow, + + lengthOfTheApplicationZone, + + restrictedToAnyPowerDrivenVehicleDrawingTrailer, + + restricetdToBus, + + restrictedToGoodsVehicles, + + restrictedToSemiTrailer, + + restrictedToVehiclesCarryingDangerousGoods, + + maintenanceVehicles, + + snowPloughs, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsPictogramDisplayAreaIndexPictogramDisplayAreaSettings", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsPictogramDisplayAreaIndexPictogramDisplayAreaSettings + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pictogramDisplayAreaSettings")] + public PictogramDisplayAreaSettings pictogramDisplayAreaSettings { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("pictogramDisplayAreaIndex")] + public int pictogramDisplayAreaIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PictogramDisplayAreaSettings", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PictogramDisplayAreaSettings + { + + [System.Xml.Serialization.XmlElementAttribute("pictogramLanternsOn")] + public bool pictogramLanternsOn { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramLanternsOn property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramLanternsOnSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramLuminanceOverride")] + public bool pictogramLuminanceOverride { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramLuminanceOverride property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramLuminanceOverrideSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramLuminanceLevel")] + public string pictogramLuminanceLevel { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("pictogramLuminanceLevelName")] + public VmsLuminanceLevelEnum pictogramLuminanceLevelName { get; set; } + + /// + /// Gets or sets a value indicating whether the pictogramLuminanceLevelName property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramLuminanceLevelNameSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pictogramDisplayAreaSettingsExtension")] + public _ExtensionType pictogramDisplayAreaSettingsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsLuminanceLevelEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VmsLuminanceLevelEnum + { + + switchedOff, + + testing, + + night, + + overcast, + + broadDaylight, + + sunInEyes, + + sunOnBack, + + foggyDay, + + foggyNight, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsRecordPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsRecordPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayCharacteristics")] + public VmsPictogramDisplayCharacteristics vmsPictogramDisplayCharacteristics { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("pictogramDisplayAreaIndex")] + public int pictogramDisplayAreaIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsUnitRecordVmsIndexVmsRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsUnitRecordVmsIndexVmsRecord + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsRecord")] + public VmsRecord vmsRecord { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("vmsIndex")] + public int vmsIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsRecord + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsDescription")] + public MultilingualString vmsDescription { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsOwner")] + public MultilingualString vmsOwner { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsPhysicalMounting")] + public PhysicalMountingEnum vmsPhysicalMounting { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsPhysicalMounting property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsPhysicalMountingSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsType")] + public VmsTypeEnum vmsType { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsTypeSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTypeCode")] + public string vmsTypeCode { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfPictogramDisplayAreas")] + public string numberOfPictogramDisplayAreas { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dynamicallyConfigurableDisplayAreas")] + public bool dynamicallyConfigurableDisplayAreas { get; set; } + + /// + /// Gets or sets a value indicating whether the dynamicallyConfigurableDisplayAreas property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dynamicallyConfigurableDisplayAreasSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsDisplayHeight")] + public float vmsDisplayHeight { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsDisplayHeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsDisplayHeightSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsDisplayWidth")] + public float vmsDisplayWidth { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsDisplayWidth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsDisplayWidthSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsHeightAboveRoadway")] + public float vmsHeightAboveRoadway { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsHeightAboveRoadway property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsHeightAboveRoadwaySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextDisplayCharacteristics")] + public VmsTextDisplayCharacteristics vmsTextDisplayCharacteristics { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsRecordPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics> _vmsPictogramDisplayCharacteristics; + + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayCharacteristics")] + public System.Collections.ObjectModel.Collection<_VmsRecordPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics> vmsPictogramDisplayCharacteristics + { + get + { + return _vmsPictogramDisplayCharacteristics; + } + private set + { + _vmsPictogramDisplayCharacteristics = value; + } + } + + /// + /// Gets a value indicating whether the vmsPictogramDisplayCharacteristics collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsPictogramDisplayCharacteristicsSpecified + { + get + { + return (this.vmsPictogramDisplayCharacteristics.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsRecord() + { + this._vmsPictogramDisplayCharacteristics = new System.Collections.ObjectModel.Collection<_VmsRecordPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsLocation")] + public Location vmsLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsManagedLogicalLocation")] + public VmsManagedLogicalLocation vmsManagedLogicalLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("backgroundImageUrl")] + public UrlLink backgroundImageUrl { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsRecordExtension")] + public _ExtensionType vmsRecordExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PhysicalMountingEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PhysicalMountingEnum + { + + centralReservationMounted, + + gantryMounted, + + overheadBridgeMounted, + + roadsideCantileverMounted, + + roadsideMounted, + + trailerMounted, + + tunnelEntranceMounted, + + vehicleMounted, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VmsTypeEnum + { + + colourGraphic, + + continuousSign, + + monochromeGraphic, + + matrixSign, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsTextDisplayCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsTextDisplayCharacteristics + { + + [System.Xml.Serialization.XmlElementAttribute("textLanternsPresent")] + public bool textLanternsPresent { get; set; } + + /// + /// Gets or sets a value indicating whether the textLanternsPresent property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textLanternsPresentSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textPageSequencingCapable")] + public bool textPageSequencingCapable { get; set; } + + /// + /// Gets or sets a value indicating whether the textPageSequencingCapable property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textPageSequencingCapableSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("textPixelsAcross")] + public string textPixelsAcross { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("textPixelsDown")] + public string textPixelsDown { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textDisplayHeight")] + public float textDisplayHeight { get; set; } + + /// + /// Gets or sets a value indicating whether the textDisplayHeight property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textDisplayHeightSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textDisplayWidth")] + public float textDisplayWidth { get; set; } + + /// + /// Gets or sets a value indicating whether the textDisplayWidth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textDisplayWidthSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxNumberOfCharacters")] + public string maxNumberOfCharacters { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxNumberOfRows")] + public string maxNumberOfRows { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("legendCodeListIdentifier")] + public string legendCodeListIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxFontHeight")] + public string maxFontHeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minFontHeight")] + public string minFontHeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxFontWidth")] + public string maxFontWidth { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minFontWidth")] + public string minFontWidth { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxFontSpacing")] + public string maxFontSpacing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minFontSpacing")] + public string minFontSpacing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxTextLuminanceLevel")] + public string maxTextLuminanceLevel { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maxNumberOfSequentialPages")] + public string maxNumberOfSequentialPages { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textPositionAbsolute")] + public PositionAbsoluteEnum textPositionAbsolute { get; set; } + + /// + /// Gets or sets a value indicating whether the textPositionAbsolute property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textPositionAbsoluteSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textPositionX")] + public float textPositionX { get; set; } + + /// + /// Gets or sets a value indicating whether the textPositionX property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textPositionXSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textPositionY")] + public float textPositionY { get; set; } + + /// + /// Gets or sets a value indicating whether the textPositionY property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textPositionYSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextDisplayCharacteristicsExtension")] + public _ExtensionType vmsTextDisplayCharacteristicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsManagedLogicalLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsManagedLogicalLocation + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("managedLogicalLocation")] + public MultilingualString managedLogicalLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceFromLogicalLocation")] + public string distanceFromLogicalLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("managedLocation")] + public Location managedLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsManagedLogicalLocationExtension")] + public _ExtensionType vmsManagedLogicalLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UrlLink", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UrlLink + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("urlLinkAddress")] + public string urlLinkAddress { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urlLinkDescription")] + public MultilingualString urlLinkDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("urlLinkType")] + public UrlLinkTypeEnum urlLinkType { get; set; } + + /// + /// Gets or sets a value indicating whether the urlLinkType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool urlLinkTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urlLinkExtension")] + public _ExtensionType urlLinkExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UrlLinkTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum UrlLinkTypeEnum + { + + documentPdf, + + html, + + image, + + rss, + + videoStream, + + voiceStream, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsUnitTableVersionedReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsUnitTableVersionedReference : VersionedReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _targetClass = "VmsUnitTable"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("targetClass")] + public string targetClass + { + get + { + return _targetClass; + } + set + { + _targetClass = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("_VmsUnitVmsIndexVms", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class _VmsUnitVmsIndexVms + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vms")] + public Vms vms { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("vmsIndex")] + public int vmsIndex { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Vms", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Vms + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsWorking")] + public bool vmsWorking { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vmsMessageSequencingInterval")] + public float vmsMessageSequencingInterval { get; set; } + + /// + /// Gets or sets a value indicating whether the vmsMessageSequencingInterval property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsMessageSequencingIntervalSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsMessageIndexVmsMessage> _vmsMessage; + + [System.Xml.Serialization.XmlElementAttribute("vmsMessage")] + public System.Collections.ObjectModel.Collection<_VmsMessageIndexVmsMessage> vmsMessage + { + get + { + return _vmsMessage; + } + private set + { + _vmsMessage = value; + } + } + + /// + /// Gets a value indicating whether the vmsMessage collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsMessageSpecified + { + get + { + return (this.vmsMessage.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Vms() + { + this._vmsMessage = new System.Collections.ObjectModel.Collection<_VmsMessageIndexVmsMessage>(); + this._pictogramDisplayAreaSettings = new System.Collections.ObjectModel.Collection<_VmsPictogramDisplayAreaIndexPictogramDisplayAreaSettings>(); + this._vmsFault = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("textDisplayAreaSettings")] + public TextDisplayAreaSettings textDisplayAreaSettings { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsPictogramDisplayAreaIndexPictogramDisplayAreaSettings> _pictogramDisplayAreaSettings; + + [System.Xml.Serialization.XmlElementAttribute("pictogramDisplayAreaSettings")] + public System.Collections.ObjectModel.Collection<_VmsPictogramDisplayAreaIndexPictogramDisplayAreaSettings> pictogramDisplayAreaSettings + { + get + { + return _pictogramDisplayAreaSettings; + } + private set + { + _pictogramDisplayAreaSettings = value; + } + } + + /// + /// Gets a value indicating whether the pictogramDisplayAreaSettings collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pictogramDisplayAreaSettingsSpecified + { + get + { + return (this.pictogramDisplayAreaSettings.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsLocationOverride")] + public Location vmsLocationOverride { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("managedLogicalLocationOverride")] + public VmsManagedLogicalLocation managedLogicalLocationOverride { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsDynamicCharacteristics")] + public VmsDynamicCharacteristics vmsDynamicCharacteristics { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsFault; + + [System.Xml.Serialization.XmlElementAttribute("vmsFault")] + public System.Collections.ObjectModel.Collection vmsFault + { + get + { + return _vmsFault; + } + private set + { + _vmsFault = value; + } + } + + /// + /// Gets a value indicating whether the vmsFault collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsFaultSpecified + { + get + { + return (this.vmsFault.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsExtension")] + public _ExtensionType vmsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TextDisplayAreaSettings", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TextDisplayAreaSettings + { + + [System.Xml.Serialization.XmlElementAttribute("textLanternsOn")] + public bool textLanternsOn { get; set; } + + /// + /// Gets or sets a value indicating whether the textLanternsOn property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textLanternsOnSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textLuminanceOverride")] + public bool textLuminanceOverride { get; set; } + + /// + /// Gets or sets a value indicating whether the textLuminanceOverride property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textLuminanceOverrideSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("textLuminanceLevel")] + public string textLuminanceLevel { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("textLuminanceLevelName")] + public VmsLuminanceLevelEnum textLuminanceLevelName { get; set; } + + /// + /// Gets or sets a value indicating whether the textLuminanceLevelName property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool textLuminanceLevelNameSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("textDisplayAreaSettingsExtension")] + public _ExtensionType textDisplayAreaSettingsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsDynamicCharacteristics", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsDynamicCharacteristics + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfPictogramDisplayAreas")] + public string numberOfPictogramDisplayAreas { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTextDisplayCharacteristics")] + public VmsTextDisplayCharacteristics vmsTextDisplayCharacteristics { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsDynamicCharacteristicsPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics> _vmsPictogramDisplayCharacteristics; + + [System.Xml.Serialization.XmlElementAttribute("vmsPictogramDisplayCharacteristics")] + public System.Collections.ObjectModel.Collection<_VmsDynamicCharacteristicsPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics> vmsPictogramDisplayCharacteristics + { + get + { + return _vmsPictogramDisplayCharacteristics; + } + private set + { + _vmsPictogramDisplayCharacteristics = value; + } + } + + /// + /// Gets a value indicating whether the vmsPictogramDisplayCharacteristics collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsPictogramDisplayCharacteristicsSpecified + { + get + { + return (this.vmsPictogramDisplayCharacteristics.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsDynamicCharacteristics() + { + this._vmsPictogramDisplayCharacteristics = new System.Collections.ObjectModel.Collection<_VmsDynamicCharacteristicsPictogramDisplayAreaIndexVmsPictogramDisplayCharacteristics>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsDynamicCharacteristicsExtension")] + public _ExtensionType vmsDynamicCharacteristicsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsFault", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsFault : Fault + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsFault")] + public VmsFaultEnum vmsFault { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsFaultExtension")] + public _ExtensionType vmsFaultExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsFaultEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VmsFaultEnum + { + + communicationsFailure, + + incorrectMessageDisplayed, + + incorrectPictogramDisplayed, + + outOfService, + + powerFailure, + + unableToClearDown, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AbnormalTraffic", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AbnormalTraffic : TrafficElement + { + + [System.Xml.Serialization.XmlElementAttribute("abnormalTrafficType")] + public AbnormalTrafficTypeEnum abnormalTrafficType { get; set; } + + /// + /// Gets or sets a value indicating whether the abnormalTrafficType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool abnormalTrafficTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfVehiclesWaiting")] + public string numberOfVehiclesWaiting { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("queueLength")] + public string queueLength { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("relativeTrafficFlow")] + public RelativeTrafficFlowEnum relativeTrafficFlow { get; set; } + + /// + /// Gets or sets a value indicating whether the relativeTrafficFlow property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool relativeTrafficFlowSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("trafficFlowCharacteristics")] + public TrafficFlowCharacteristicsEnum trafficFlowCharacteristics { get; set; } + + /// + /// Gets or sets a value indicating whether the trafficFlowCharacteristics property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool trafficFlowCharacteristicsSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("trafficTrendType")] + public TrafficTrendTypeEnum trafficTrendType { get; set; } + + /// + /// Gets or sets a value indicating whether the trafficTrendType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool trafficTrendTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("abnormalTrafficExtension")] + public _ExtensionType abnormalTrafficExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbnormalTraffic))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Accident))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Activity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AnimalPresenceObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AuthorityOperation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Conditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DisturbanceActivity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EnvironmentalObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EquipmentOrSystemFault))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InfrastructureDamageObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonWeatherRelatedRoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Obstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PoorEnvironmentConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PublicEvent))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VehicleObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WeatherRelatedRoadConditions))] + public abstract partial class TrafficElement : SituationRecord + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficElementExtension")] + public _ExtensionType trafficElementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SituationRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AbnormalTraffic))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Accident))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Activity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AnimalPresenceObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AuthorityOperation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CarParks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Conditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConstructionWorks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DisturbanceActivity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EnvironmentalObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EquipmentOrSystemFault))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralInstructionOrMessageToRoadUsers))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralNetworkManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericSituationRecord))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InfrastructureDamageObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MaintenanceWorks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NetworkManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonRoadEventInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonWeatherRelatedRoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Obstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OperatorAction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PoorEnvironmentConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PublicEvent))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReroutingManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadOperatorServiceDisruption))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadOrCarriagewayOrLaneManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadsideAssistance))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadsideServiceDisruption))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Roadworks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SignSetting))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SpeedManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficElement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransitInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VehicleObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WeatherRelatedRoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WinterDrivingManagement))] + public abstract partial class SituationRecord + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationRecordCreationReference")] + public string situationRecordCreationReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("situationRecordCreationTime", DataType="dateTime")] + public System.DateTime situationRecordCreationTime { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("situationRecordObservationTime", DataType="dateTime")] + public System.DateTime situationRecordObservationTime { get; set; } + + /// + /// Gets or sets a value indicating whether the situationRecordObservationTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool situationRecordObservationTimeSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("situationRecordVersionTime", DataType="dateTime")] + public System.DateTime situationRecordVersionTime { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("situationRecordFirstSupplierVersionTime", DataType="dateTime")] + public System.DateTime situationRecordFirstSupplierVersionTime { get; set; } + + /// + /// Gets or sets a value indicating whether the situationRecordFirstSupplierVersionTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool situationRecordFirstSupplierVersionTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("confidentialityOverride")] + public ConfidentialityValueEnum confidentialityOverride { get; set; } + + /// + /// Gets or sets a value indicating whether the confidentialityOverride property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool confidentialityOverrideSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("probabilityOfOccurrence")] + public ProbabilityOfOccurrenceEnum probabilityOfOccurrence { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("severity")] + public SeverityEnum severity { get; set; } + + /// + /// Gets or sets a value indicating whether the severity property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool severitySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("source")] + public Source source { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("validity")] + public Validity validity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("impact")] + public Impact impact { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("cause")] + public Cause cause { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _generalPublicComment; + + [System.Xml.Serialization.XmlElementAttribute("generalPublicComment")] + public System.Collections.ObjectModel.Collection generalPublicComment + { + get + { + return _generalPublicComment; + } + private set + { + _generalPublicComment = value; + } + } + + /// + /// Gets a value indicating whether the generalPublicComment collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool generalPublicCommentSpecified + { + get + { + return (this.generalPublicComment.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public SituationRecord() + { + this._generalPublicComment = new System.Collections.ObjectModel.Collection(); + this._nonGeneralPublicComment = new System.Collections.ObjectModel.Collection(); + this._urlLink = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _nonGeneralPublicComment; + + [System.Xml.Serialization.XmlElementAttribute("nonGeneralPublicComment")] + public System.Collections.ObjectModel.Collection nonGeneralPublicComment + { + get + { + return _nonGeneralPublicComment; + } + private set + { + _nonGeneralPublicComment = value; + } + } + + /// + /// Gets a value indicating whether the nonGeneralPublicComment collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool nonGeneralPublicCommentSpecified + { + get + { + return (this.nonGeneralPublicComment.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _urlLink; + + [System.Xml.Serialization.XmlElementAttribute("urlLink")] + public System.Collections.ObjectModel.Collection urlLink + { + get + { + return _urlLink; + } + private set + { + _urlLink = value; + } + } + + /// + /// Gets a value indicating whether the urlLink collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool urlLinkSpecified + { + get + { + return (this.urlLink.Count != 0); + } + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("groupOfLocations")] + public GroupOfLocations groupOfLocations { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("management")] + public Management management { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationRecordExtension")] + public _SituationRecordExtensionType situationRecordExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ProbabilityOfOccurrenceEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ProbabilityOfOccurrenceEnum + { + + certain, + + probable, + + riskOf, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SeverityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum SeverityEnum + { + + highest, + + high, + + medium, + + low, + + lowest, + + none, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Source", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Source + { + + [System.Xml.Serialization.XmlElementAttribute("sourceCountry")] + public CountryEnum sourceCountry { get; set; } + + /// + /// Gets or sets a value indicating whether the sourceCountry property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool sourceCountrySpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("sourceIdentification")] + public string sourceIdentification { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("sourceName")] + public MultilingualString sourceName { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("sourceType")] + public SourceTypeEnum sourceType { get; set; } + + /// + /// Gets or sets a value indicating whether the sourceType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool sourceTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("reliable")] + public bool reliable { get; set; } + + /// + /// Gets or sets a value indicating whether the reliable property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool reliableSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("sourceExtension")] + public _ExtensionType sourceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SourceTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum SourceTypeEnum + { + + automobileClubPatrol, + + cameraObservation, + + freightVehicleOperator, + + inductionLoopMonitoringStation, + + infraredMonitoringStation, + + microwaveMonitoringStation, + + mobileTelephoneCaller, + + nonPoliceEmergencyServicePatrol, + + otherInformation, + + otherOfficialVehicle, + + policePatrol, + + privateBreakdownService, + + publicAndPrivateUtilities, + + registeredMotoristObserver, + + roadAuthorities, + + roadOperatorPatrol, + + roadsideTelephoneCaller, + + spotterAircraft, + + trafficMonitoringStation, + + transitOperator, + + vehicleProbeMeasurement, + + videoProcessingMonitoringStation, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Impact", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Impact + { + + [System.Xml.Serialization.XmlElementAttribute("capacityRemaining")] + public float capacityRemaining { get; set; } + + /// + /// Gets or sets a value indicating whether the capacityRemaining property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool capacityRemainingSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfLanesRestricted")] + public string numberOfLanesRestricted { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfOperationalLanes")] + public string numberOfOperationalLanes { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("originalNumberOfLanes")] + public string originalNumberOfLanes { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("residualRoadWidth")] + public float residualRoadWidth { get; set; } + + /// + /// Gets or sets a value indicating whether the residualRoadWidth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool residualRoadWidthSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("trafficConstrictionType")] + public TrafficConstrictionTypeEnum trafficConstrictionType { get; set; } + + /// + /// Gets or sets a value indicating whether the trafficConstrictionType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool trafficConstrictionTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("delays")] + public Delays delays { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("impactExtension")] + public _ExtensionType impactExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficConstrictionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TrafficConstrictionTypeEnum + { + + carriagewayBlocked, + + carriagewayPartiallyObstructed, + + lanesBlocked, + + lanesPartiallyObstructed, + + roadBlocked, + + roadPartiallyObstructed, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Delays", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Delays + { + + [System.Xml.Serialization.XmlElementAttribute("delayBand")] + public DelayBandEnum delayBand { get; set; } + + /// + /// Gets or sets a value indicating whether the delayBand property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool delayBandSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("delaysType")] + public DelaysTypeEnum delaysType { get; set; } + + /// + /// Gets or sets a value indicating whether the delaysType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool delaysTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("delayTimeValue")] + public float delayTimeValue { get; set; } + + /// + /// Gets or sets a value indicating whether the delayTimeValue property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool delayTimeValueSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("delaysExtension")] + public _ExtensionType delaysExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DelayBandEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DelayBandEnum + { + + negligible, + + upToTenMinutes, + + betweenTenMinutesAndThirtyMinutes, + + betweenThirtyMinutesAndOneHour, + + betweenOneHourAndThreeHours, + + betweenThreeHoursAndSixHours, + + longerThanSixHours, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DelaysTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DelaysTypeEnum + { + + delays, + + delaysOfUncertainDuration, + + longDelays, + + veryLongDelays, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Cause", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ManagedCause))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonManagedCause))] + public abstract partial class Cause + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("causeExtension")] + public _ExtensionType causeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Comment", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Comment + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("comment")] + public MultilingualString comment { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("commentDateTime", DataType="dateTime")] + public System.DateTime commentDateTime { get; set; } + + /// + /// Gets or sets a value indicating whether the commentDateTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool commentDateTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("commentType")] + public CommentTypeEnum commentType { get; set; } + + /// + /// Gets or sets a value indicating whether the commentType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool commentTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("commentExtension")] + public _ExtensionType commentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CommentTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CommentTypeEnum + { + + abnormalLoadMovementNote, + + dataProcessingNote, + + description, + + internalNote, + + locationDescriptor, + + warning, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Management", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Management + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("lifeCycleManagement")] + public LifeCycleManagement lifeCycleManagement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("filterExitManagement")] + public FilterExitManagement filterExitManagement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("managementExtension")] + public _ExtensionType managementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LifeCycleManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LifeCycleManagement + { + + [System.Xml.Serialization.XmlElementAttribute("cancel")] + public bool cancel { get; set; } + + /// + /// Gets or sets a value indicating whether the cancel property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool cancelSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("end")] + public bool end { get; set; } + + /// + /// Gets or sets a value indicating whether the end property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool endSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("lifeCycleManagementExtension")] + public _ExtensionType lifeCycleManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("FilterExitManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FilterExitManagement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("filterEnd")] + public bool filterEnd { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("filterOutOfRange")] + public bool filterOutOfRange { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("filterExitManagementExtension")] + public _ExtensionType filterExitManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AbnormalTrafficTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AbnormalTrafficTypeEnum + { + + stationaryTraffic, + + queuingTraffic, + + slowTraffic, + + heavyTraffic, + + unspecifiedAbnormalTraffic, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RelativeTrafficFlowEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RelativeTrafficFlowEnum + { + + trafficVeryMuchHeavierThanNormal, + + trafficHeavierThanNormal, + + trafficFlowNormal, + + trafficLighterThanNormal, + + trafficVeryMuchLighterThanNormal, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficFlowCharacteristicsEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TrafficFlowCharacteristicsEnum + { + + erraticFlow, + + smoothFlow, + + stopAndGo, + + trafficBlocked, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficTrendTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TrafficTrendTypeEnum + { + + trafficBuildingUp, + + trafficEasing, + + trafficStable, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AccessCategoryEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AccessCategoryEnum + { + + vehicleEntranceAndExit, + + vehicleEntrance, + + vehicleExit, + + pedestrianEntranceAndExit, + + pedestrianEntrance, + + pedestrianExit, + + rentalCarReturn, + + bicycles, + + emergencyExit, + + unspecified, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AccessEquipmentEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AccessEquipmentEnum + { + + barrier, + + trafficSignal, + + ticketButtonMachine, + + ticketCardMachine, + + payAndExitMachine, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Accident", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Accident : TrafficElement + { + + [System.Xml.Serialization.XmlElementAttribute("accidentCause")] + public AccidentCauseEnum accidentCause { get; set; } + + /// + /// Gets or sets a value indicating whether the accidentCause property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accidentCauseSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accidentType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("accidentType")] + public System.Collections.ObjectModel.Collection accidentType + { + get + { + return _accidentType; + } + private set + { + _accidentType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public Accident() + { + this._accidentType = new System.Collections.ObjectModel.Collection(); + this._vehicleInvolved = new System.Collections.ObjectModel.Collection(); + this._groupOfVehiclesInvolved = new System.Collections.ObjectModel.Collection(); + this._groupOfPeopleInvolved = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("totalNumberOfPeopleInvolved")] + public string totalNumberOfPeopleInvolved { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("totalNumberOfVehiclesInvolved")] + public string totalNumberOfVehiclesInvolved { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleInvolved; + + [System.Xml.Serialization.XmlElementAttribute("vehicleInvolved")] + public System.Collections.ObjectModel.Collection vehicleInvolved + { + get + { + return _vehicleInvolved; + } + private set + { + _vehicleInvolved = value; + } + } + + /// + /// Gets a value indicating whether the vehicleInvolved collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleInvolvedSpecified + { + get + { + return (this.vehicleInvolved.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _groupOfVehiclesInvolved; + + [System.Xml.Serialization.XmlElementAttribute("groupOfVehiclesInvolved")] + public System.Collections.ObjectModel.Collection groupOfVehiclesInvolved + { + get + { + return _groupOfVehiclesInvolved; + } + private set + { + _groupOfVehiclesInvolved = value; + } + } + + /// + /// Gets a value indicating whether the groupOfVehiclesInvolved collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfVehiclesInvolvedSpecified + { + get + { + return (this.groupOfVehiclesInvolved.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _groupOfPeopleInvolved; + + [System.Xml.Serialization.XmlElementAttribute("groupOfPeopleInvolved")] + public System.Collections.ObjectModel.Collection groupOfPeopleInvolved + { + get + { + return _groupOfPeopleInvolved; + } + private set + { + _groupOfPeopleInvolved = value; + } + } + + /// + /// Gets a value indicating whether the groupOfPeopleInvolved collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfPeopleInvolvedSpecified + { + get + { + return (this.groupOfPeopleInvolved.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("accidentExtension")] + public _ExtensionType accidentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AccidentCauseEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AccidentCauseEnum + { + + avoidanceOfObstacles, + + driverDistraction, + + driverDrugAbuse, + + driverIllness, + + exceedingSpeedsLimits, + + excessAlcohol, + + excessiveDriverTiredness, + + impermissibleManoeuvre, + + limitedVisibility, + + notKeepingASafeDistance, + + onTheWrongSideOfTheRoad, + + pedestrianInRoad, + + poorLaneAdherence, + + poorMergeEntryOrExitJudgement, + + poorRoadSurfaceCondition, + + poorSurfaceAdherence, + + undisclosed, + + unknown, + + vehicleFailure, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AccidentTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AccidentTypeEnum + { + + accident, + + accidentInvolvingBicycles, + + accidentInvolvingBuses, + + accidentInvolvingHazardousMaterials, + + accidentInvolvingHeavyLorries, + + accidentInvolvingMassTransitVehicle, + + accidentInvolvingMopeds, + + accidentInvolvingMotorcycles, + + accidentInvolvingRadioactiveMaterial, + + accidentInvolvingTrain, + + chemicalSpillageAccident, + + collision, + + collisionWithAnimal, + + collisionWithObstruction, + + collisionWithPerson, + + earlierAccident, + + fuelSpillageAccident, + + headOnCollision, + + headOnOrSideCollision, + + jackknifedArticulatedLorry, + + jackknifedCaravan, + + jackknifedTrailer, + + multipleVehicleCollision, + + multivehicleAccident, + + oilSpillageAccident, + + overturnedHeavyLorry, + + overturnedTrailer, + + overturnedVehicle, + + rearCollision, + + secondaryAccident, + + seriousAccident, + + sideCollision, + + vehicleOffRoad, + + vehicleSpunAround, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfVehiclesInvolved", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GroupOfVehiclesInvolved + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfVehicles")] + public string numberOfVehicles { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("vehicleStatus")] + public VehicleStatusEnum vehicleStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the vehicleStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleStatusSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleCharacteristics")] + public VehicleCharacteristics vehicleCharacteristics { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfVehiclesInvolvedExtension")] + public _ExtensionType groupOfVehiclesInvolvedExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfPeopleInvolved", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GroupOfPeopleInvolved + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfPeople")] + public string numberOfPeople { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("injuryStatus")] + public InjuryStatusTypeEnum injuryStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the injuryStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool injuryStatusSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("involvementRole")] + public InvolvementRolesEnum involvementRole { get; set; } + + /// + /// Gets or sets a value indicating whether the involvementRole property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool involvementRoleSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("categoryOfPeopleInvolved")] + public PersonCategoryEnum categoryOfPeopleInvolved { get; set; } + + /// + /// Gets or sets a value indicating whether the categoryOfPeopleInvolved property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool categoryOfPeopleInvolvedSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfPeopleInvolvedExtension")] + public _ExtensionType groupOfPeopleInvolvedExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InjuryStatusTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum InjuryStatusTypeEnum + { + + dead, + + injured, + + seriouslyInjured, + + slightlyInjured, + + uninjured, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InvolvementRolesEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum InvolvementRolesEnum + { + + cyclist, + + pedestrian, + + unknown, + + vehicleDriver, + + vehicleOccupant, + + vehiclePassenger, + + witness, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PersonCategoryEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PersonCategoryEnum + { + + adult, + + child, + + emergencyServicesPerson, + + fireman, + + infant, + + medicalStaff, + + memberOfThePublic, + + policeman, + + politician, + + publicTransportPassenger, + + sickPerson, + + trafficOfficer, + + trafficWarden, + + veryImportantPerson, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Activity", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AuthorityOperation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DisturbanceActivity))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PublicEvent))] + public abstract partial class Activity : TrafficElement + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("mobilityOfActivity")] + public Mobility mobilityOfActivity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("activityExtension")] + public _ExtensionType activityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Mobility", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Mobility + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("mobilityType")] + public MobilityEnum mobilityType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("mobilityExtension")] + public _ExtensionType mobilityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MobilityEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum MobilityEnum + { + + mobile, + + stationary, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AffectedCarriagewayAndLanes", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AffectedCarriagewayAndLanes + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("carriageway")] + public CarriagewayEnum carriageway { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _lane; + + [System.Xml.Serialization.XmlElementAttribute("lane")] + public System.Collections.ObjectModel.Collection lane + { + get + { + return _lane; + } + private set + { + _lane = value; + } + } + + /// + /// Gets a value indicating whether the lane collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool laneSpecified + { + get + { + return (this.lane.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public AffectedCarriagewayAndLanes() + { + this._lane = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlElementAttribute("footpath")] + public bool footpath { get; set; } + + /// + /// Gets or sets a value indicating whether the footpath property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool footpathSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("lengthAffected")] + public float lengthAffected { get; set; } + + /// + /// Gets or sets a value indicating whether the lengthAffected property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lengthAffectedSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("affectedCarriagewayAndLanesExtension")] + public _ExtensionType affectedCarriagewayAndLanesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CarriagewayEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CarriagewayEnum + { + + connectingCarriageway, + + entrySlipRoad, + + exitSlipRoad, + + flyover, + + leftHandFeederRoad, + + leftHandParallelCarriageway, + + mainCarriageway, + + oppositeCarriageway, + + parallelCarriageway, + + rightHandFeederRoad, + + rightHandParallelCarriageway, + + roundabout, + + serviceRoad, + + slipRoads, + + underpass, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCDirection", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCDirection + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCDirectionCoded")] + public AlertCDirectionEnum alertCDirectionCoded { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCDirectionNamed")] + public MultilingualString alertCDirectionNamed { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("alertCDirectionSense")] + public bool alertCDirectionSense { get; set; } + + /// + /// Gets or sets a value indicating whether the alertCDirectionSense property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool alertCDirectionSenseSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCDirectionExtension")] + public _ExtensionType alertCDirectionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCDirectionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AlertCDirectionEnum + { + + both, + + negative, + + positive, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCLinear", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AlertCLinearByCode))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AlertCMethod2Linear))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AlertCMethod4Linear))] + public abstract partial class AlertCLinear + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationCountryCode")] + public string alertCLocationCountryCode { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationTableNumber")] + public string alertCLocationTableNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationTableVersion")] + public string alertCLocationTableVersion { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCLinearExtension")] + public _ExtensionType alertCLinearExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCLinearByCode", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCLinearByCode : AlertCLinear + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCDirection")] + public AlertCDirection alertCDirection { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("locationCodeForLinearLocation")] + public AlertCLocation locationCodeForLinearLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCLinearByCodeExtension")] + public _ExtensionType alertCLinearByCodeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod2Linear", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod2Linear : AlertCLinear + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCDirection")] + public AlertCDirection alertCDirection { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2PrimaryPointLocation")] + public AlertCMethod2PrimaryPointLocation alertCMethod2PrimaryPointLocation { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2SecondaryPointLocation")] + public AlertCMethod2SecondaryPointLocation alertCMethod2SecondaryPointLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2LinearExtension")] + public _ExtensionType alertCMethod2LinearExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod2PrimaryPointLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod2PrimaryPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocation")] + public AlertCLocation alertCLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2PrimaryPointLocationExtension")] + public _ExtensionType alertCMethod2PrimaryPointLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod2SecondaryPointLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod2SecondaryPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocation")] + public AlertCLocation alertCLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2SecondaryPointLocationExtension")] + public _ExtensionType alertCMethod2SecondaryPointLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod2Point", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod2Point : AlertCPoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCDirection")] + public AlertCDirection alertCDirection { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2PrimaryPointLocation")] + public AlertCMethod2PrimaryPointLocation alertCMethod2PrimaryPointLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod2PointExtension")] + public _ExtensionType alertCMethod2PointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCPoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AlertCMethod2Point))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AlertCMethod4Point))] + public abstract partial class AlertCPoint + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationCountryCode")] + public string alertCLocationCountryCode { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationTableNumber")] + public string alertCLocationTableNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocationTableVersion")] + public string alertCLocationTableVersion { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCPointExtension")] + public _ExtensionType alertCPointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod4Linear", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod4Linear : AlertCLinear + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCDirection")] + public AlertCDirection alertCDirection { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4PrimaryPointLocation")] + public AlertCMethod4PrimaryPointLocation alertCMethod4PrimaryPointLocation { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4SecondaryPointLocation")] + public AlertCMethod4SecondaryPointLocation alertCMethod4SecondaryPointLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4LinearExtension")] + public _ExtensionType alertCMethod4LinearExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod4PrimaryPointLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod4PrimaryPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocation")] + public AlertCLocation alertCLocation { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("offsetDistance")] + public OffsetDistance offsetDistance { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4PrimaryPointLocationExtension")] + public _ExtensionType alertCMethod4PrimaryPointLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OffsetDistance", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OffsetDistance + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("offsetDistance")] + public string offsetDistance { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("offsetDistanceExtension")] + public _ExtensionType offsetDistanceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod4SecondaryPointLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod4SecondaryPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCLocation")] + public AlertCLocation alertCLocation { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("offsetDistance")] + public OffsetDistance offsetDistance { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4SecondaryPointLocationExtension")] + public _ExtensionType alertCMethod4SecondaryPointLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AlertCMethod4Point", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AlertCMethod4Point : AlertCPoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCDirection")] + public AlertCDirection alertCDirection { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4PrimaryPointLocation")] + public AlertCMethod4PrimaryPointLocation alertCMethod4PrimaryPointLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCMethod4PointExtension")] + public _ExtensionType alertCMethod4PointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AnimalPresenceObstruction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AnimalPresenceObstruction : Obstruction + { + + [System.Xml.Serialization.XmlElementAttribute("alive")] + public bool alive { get; set; } + + /// + /// Gets or sets a value indicating whether the alive property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool aliveSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("animalPresenceType")] + public AnimalPresenceTypeEnum animalPresenceType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("animalPresenceObstructionExtension")] + public _ExtensionType animalPresenceObstructionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Obstruction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AnimalPresenceObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EnvironmentalObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InfrastructureDamageObstruction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VehicleObstruction))] + public abstract partial class Obstruction : TrafficElement + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfObstructions")] + public string numberOfObstructions { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("mobilityOfObstruction")] + public Mobility mobilityOfObstruction { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("obstructionExtension")] + public _ExtensionType obstructionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AnimalPresenceTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AnimalPresenceTypeEnum + { + + animalsOnTheRoad, + + herdOfAnimalsOnTheRoad, + + largeAnimalsOnTheRoad, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ApplicationRateValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ApplicationRateValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("applicationRate")] + public float applicationRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("applicationRateValueExtension")] + public _ExtensionType applicationRateValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AreaDestination", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AreaDestination : Destination + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("area")] + public Area area { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("areaDestinationExtension")] + public _ExtensionType areaDestinationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Destination", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AreaDestination))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PointDestination))] + public abstract partial class Destination + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("destinationExtension")] + public _ExtensionType destinationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AuthorityOperation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AuthorityOperation : Activity + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("authorityOperationType")] + public AuthorityOperationTypeEnum authorityOperationType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("authorityOperationExtension")] + public _ExtensionType authorityOperationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AuthorityOperationTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum AuthorityOperationTypeEnum + { + + accidentInvestigationWork, + + bombSquadInAction, + + civilEmergency, + + customsOperation, + + juridicalReconstruction, + + policeCheckPoint, + + policeInvestigation, + + roadOperatorCheckPoint, + + survey, + + transportOfVip, + + undefinedAuthorityActivity, + + vehicleInspectionCheckPoint, + + vehicleWeighing, + + weighInMotion, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("AxleFlowValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AxleFlowValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("axleFlowRate")] + public string axleFlowRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("axleFlowValueExtension")] + public _ExtensionType axleFlowValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CarParkConfigurationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CarParkConfigurationEnum + { + + multiStorey, + + parkAndRide, + + singleLevel, + + underground, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CarParks", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CarParks : NonRoadEventInformation + { + + [System.Xml.Serialization.XmlElementAttribute("carParkConfiguration")] + public CarParkConfigurationEnum carParkConfiguration { get; set; } + + /// + /// Gets or sets a value indicating whether the carParkConfiguration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool carParkConfigurationSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("carParkIdentity")] + public string carParkIdentity { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("carParkOccupancy")] + public float carParkOccupancy { get; set; } + + /// + /// Gets or sets a value indicating whether the carParkOccupancy property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool carParkOccupancySpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("carParkStatus")] + public CarParkStatusEnum carParkStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the carParkStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool carParkStatusSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("exitRate")] + public string exitRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("fillRate")] + public string fillRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfVacantParkingSpaces")] + public string numberOfVacantParkingSpaces { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("occupiedSpaces")] + public string occupiedSpaces { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("queuingTime")] + public float queuingTime { get; set; } + + /// + /// Gets or sets a value indicating whether the queuingTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool queuingTimeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("totalCapacity")] + public string totalCapacity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("carParksExtension")] + public _ExtensionType carParksExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonRoadEventInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(CarParks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadOperatorServiceDisruption))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadsideServiceDisruption))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TransitInformation))] + public abstract partial class NonRoadEventInformation : SituationRecord + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nonRoadEventInformationExtension")] + public _ExtensionType nonRoadEventInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CarParkStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CarParkStatusEnum + { + + carParkClosed, + + allCarParksFull, + + carParkFacilityFaulty, + + carParkFull, + + carParkStatusUnknown, + + enoughSpacesAvailable, + + multiStoryCarParksFull, + + noMoreParkingSpacesAvailable, + + noParkAndRideInformation, + + noParkingAllowed, + + noParkingInformationAvailable, + + normalParkingRestrictionsLifted, + + onlyAFewSpacesAvailable, + + parkAndRideServiceNotOperating, + + parkAndRideServiceOperating, + + specialParkingRestrictionsInForce, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CatalogueReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CatalogueReference + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("keyCatalogueReference")] + public string keyCatalogueReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("catalogueReferenceExtension")] + public _ExtensionType catalogueReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("CauseTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum CauseTypeEnum + { + + accident, + + congestion, + + earlierAccident, + + earlierEvent, + + earlierIncident, + + equipmentFailure, + + excessiveHeat, + + frost, + + holidayTraffic, + + infrastructureFailure, + + largeNumbersOfVisitors, + + obstruction, + + pollutionAlert, + + poorWeather, + + problemsAtBorderPost, + + problemsAtCustomPost, + + problemsOnLocalRoads, + + radioactiveLeakAlert, + + roadsideEvent, + + rubberNecking, + + securityIncident, + + shearWeightOfTraffic, + + technicalProblems, + + terrorism, + + toxicCloudAlert, + + vandalism, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ChangedFlagEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ChangedFlagEnum + { + + catalogue, + + filter, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ChargingStationUsageTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ChargingStationUsageTypeEnum + { + + electricVehicle, + + motorhomeOrCaravanSupply, + + electricBikeOrMotorcycle, + + lorryPowerConsumption, + + electricalDevices, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ComplianceOptionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ComplianceOptionEnum + { + + advisory, + + mandatory, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ConcentrationOfVehiclesValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ConcentrationOfVehiclesValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("concentrationOfVehicles")] + public string concentrationOfVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("concentrationOfVehiclesValueExtension")] + public _ExtensionType concentrationOfVehiclesValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Conditions", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonWeatherRelatedRoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PoorEnvironmentConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WeatherRelatedRoadConditions))] + public partial class Conditions : TrafficElement + { + + [System.Xml.Serialization.XmlElementAttribute("drivingConditionType")] + public DrivingConditionTypeEnum drivingConditionType { get; set; } + + /// + /// Gets or sets a value indicating whether the drivingConditionType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool drivingConditionTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("conditionsExtension")] + public _ExtensionType conditionsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DrivingConditionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DrivingConditionTypeEnum + { + + impossible, + + hazardous, + + normal, + + passableWithCare, + + unknown, + + veryHazardous, + + winterConditions, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ConstructionWorks", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ConstructionWorks : Roadworks + { + + [System.Xml.Serialization.XmlElementAttribute("constructionWorkType")] + public ConstructionWorkTypeEnum constructionWorkType { get; set; } + + /// + /// Gets or sets a value indicating whether the constructionWorkType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool constructionWorkTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("constructionWorksExtension")] + public _ExtensionType constructionWorksExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Roadworks", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConstructionWorks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MaintenanceWorks))] + public abstract partial class Roadworks : OperatorAction + { + + [System.Xml.Serialization.XmlElementAttribute("roadworksDuration")] + public RoadworksDurationEnum roadworksDuration { get; set; } + + /// + /// Gets or sets a value indicating whether the roadworksDuration property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool roadworksDurationSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("roadworksScale")] + public RoadworksScaleEnum roadworksScale { get; set; } + + /// + /// Gets or sets a value indicating whether the roadworksScale property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool roadworksScaleSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("underTraffic")] + public bool underTraffic { get; set; } + + /// + /// Gets or sets a value indicating whether the underTraffic property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool underTrafficSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("urgentRoadworks")] + public bool urgentRoadworks { get; set; } + + /// + /// Gets or sets a value indicating whether the urgentRoadworks property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool urgentRoadworksSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("mobility")] + public Mobility mobility { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("subjects")] + public Subjects subjects { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maintenanceVehicles")] + public MaintenanceVehicles maintenanceVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadworksExtension")] + public _ExtensionType roadworksExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OperatorAction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ConstructionWorks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralInstructionOrMessageToRoadUsers))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralNetworkManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MaintenanceWorks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NetworkManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReroutingManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadOrCarriagewayOrLaneManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadsideAssistance))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Roadworks))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SignSetting))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SpeedManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WinterDrivingManagement))] + public partial class OperatorAction : SituationRecord + { + + [System.Xml.Serialization.XmlElementAttribute("actionOrigin")] + public OperatorActionOriginEnum actionOrigin { get; set; } + + /// + /// Gets or sets a value indicating whether the actionOrigin property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool actionOriginSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("actionPlanIdentifier")] + public string actionPlanIdentifier { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("operatorActionStatus")] + public OperatorActionStatusEnum operatorActionStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the operatorActionStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool operatorActionStatusSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("operatorActionExtension")] + public _ExtensionType operatorActionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OperatorActionOriginEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OperatorActionOriginEnum + { + + external, + + [System.Xml.Serialization.XmlEnumAttribute("internal")] + Item_internal, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OperatorActionStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OperatorActionStatusEnum + { + + requested, + + approved, + + beingImplemented, + + implemented, + + rejected, + + terminationRequested, + + beingTerminated, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadworksDurationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadworksDurationEnum + { + + longTerm, + + mediumTerm, + + shortTerm, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadworksScaleEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadworksScaleEnum + { + + major, + + medium, + + minor, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Subjects", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Subjects + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("subjectTypeOfWorks")] + public SubjectTypeOfWorksEnum subjectTypeOfWorks { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfSubjects")] + public string numberOfSubjects { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("subjectsExtension")] + public _ExtensionType subjectsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SubjectTypeOfWorksEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum SubjectTypeOfWorksEnum + { + + bridge, + + buriedCables, + + buriedServices, + + crashBarrier, + + gallery, + + gantry, + + gasMainWork, + + interchange, + + junction, + + levelCrossing, + + lightingSystem, + + measurementEquipment, + + noiseProtection, + + road, + + roadsideDrains, + + roadsideEmbankment, + + roadsideEquipment, + + roadSigns, + + roundabout, + + tollGate, + + tunnel, + + waterMain, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MaintenanceVehicles", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MaintenanceVehicles + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfMaintenanceVehicles")] + public string numberOfMaintenanceVehicles { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _maintenanceVehicleActions; + + [System.Xml.Serialization.XmlElementAttribute("maintenanceVehicleActions")] + public System.Collections.ObjectModel.Collection maintenanceVehicleActions + { + get + { + return _maintenanceVehicleActions; + } + private set + { + _maintenanceVehicleActions = value; + } + } + + /// + /// Gets a value indicating whether the maintenanceVehicleActions collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maintenanceVehicleActionsSpecified + { + get + { + return (this.maintenanceVehicleActions.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public MaintenanceVehicles() + { + this._maintenanceVehicleActions = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maintenanceVehiclesExtension")] + public _ExtensionType maintenanceVehiclesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MaintenanceVehicleActionsEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum MaintenanceVehicleActionsEnum + { + + maintenanceVehiclesMergingIntoTrafficFlow, + + saltAndGritSpreading, + + slowMoving, + + snowClearing, + + stoppingToServiceEquipments, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ConstructionWorkTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ConstructionWorkTypeEnum + { + + blastingWork, + + constructionWork, + + demolitionWork, + + roadImprovementOrUpgrading, + + roadWideningWork, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ContactByReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ContactByReference : Contact + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("contactReference")] + public _ContactDetailsVersionedReference contactReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactByReferenceExtension")] + public _ExtensionType contactByReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ContactDetails", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ContactDetails : Contact + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactOrganisationName")] + public MultilingualString contactOrganisationName { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactPersonName")] + public string contactPersonName { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactPersonFirstName")] + public string contactPersonFirstName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactPersonPosition")] + public MultilingualString contactPersonPosition { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _contactDetailsLanguage; + + [System.Xml.Serialization.XmlElementAttribute("contactDetailsLanguage")] + public System.Collections.ObjectModel.Collection contactDetailsLanguage + { + get + { + return _contactDetailsLanguage; + } + private set + { + _contactDetailsLanguage = value; + } + } + + /// + /// Gets a value indicating whether the contactDetailsLanguage collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactDetailsLanguageSpecified + { + get + { + return (this.contactDetailsLanguage.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ContactDetails() + { + this._contactDetailsLanguage = new System.Collections.ObjectModel.Collection(); + this._contactDetailsHouseNumber = new System.Collections.ObjectModel.Collection(); + this._contactDetailsResponsibility = new System.Collections.ObjectModel.Collection(); + this._contactDetailsMoreInfo = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsAddress")] + public MultilingualString contactDetailsAddress { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsStreet")] + public string contactDetailsStreet { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _contactDetailsHouseNumber; + + [System.Xml.Serialization.XmlElementAttribute("contactDetailsHouseNumber")] + public System.Collections.ObjectModel.Collection contactDetailsHouseNumber + { + get + { + return _contactDetailsHouseNumber; + } + private set + { + _contactDetailsHouseNumber = value; + } + } + + /// + /// Gets a value indicating whether the contactDetailsHouseNumber collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactDetailsHouseNumberSpecified + { + get + { + return (this.contactDetailsHouseNumber.Count != 0); + } + } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsPostcode")] + public string contactDetailsPostcode { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsCity")] + public MultilingualString contactDetailsCity { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("country")] + public CountryEnum country { get; set; } + + /// + /// Gets or sets a value indicating whether the country property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool countrySpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsTelephoneNumber")] + public string contactDetailsTelephoneNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsFax")] + public string contactDetailsFax { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsEMail")] + public string contactDetailsEMail { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urlLinkAddress")] + public string urlLinkAddress { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsLogoUrl")] + public string contactDetailsLogoUrl { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("available24hours")] + public bool available24hours { get; set; } + + /// + /// Gets or sets a value indicating whether the available24hours property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool available24hoursSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _contactDetailsResponsibility; + + [System.Xml.Serialization.XmlElementAttribute("contactDetailsResponsibility")] + public System.Collections.ObjectModel.Collection contactDetailsResponsibility + { + get + { + return _contactDetailsResponsibility; + } + private set + { + _contactDetailsResponsibility = value; + } + } + + /// + /// Gets a value indicating whether the contactDetailsResponsibility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactDetailsResponsibilitySpecified + { + get + { + return (this.contactDetailsResponsibility.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _contactDetailsMoreInfo; + + [System.Xml.Serialization.XmlElementAttribute("contactDetailsMoreInfo")] + public System.Collections.ObjectModel.Collection contactDetailsMoreInfo + { + get + { + return _contactDetailsMoreInfo; + } + private set + { + _contactDetailsMoreInfo = value; + } + } + + /// + /// Gets a value indicating whether the contactDetailsMoreInfo collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactDetailsMoreInfoSpecified + { + get + { + return (this.contactDetailsMoreInfo.Count != 0); + } + } + + [System.Xml.Serialization.XmlElementAttribute("publishingAgreement")] + public bool publishingAgreement { get; set; } + + /// + /// Gets or sets a value indicating whether the publishingAgreement property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool publishingAgreementSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("contactDetailsOwnership")] + public OwnershipTypeEnum contactDetailsOwnership { get; set; } + + /// + /// Gets or sets a value indicating whether the contactDetailsOwnership property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool contactDetailsOwnershipSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfLocations")] + public GroupOfLocations groupOfLocations { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("contactDetailsExtension")] + public _ExtensionType contactDetailsExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OwnershipTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OwnershipTypeEnum + { + + [System.Xml.Serialization.XmlEnumAttribute("public")] + Item_public, + + [System.Xml.Serialization.XmlEnumAttribute("private")] + Item_private, + + publicPrivate, + + resident, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("D2LogicalModel", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlRootAttribute("d2LogicalModel", Namespace="http://datex2.eu/schema/2/2_0")] + public partial class D2LogicalModel + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("exchange")] + public Exchange exchange { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("payloadPublication")] + public PayloadPublication payloadPublication { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("d2LogicalModelExtension")] + public _ExtensionType d2LogicalModelExtension { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private string _modelBaseVersion = "2"; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("modelBaseVersion")] + public string modelBaseVersion + { + get + { + return _modelBaseVersion; + } + set + { + _modelBaseVersion = value; + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Exchange", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Exchange + { + + [System.Xml.Serialization.XmlElementAttribute("changedFlag")] + public ChangedFlagEnum changedFlag { get; set; } + + /// + /// Gets or sets a value indicating whether the changedFlag property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool changedFlagSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("clientIdentification")] + public string clientIdentification { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("deliveryBreak")] + public bool deliveryBreak { get; set; } + + /// + /// Gets or sets a value indicating whether the deliveryBreak property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deliveryBreakSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("denyReason")] + public DenyReasonEnum denyReason { get; set; } + + /// + /// Gets or sets a value indicating whether the denyReason property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool denyReasonSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("historicalStartDate", DataType="dateTime")] + public System.DateTime historicalStartDate { get; set; } + + /// + /// Gets or sets a value indicating whether the historicalStartDate property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool historicalStartDateSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("historicalStopDate", DataType="dateTime")] + public System.DateTime historicalStopDate { get; set; } + + /// + /// Gets or sets a value indicating whether the historicalStopDate property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool historicalStopDateSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("keepAlive")] + public bool keepAlive { get; set; } + + /// + /// Gets or sets a value indicating whether the keepAlive property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool keepAliveSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("requestType")] + public RequestTypeEnum requestType { get; set; } + + /// + /// Gets or sets a value indicating whether the requestType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool requestTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("response")] + public ResponseEnum response { get; set; } + + /// + /// Gets or sets a value indicating whether the response property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool responseSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("subscriptionReference")] + public string subscriptionReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("supplierIdentification")] + public InternationalIdentifier supplierIdentification { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("target")] + public Target target { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("subscription")] + public Subscription subscription { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _filterReference; + + [System.Xml.Serialization.XmlElementAttribute("filterReference")] + public System.Collections.ObjectModel.Collection filterReference + { + get + { + return _filterReference; + } + private set + { + _filterReference = value; + } + } + + /// + /// Gets a value indicating whether the filterReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool filterReferenceSpecified + { + get + { + return (this.filterReference.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Exchange() + { + this._filterReference = new System.Collections.ObjectModel.Collection(); + this._catalogueReference = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _catalogueReference; + + [System.Xml.Serialization.XmlElementAttribute("catalogueReference")] + public System.Collections.ObjectModel.Collection catalogueReference + { + get + { + return _catalogueReference; + } + private set + { + _catalogueReference = value; + } + } + + /// + /// Gets a value indicating whether the catalogueReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool catalogueReferenceSpecified + { + get + { + return (this.catalogueReference.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("exchangeExtension")] + public _ExtensionType exchangeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DenyReasonEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DenyReasonEnum + { + + unknownReason, + + wrongCatalogue, + + wrongFilter, + + wrongOrder, + + wrongPartner, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RequestTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RequestTypeEnum + { + + catalogue, + + filter, + + requestData, + + requestHistoricalData, + + subscription, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ResponseEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ResponseEnum + { + + acknowledge, + + catalogueRequestDenied, + + filterRequestDenied, + + requestDenied, + + subscriptionRequestDenied, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InternationalIdentifier", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InternationalIdentifier + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("country")] + public CountryEnum country { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("nationalIdentifier")] + public string nationalIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("internationalIdentifierExtension")] + public _ExtensionType internationalIdentifierExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Target", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Target + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("address")] + public string address { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("protocol")] + public string protocol { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("targetExtension")] + public _ExtensionType targetExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Subscription", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Subscription + { + + [System.Xml.Serialization.XmlElementAttribute("deleteSubscription")] + public bool deleteSubscription { get; set; } + + /// + /// Gets or sets a value indicating whether the deleteSubscription property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deleteSubscriptionSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("deliveryInterval")] + public float deliveryInterval { get; set; } + + /// + /// Gets or sets a value indicating whether the deliveryInterval property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deliveryIntervalSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("operatingMode")] + public OperatingModeEnum operatingMode { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("subscriptionStartTime", DataType="dateTime")] + public System.DateTime subscriptionStartTime { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("subscriptionState")] + public SubscriptionStateEnum subscriptionState { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("subscriptionStopTime", DataType="dateTime")] + public System.DateTime subscriptionStopTime { get; set; } + + /// + /// Gets or sets a value indicating whether the subscriptionStopTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool subscriptionStopTimeSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("updateMethod")] + public UpdateMethodEnum updateMethod { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _target; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("target")] + public System.Collections.ObjectModel.Collection target + { + get + { + return _target; + } + private set + { + _target = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public Subscription() + { + this._target = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("filterReference")] + public FilterReference filterReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("catalogueReference")] + public CatalogueReference catalogueReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("subscriptionExtension")] + public _ExtensionType subscriptionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OperatingModeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum OperatingModeEnum + { + + operatingMode0, + + operatingMode1, + + operatingMode2, + + operatingMode3, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SubscriptionStateEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum SubscriptionStateEnum + { + + active, + + suspended, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UpdateMethodEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum UpdateMethodEnum + { + + allElementUpdate, + + singleElementUpdate, + + snapshot, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("FilterReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FilterReference + { + + [System.Xml.Serialization.XmlElementAttribute("deleteFilter")] + public bool deleteFilter { get; set; } + + /// + /// Gets or sets a value indicating whether the deleteFilter property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool deleteFilterSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("filterOperationApproved")] + public bool filterOperationApproved { get; set; } + + /// + /// Gets or sets a value indicating whether the filterOperationApproved property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool filterOperationApprovedSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("keyFilterReference")] + public string keyFilterReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("filterReferenceExtension")] + public _ExtensionType filterReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PayloadPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ElaboratedDataPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GenericPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MeasuredDataPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MeasurementSiteTablePublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PredefinedLocationsPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SituationPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficViewPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VmsPublication))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VmsTablePublication))] + public abstract partial class PayloadPublication + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("feedDescription")] + public MultilingualString feedDescription { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("feedType")] + public string feedType { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("publicationTime", DataType="dateTime")] + public System.DateTime publicationTime { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("publicationCreator")] + public InternationalIdentifier publicationCreator { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("payloadPublicationExtension")] + public _ExtensionType payloadPublicationExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("lang")] + public string lang { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DateTimeValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DateTimeValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("dateTime", DataType="dateTime")] + public System.DateTime dateTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dateTimeValueExtension")] + public _ExtensionType dateTimeValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DirectionBearingValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DirectionBearingValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("directionBearing")] + public string directionBearing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("directionBearingValueExtension")] + public _ExtensionType directionBearingValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DirectionCompassEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DirectionCompassEnum + { + + east, + + eastNorthEast, + + eastSouthEast, + + north, + + northEast, + + northNorthEast, + + northNorthWest, + + northWest, + + south, + + southEast, + + southSouthEast, + + southSouthWest, + + southWest, + + west, + + westNorthWest, + + westSouthWest, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DirectionCompassValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DirectionCompassValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("directionCompass")] + public DirectionCompassEnum directionCompass { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("directionCompassValueExtension")] + public _ExtensionType directionCompassValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DirectionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DirectionEnum + { + + allDirections, + + bothWays, + + clockwise, + + anticlockwise, + + innerRing, + + outerRing, + + northBound, + + northEastBound, + + eastBound, + + southEastBound, + + southBound, + + southWestBound, + + westBound, + + northWestBound, + + inboundTowardsTown, + + outboundFromTown, + + unknown, + + opposite, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DistanceAlongLinearElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DistanceFromLinearElementReferent))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DistanceFromLinearElementStart))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PercentageDistanceAlongLinearElement))] + public abstract partial class DistanceAlongLinearElement + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceAlongLinearElementExtension")] + public _ExtensionType distanceAlongLinearElementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DistanceFromLinearElementReferent", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DistanceFromLinearElementReferent : DistanceAlongLinearElement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("distanceAlong")] + public float distanceAlong { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("fromReferent")] + public Referent fromReferent { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("towardsReferent")] + public Referent towardsReferent { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceFromLinearElementReferentExtension")] + public _ExtensionType distanceFromLinearElementReferentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DistanceFromLinearElementStart", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DistanceFromLinearElementStart : DistanceAlongLinearElement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("distanceAlong")] + public float distanceAlong { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceFromLinearElementStartExtension")] + public _ExtensionType distanceFromLinearElementStartExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DisturbanceActivity", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DisturbanceActivity : Activity + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("disturbanceActivityType")] + public DisturbanceActivityTypeEnum disturbanceActivityType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("disturbanceActivityExtension")] + public _ExtensionType disturbanceActivityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DisturbanceActivityTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum DisturbanceActivityTypeEnum + { + + airRaid, + + altercationOfVehicleOccupants, + + assault, + + assetDestruction, + + attack, + + attackOnVehicle, + + blockadeOrBarrier, + + bombAlert, + + crowd, + + demonstration, + + evacuation, + + filterBlockade, + + goSlowOperation, + + gunfireOnRoadway, + + illVehicleOccupants, + + march, + + publicDisturbance, + + radioactiveLeakAlert, + + riot, + + sabotage, + + securityAlert, + + securityIncident, + + sightseersObstructingAccess, + + strike, + + terroristIncident, + + theft, + + toxicCloudAlert, + + unspecifiedAlert, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("DurationValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class DurationValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("duration")] + public float duration { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("durationValueExtension")] + public _ExtensionType durationValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ElaboratedData", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ElaboratedData + { + + [System.Xml.Serialization.XmlElementAttribute("forecast")] + public bool forecast { get; set; } + + /// + /// Gets or sets a value indicating whether the forecast property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool forecastSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("source")] + public Source source { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("validity")] + public Validity validity { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _elaboratedDataFault; + + [System.Xml.Serialization.XmlElementAttribute("elaboratedDataFault")] + public System.Collections.ObjectModel.Collection elaboratedDataFault + { + get + { + return _elaboratedDataFault; + } + private set + { + _elaboratedDataFault = value; + } + } + + /// + /// Gets a value indicating whether the elaboratedDataFault collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool elaboratedDataFaultSpecified + { + get + { + return (this.elaboratedDataFault.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ElaboratedData() + { + this._elaboratedDataFault = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("basicData")] + public BasicData basicData { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("elaboratedDataExtension")] + public _ExtensionType elaboratedDataExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ElaboratedDataFault", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ElaboratedDataFault : Fault + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("elaboratedDataFault")] + public ElaboratedDataFaultEnum elaboratedDataFault { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("elaboratedDataFaultExtension")] + public _ExtensionType elaboratedDataFaultExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ElaboratedDataFaultEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ElaboratedDataFaultEnum + { + + intermittentDataValues, + + noDataValuesAvailable, + + spuriousUnreliableDataValues, + + unspecifiedOrUnknownFault, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ElaboratedDataPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ElaboratedDataPublication : PayloadPublication + { + + [System.Xml.Serialization.XmlElementAttribute("forecastDefault")] + public bool forecastDefault { get; set; } + + /// + /// Gets or sets a value indicating whether the forecastDefault property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool forecastDefaultSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("periodDefault")] + public float periodDefault { get; set; } + + /// + /// Gets or sets a value indicating whether the periodDefault property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool periodDefaultSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("timeDefault", DataType="dateTime")] + public System.DateTime timeDefault { get; set; } + + /// + /// Gets or sets a value indicating whether the timeDefault property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool timeDefaultSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("referenceSettings")] + public ReferenceSettings referenceSettings { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _elaboratedData; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("elaboratedData")] + public System.Collections.ObjectModel.Collection elaboratedData + { + get + { + return _elaboratedData; + } + private set + { + _elaboratedData = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public ElaboratedDataPublication() + { + this._elaboratedData = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("elaboratedDataPublicationExtension")] + public _ExtensionType elaboratedDataPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ReferenceSettings", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ReferenceSettings + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedNonOrderedLocationGroupReference")] + public _PredefinedNonOrderedLocationGroupVersionedReference predefinedNonOrderedLocationGroupReference { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("trafficStatusDefault")] + public TrafficStatusEnum trafficStatusDefault { get; set; } + + /// + /// Gets or sets a value indicating whether the trafficStatusDefault property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool trafficStatusDefaultSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("referenceSettingsExtension")] + public _ExtensionType referenceSettingsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TrafficStatusEnum + { + + impossible, + + congested, + + heavy, + + freeFlow, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ElectricCharging", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ElectricCharging + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _chargingStationUsageType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("chargingStationUsageType")] + public System.Collections.ObjectModel.Collection chargingStationUsageType + { + get + { + return _chargingStationUsageType; + } + private set + { + _chargingStationUsageType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public ElectricCharging() + { + this._chargingStationUsageType = new System.Collections.ObjectModel.Collection(); + this._voltage = new System.Collections.ObjectModel.Collection(); + this._chargingStationConnectorType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("chargingStationModelType")] + public MultilingualString chargingStationModelType { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("maximumCurrent")] + public float maximumCurrent { get; set; } + + /// + /// Gets or sets a value indicating whether the maximumCurrent property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool maximumCurrentSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _voltage; + + [System.Xml.Serialization.XmlElementAttribute("voltage")] + public System.Collections.ObjectModel.Collection voltage + { + get + { + return _voltage; + } + private set + { + _voltage = value; + } + } + + /// + /// Gets a value indicating whether the voltage collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool voltageSpecified + { + get + { + return (this.voltage.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _chargingStationConnectorType; + + [System.Xml.Serialization.XmlElementAttribute("chargingStationConnectorType")] + public System.Collections.ObjectModel.Collection chargingStationConnectorType + { + get + { + return _chargingStationConnectorType; + } + private set + { + _chargingStationConnectorType = value; + } + } + + /// + /// Gets a value indicating whether the chargingStationConnectorType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool chargingStationConnectorTypeSpecified + { + get + { + return (this.chargingStationConnectorType.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfChargingPoints")] + public string numberOfChargingPoints { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("electricChargingExtension")] + public _ExtensionType electricChargingExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("EnvironmentalObstruction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class EnvironmentalObstruction : Obstruction + { + + [System.Xml.Serialization.XmlElementAttribute("depth")] + public float depth { get; set; } + + /// + /// Gets or sets a value indicating whether the depth property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool depthSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("environmentalObstructionType")] + public EnvironmentalObstructionTypeEnum environmentalObstructionType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("environmentalObstructionExtension")] + public _ExtensionType environmentalObstructionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("EnvironmentalObstructionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum EnvironmentalObstructionTypeEnum + { + + avalanches, + + earthquakeDamage, + + fallenTrees, + + fallingIce, + + fallingLightIceOrSnow, + + flashFloods, + + flooding, + + forestFire, + + grassFire, + + landslips, + + mudSlide, + + sewerOverflow, + + rockfalls, + + seriousFire, + + smokeOrFumes, + + stormDamage, + + subsidence, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Equipment", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Equipment : ParkingEquipmentOrServiceFacility + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("equipmentType")] + public EquipmentTypeEnum equipmentType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("electricCharging")] + public ElectricCharging electricCharging { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("equipmentExtension")] + public _ExtensionType equipmentExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("EquipmentTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum EquipmentTypeEnum + { + + toilet, + + shower, + + informationPoint, + + informatonStele, + + internetTerminal, + + internetWireless, + + payDesk, + + paymentMachine, + + cashMachine, + + vendingMachine, + + faxMachineOrService, + + copyMachineOrService, + + safeDeposit, + + luggageLocker, + + publicPhone, + + publicCoinPhone, + + publicCardPhone, + + elevator, + + picnicFacilities, + + dumpingStation, + + freshWater, + + wasteDisposal, + + refuseBin, + + iceFreeScaffold, + + playground, + + electricChargingStation, + + bikeParking, + + tollTerminal, + + defibrillator, + + firstAidEquipment, + + fireHose, + + fireExtingiusher, + + fireHydrant, + + none, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("EquipmentOrSystemFault", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class EquipmentOrSystemFault : TrafficElement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("equipmentOrSystemFaultType")] + public EquipmentOrSystemFaultTypeEnum equipmentOrSystemFaultType { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("faultyEquipmentOrSystemType")] + public EquipmentOrSystemTypeEnum faultyEquipmentOrSystemType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("equipmentOrSystemFaultExtension")] + public _ExtensionType equipmentOrSystemFaultExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("EquipmentOrSystemFaultTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum EquipmentOrSystemFaultTypeEnum + { + + notWorking, + + outOfService, + + workingIncorrectly, + + workingIntermittently, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("EquipmentOrSystemTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum EquipmentOrSystemTypeEnum + { + + anprCameras, + + automatedTollSystem, + + cctvCameras, + + emergencyRoadsideTelephones, + + galleryLights, + + laneControlSigns, + + levelCrossing, + + matrixSigns, + + rampControls, + + roadsideCommunicationsSystem, + + roadsidePowerSystem, + + speedControlSigns, + + streetLighting, + + temporaryTrafficLights, + + tollGates, + + trafficLightSets, + + trafficSignals, + + tunnelLights, + + tunnelVentilation, + + variableMessageSigns, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("FloatingPointMetreDistanceValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class FloatingPointMetreDistanceValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("floatingPointMetreDistance")] + public float floatingPointMetreDistance { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("floatingPointMetreDistanceValueExtension")] + public _ExtensionType floatingPointMetreDistanceValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GeneralInstructionOrMessageToRoadUsers", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GeneralInstructionOrMessageToRoadUsers : NetworkManagement + { + + [System.Xml.Serialization.XmlElementAttribute("generalInstructionToRoadUsersType")] + public GeneralInstructionToRoadUsersTypeEnum generalInstructionToRoadUsersType { get; set; } + + /// + /// Gets or sets a value indicating whether the generalInstructionToRoadUsersType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool generalInstructionToRoadUsersTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("generalMessageToRoadUsers")] + public MultilingualString generalMessageToRoadUsers { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("generalInstructionOrMessageToRoadUsersExtension")] + public _ExtensionType generalInstructionOrMessageToRoadUsersExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NetworkManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralInstructionOrMessageToRoadUsers))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(GeneralNetworkManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ReroutingManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadOrCarriagewayOrLaneManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SpeedManagement))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WinterDrivingManagement))] + public abstract partial class NetworkManagement : OperatorAction + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("complianceOption")] + public ComplianceOptionEnum complianceOption { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForTrafficDirection; + + [System.Xml.Serialization.XmlElementAttribute("applicableForTrafficDirection")] + public System.Collections.ObjectModel.Collection applicableForTrafficDirection + { + get + { + return _applicableForTrafficDirection; + } + private set + { + _applicableForTrafficDirection = value; + } + } + + /// + /// Gets a value indicating whether the applicableForTrafficDirection collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForTrafficDirectionSpecified + { + get + { + return (this.applicableForTrafficDirection.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public NetworkManagement() + { + this._applicableForTrafficDirection = new System.Collections.ObjectModel.Collection(); + this._applicableForTrafficType = new System.Collections.ObjectModel.Collection(); + this._placesAtWhichApplicable = new System.Collections.ObjectModel.Collection(); + this._forVehiclesWithCharacteristicsOf = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _applicableForTrafficType; + + [System.Xml.Serialization.XmlElementAttribute("applicableForTrafficType")] + public System.Collections.ObjectModel.Collection applicableForTrafficType + { + get + { + return _applicableForTrafficType; + } + private set + { + _applicableForTrafficType = value; + } + } + + /// + /// Gets a value indicating whether the applicableForTrafficType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool applicableForTrafficTypeSpecified + { + get + { + return (this.applicableForTrafficType.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _placesAtWhichApplicable; + + [System.Xml.Serialization.XmlElementAttribute("placesAtWhichApplicable")] + public System.Collections.ObjectModel.Collection placesAtWhichApplicable + { + get + { + return _placesAtWhichApplicable; + } + private set + { + _placesAtWhichApplicable = value; + } + } + + /// + /// Gets a value indicating whether the placesAtWhichApplicable collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool placesAtWhichApplicableSpecified + { + get + { + return (this.placesAtWhichApplicable.Count != 0); + } + } + + [System.Xml.Serialization.XmlElementAttribute("automaticallyInitiated")] + public bool automaticallyInitiated { get; set; } + + /// + /// Gets or sets a value indicating whether the automaticallyInitiated property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool automaticallyInitiatedSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _forVehiclesWithCharacteristicsOf; + + [System.Xml.Serialization.XmlElementAttribute("forVehiclesWithCharacteristicsOf")] + public System.Collections.ObjectModel.Collection forVehiclesWithCharacteristicsOf + { + get + { + return _forVehiclesWithCharacteristicsOf; + } + private set + { + _forVehiclesWithCharacteristicsOf = value; + } + } + + /// + /// Gets a value indicating whether the forVehiclesWithCharacteristicsOf collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool forVehiclesWithCharacteristicsOfSpecified + { + get + { + return (this.forVehiclesWithCharacteristicsOf.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("networkManagementExtension")] + public _ExtensionType networkManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TrafficTypeEnum + { + + accessOnlyTraffic, + + destinedForAirport, + + destinedForAirportArrivals, + + destinedForAirportDepartures, + + destinedForFerryService, + + destinedForRailService, + + holidayTraffic, + + localTraffic, + + longDistanceTraffic, + + regionalTraffic, + + residentsOnlyTraffic, + + throughTraffic, + + visitorTraffic, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PlacesEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PlacesEnum + { + + aroundBendsInTheRoad, + + atCustomsPosts, + + atHighAltitudes, + + atTollPlazas, + + inBuiltUpAreas, + + inContraflowSections, + + inForestedAreas, + + inGalleries, + + inLowLyingAreas, + + inRoadworksAreas, + + inRuralAreas, + + inShadedAreas, + + inTheCityCentre, + + inTheInnerCityAreas, + + inTunnels, + + onBridges, + + onDownHillSections, + + onDualCarriagewaySections, + + onElevatedSections, + + onEnteringOrLeavingTunnels, + + onEnteringTheCountry, + + onFlyovers, + + onLeavingTheCountry, + + onMotorways, + + onNonMotorways, + + onPasses, + + onRoundabouts, + + onSingleCarriagewaySections, + + onSlipRoads, + + onUndergroundSections, + + onUnderpasses, + + onUpHillSections, + + overTheCrestOfHills, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GeneralInstructionToRoadUsersTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum GeneralInstructionToRoadUsersTypeEnum + { + + allowEmergencyVehiclesToPass, + + approachWithCare, + + avoidTheArea, + + closeAllWindowsTurnOffHeaterAndVents, + + crossJunctionWithCare, + + doNotAllowUnnecessaryGaps, + + doNotLeaveYourVehicle, + + doNotThrowOutAnyBurningObjects, + + doNotUseNavigationSystems, + + driveCarefully, + + driveWithExtremeCaution, + + flashYourLights, + + followTheVehicleInFrontSmoothly, + + increaseNormalFollowingDistance, + + inEmergencyWaitForPatrolService, + + keepYourDistance, + + leaveYourVehicleProceedToNextSafePlace, + + noNakedFlames, + + noOvertaking, + + noSmoking, + + noStopping, + + noUturns, + + observeAmberAlert, + + observeSignals, + + observeSigns, + + onlyTravelIfAbsolutelyNecessary, + + overtakeWithCare, + + pullOverToTheEdgeOfTheRoadway, + + stopAtNextSafePlace, + + stopAtNextServiceArea, + + switchOffEngine, + + switchOffMobilePhonesAndTwoWayRadios, + + testYourBrakes, + + useBusService, + + useFogLights, + + useHazardWarningLights, + + useHeadlights, + + useRailService, + + useTramService, + + useUndergroundService, + + waitForEscortVehicle, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GeneralNetworkManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GeneralNetworkManagement : NetworkManagement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("generalNetworkManagementType")] + public GeneralNetworkManagementTypeEnum generalNetworkManagementType { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("trafficManuallyDirectedBy")] + public PersonCategoryEnum trafficManuallyDirectedBy { get; set; } + + /// + /// Gets or sets a value indicating whether the trafficManuallyDirectedBy property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool trafficManuallyDirectedBySpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("generalNetworkManagementExtension")] + public _ExtensionType generalNetworkManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GeneralNetworkManagementTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum GeneralNetworkManagementTypeEnum + { + + bridgeSwingInOperation, + + convoyService, + + obstacleSignalling, + + rampMeteringInOperation, + + temporaryTrafficLights, + + tollGatesOpen, + + trafficBeingManuallyDirected, + + trafficHeld, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GeneralObstruction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GeneralObstruction : Obstruction + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _obstructionType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("obstructionType")] + public System.Collections.ObjectModel.Collection obstructionType + { + get + { + return _obstructionType; + } + private set + { + _obstructionType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public GeneralObstruction() + { + this._obstructionType = new System.Collections.ObjectModel.Collection(); + this._groupOfPeopleInvolved = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _groupOfPeopleInvolved; + + [System.Xml.Serialization.XmlElementAttribute("groupOfPeopleInvolved")] + public System.Collections.ObjectModel.Collection groupOfPeopleInvolved + { + get + { + return _groupOfPeopleInvolved; + } + private set + { + _groupOfPeopleInvolved = value; + } + } + + /// + /// Gets a value indicating whether the groupOfPeopleInvolved collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfPeopleInvolvedSpecified + { + get + { + return (this.groupOfPeopleInvolved.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("generalObstructionExtension")] + public _ExtensionType generalObstructionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ObstructionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ObstructionTypeEnum + { + + airCrash, + + childrenOnRoadway, + + clearanceWork, + + craneOperating, + + cyclistsOnRoadway, + + debris, + + explosion, + + explosionHazard, + + hazardsOnTheRoad, + + highSpeedChase, + + houseFire, + + incident, + + industrialAccident, + + objectOnTheRoad, + + objectsFallingFromMovingVehicle, + + obstructionOnTheRoad, + + peopleOnRoadway, + + railCrash, + + recklessDriver, + + rescueAndRecoveryWork, + + severeFrostDamagedRoadway, + + shedLoad, + + snowAndIceDebris, + + spillageOccurringFromMovingVehicle, + + spillageOnTheRoad, + + unprotectedAccidentArea, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GenericPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GenericPublication : PayloadPublication + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("genericPublicationName")] + public string genericPublicationName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("genericPublicationExtension")] + public _GenericPublicationExtensionType genericPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GenericSituationRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public abstract partial class GenericSituationRecord : SituationRecord + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("genericSituationRecordName")] + public string genericSituationRecordName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("genericSituationRecordExtension")] + public _ExtensionType genericSituationRecordExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfParkingSites", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GroupOfParkingSites : ParkingRecord + { + + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSitesType")] + public GroupOfParkingSitesTypeEnum groupOfParkingSitesType { get; set; } + + /// + /// Gets or sets a value indicating whether the groupOfParkingSitesType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfParkingSitesTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingRecordVersionedReference> _parkingSiteByReference; + + [System.Xml.Serialization.XmlElementAttribute("parkingSiteByReference")] + public System.Collections.ObjectModel.Collection<_ParkingRecordVersionedReference> parkingSiteByReference + { + get + { + return _parkingSiteByReference; + } + private set + { + _parkingSiteByReference = value; + } + } + + /// + /// Gets a value indicating whether the parkingSiteByReference collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteByReferenceSpecified + { + get + { + return (this.parkingSiteByReference.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public GroupOfParkingSites() + { + this._parkingSiteByReference = new System.Collections.ObjectModel.Collection<_ParkingRecordVersionedReference>(); + this._parkingSite = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSite; + + [System.Xml.Serialization.XmlElementAttribute("parkingSite")] + public System.Collections.ObjectModel.Collection parkingSite + { + get + { + return _parkingSite; + } + private set + { + _parkingSite = value; + } + } + + /// + /// Gets a value indicating whether the parkingSite collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteSpecified + { + get + { + return (this.parkingSite.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSitesExtension")] + public _ExtensionType groupOfParkingSitesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfParkingSitesTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum GroupOfParkingSitesTypeEnum + { + + parkingArea, + + truckParkingPriorityZone, + + aggregationOfInformation, + + inhabitantZone, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSite", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(InterUrbanParkingSite))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(SpecialLocationParkingSite))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(UrbanParkingSite))] + public abstract partial class ParkingSite : ParkingRecord + { + + [System.Xml.Serialization.XmlElementAttribute("parkingReservation")] + public ReservationTypeEnum parkingReservation { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingReservation property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingReservationSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingLayout; + + [System.Xml.Serialization.XmlElementAttribute("parkingLayout")] + public System.Collections.ObjectModel.Collection parkingLayout + { + get + { + return _parkingLayout; + } + private set + { + _parkingLayout = value; + } + } + + /// + /// Gets a value indicating whether the parkingLayout collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingLayoutSpecified + { + get + { + return (this.parkingLayout.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingSite() + { + this._parkingLayout = new System.Collections.ObjectModel.Collection(); + this._parkingSiteAddress = new System.Collections.ObjectModel.Collection(); + this._reservationService = new System.Collections.ObjectModel.Collection(); + this._parkingUsageScenario = new System.Collections.ObjectModel.Collection<_ParkingSiteScenarioIndexParkingUsageScenario>(); + this._parkingAccess = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("highestFloor")] + public string highestFloor { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("lowestFloor")] + public string lowestFloor { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("temporaryParking")] + public bool temporaryParking { get; set; } + + /// + /// Gets or sets a value indicating whether the temporaryParking property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool temporaryParkingSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSiteAddress; + + [System.Xml.Serialization.XmlElementAttribute("parkingSiteAddress")] + public System.Collections.ObjectModel.Collection parkingSiteAddress + { + get + { + return _parkingSiteAddress; + } + private set + { + _parkingSiteAddress = value; + } + } + + /// + /// Gets a value indicating whether the parkingSiteAddress collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteAddressSpecified + { + get + { + return (this.parkingSiteAddress.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _reservationService; + + [System.Xml.Serialization.XmlElementAttribute("reservationService")] + public System.Collections.ObjectModel.Collection reservationService + { + get + { + return _reservationService; + } + private set + { + _reservationService = value; + } + } + + /// + /// Gets a value indicating whether the reservationService collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool reservationServiceSpecified + { + get + { + return (this.reservationService.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_ParkingSiteScenarioIndexParkingUsageScenario> _parkingUsageScenario; + + [System.Xml.Serialization.XmlElementAttribute("parkingUsageScenario")] + public System.Collections.ObjectModel.Collection<_ParkingSiteScenarioIndexParkingUsageScenario> parkingUsageScenario + { + get + { + return _parkingUsageScenario; + } + private set + { + _parkingUsageScenario = value; + } + } + + /// + /// Gets a value indicating whether the parkingUsageScenario collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingUsageScenarioSpecified + { + get + { + return (this.parkingUsageScenario.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openingTimes")] + public OpeningTimes openingTimes { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingAccess; + + [System.Xml.Serialization.XmlElementAttribute("parkingAccess")] + public System.Collections.ObjectModel.Collection parkingAccess + { + get + { + return _parkingAccess; + } + private set + { + _parkingAccess = value; + } + } + + /// + /// Gets a value indicating whether the parkingAccess collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingAccessSpecified + { + get + { + return (this.parkingAccess.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStandardsAndSecurity")] + public ParkingStandardsAndSecurity parkingStandardsAndSecurity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSiteExtension")] + public _ExtensionType parkingSiteExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingLayoutEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingLayoutEnum + { + + multiStorey, + + singleLevel, + + underground, + + undergroundAndMultistorey, + + automatedParkingGarage, + + openSpace, + + covered, + + nested, + + field, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingAccess", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingAccess + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accessCategory; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("accessCategory")] + public System.Collections.ObjectModel.Collection accessCategory + { + get + { + return _accessCategory; + } + private set + { + _accessCategory = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingAccess() + { + this._accessCategory = new System.Collections.ObjectModel.Collection(); + this._accessEquipment = new System.Collections.ObjectModel.Collection(); + this._accessibility = new System.Collections.ObjectModel.Collection(); + this._primaryRoad = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("accessName")] + public MultilingualString accessName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accessEquipment; + + [System.Xml.Serialization.XmlElementAttribute("accessEquipment")] + public System.Collections.ObjectModel.Collection accessEquipment + { + get + { + return _accessEquipment; + } + private set + { + _accessEquipment = value; + } + } + + /// + /// Gets a value indicating whether the accessEquipment collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accessEquipmentSpecified + { + get + { + return (this.accessEquipment.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _accessibility; + + [System.Xml.Serialization.XmlElementAttribute("accessibility")] + public System.Collections.ObjectModel.Collection accessibility + { + get + { + return _accessibility; + } + private set + { + _accessibility = value; + } + } + + /// + /// Gets a value indicating whether the accessibility collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool accessibilitySpecified + { + get + { + return (this.accessibility.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("photoUrl")] + public string photoUrl { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("accessOnlyAssignedFor")] + public ParkingAssignment accessOnlyAssignedFor { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("accessAssignedAmongOthers")] + public ParkingAssignment accessAssignedAmongOthers { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("accessProhibitedFor")] + public ParkingAssignment accessProhibitedFor { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _primaryRoad; + + [System.Xml.Serialization.XmlElementAttribute("primaryRoad")] + public System.Collections.ObjectModel.Collection primaryRoad + { + get + { + return _primaryRoad; + } + private set + { + _primaryRoad = value; + } + } + + /// + /// Gets a value indicating whether the primaryRoad collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool primaryRoadSpecified + { + get + { + return (this.primaryRoad.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("location")] + public Location location { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openingTimes")] + public OpeningTimes openingTimes { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingAccessExtension")] + public _ExtensionType parkingAccessExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingStandardsAndSecurity", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingStandardsAndSecurity + { + + [System.Xml.Serialization.XmlElementAttribute("labelSecurityLevel")] + public LABELSecurityLevelEnum labelSecurityLevel { get; set; } + + /// + /// Gets or sets a value indicating whether the labelSecurityLevel property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool labelSecurityLevelSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("labelServiceLevel")] + public LABELServiceLevelEnum labelServiceLevel { get; set; } + + /// + /// Gets or sets a value indicating whether the labelServiceLevel property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool labelServiceLevelSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("labelSecurityLevelSelfAssessment")] + public LABELSecurityLevelEnum labelSecurityLevelSelfAssessment { get; set; } + + /// + /// Gets or sets a value indicating whether the labelSecurityLevelSelfAssessment property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool labelSecurityLevelSelfAssessmentSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("labelServiceLevelSelfAssessment")] + public LABELServiceLevelEnum labelServiceLevelSelfAssessment { get; set; } + + /// + /// Gets or sets a value indicating whether the labelServiceLevelSelfAssessment property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool labelServiceLevelSelfAssessmentSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSecurity; + + [System.Xml.Serialization.XmlElementAttribute("parkingSecurity")] + public System.Collections.ObjectModel.Collection parkingSecurity + { + get + { + return _parkingSecurity; + } + private set + { + _parkingSecurity = value; + } + } + + /// + /// Gets a value indicating whether the parkingSecurity collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSecuritySpecified + { + get + { + return (this.parkingSecurity.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingStandardsAndSecurity() + { + this._parkingSecurity = new System.Collections.ObjectModel.Collection(); + this._parkingAdditionalSecurity = new System.Collections.ObjectModel.Collection(); + this._parkingSupervision = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingAdditionalSecurity; + + [System.Xml.Serialization.XmlElementAttribute("parkingAdditionalSecurity")] + public System.Collections.ObjectModel.Collection parkingAdditionalSecurity + { + get + { + return _parkingAdditionalSecurity; + } + private set + { + _parkingAdditionalSecurity = value; + } + } + + /// + /// Gets a value indicating whether the parkingAdditionalSecurity collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingAdditionalSecuritySpecified + { + get + { + return (this.parkingAdditionalSecurity.Count != 0); + } + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSupervision; + + [System.Xml.Serialization.XmlElementAttribute("parkingSupervision")] + public System.Collections.ObjectModel.Collection parkingSupervision + { + get + { + return _parkingSupervision; + } + private set + { + _parkingSupervision = value; + } + } + + /// + /// Gets a value indicating whether the parkingSupervision collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSupervisionSpecified + { + get + { + return (this.parkingSupervision.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSecurityNationalClassification")] + public MultilingualString parkingSecurityNationalClassification { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("certifiedSecureParking")] + public bool certifiedSecureParking { get; set; } + + /// + /// Gets or sets a value indicating whether the certifiedSecureParking property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool certifiedSecureParkingSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dateOfCertification", DataType="date")] + public System.DateTime dateOfCertification { get; set; } + + /// + /// Gets or sets a value indicating whether the dateOfCertification property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dateOfCertificationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingStandardsAndSecurityExtension")] + public _ExtensionType parkingStandardsAndSecurityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LABELSecurityLevelEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LABELSecurityLevelEnum + { + + none, + + securityLevel1, + + securityLevel2, + + securityLevel3, + + securityLevel4, + + securityLevel5, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LABELServiceLevelEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LABELServiceLevelEnum + { + + none, + + serviceLevel1, + + serviceLevel2, + + serviceLevel3, + + serviceLevel4, + + serviceLevel5, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSupervisionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSupervisionEnum + { + + remote, + + onSite, + + controlCentreOnSite, + + controlCentreOffSite, + + patrol, + + none, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfParkingSitesStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GroupOfParkingSitesStatus : ParkingRecordStatus + { + + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSitesStatus")] + public GroupOfParkingSitesStatusEnum groupOfParkingSitesStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the groupOfParkingSitesStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool groupOfParkingSitesStatusSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSitesStatusExtension")] + public _ExtensionType groupOfParkingSitesStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfParkingSitesStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum GroupOfParkingSitesStatusEnum + { + + allParkingsFull, + + multiStoreyParkingsFull, + + noMoreParkingSpacesAvailable, + + enoughSpacesAvailable, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("GroupOfParkingSpaces", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GroupOfParkingSpaces : ParkingSpaceBasics + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingNumberOfSpaces")] + public string parkingNumberOfSpaces { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingTypeOfGroup")] + public ParkingTypeOfGroup parkingTypeOfGroup { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _identicalToGroup; + + [System.Xml.Serialization.XmlElementAttribute("identicalToGroup")] + public System.Collections.ObjectModel.Collection identicalToGroup + { + get + { + return _identicalToGroup; + } + private set + { + _identicalToGroup = value; + } + } + + /// + /// Gets a value indicating whether the identicalToGroup collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool identicalToGroupSpecified + { + get + { + return (this.identicalToGroup.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public GroupOfParkingSpaces() + { + this._identicalToGroup = new System.Collections.ObjectModel.Collection(); + this._realSubsetOfGroup = new System.Collections.ObjectModel.Collection(); + this._parkingSpace = new System.Collections.ObjectModel.Collection<_GroupOfParkingSpacesParkingSpaceIndexParkingSpace>(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _realSubsetOfGroup; + + [System.Xml.Serialization.XmlElementAttribute("realSubsetOfGroup")] + public System.Collections.ObjectModel.Collection realSubsetOfGroup + { + get + { + return _realSubsetOfGroup; + } + private set + { + _realSubsetOfGroup = value; + } + } + + /// + /// Gets a value indicating whether the realSubsetOfGroup collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool realSubsetOfGroupSpecified + { + get + { + return (this.realSubsetOfGroup.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minimumParkingSpaceDimension")] + public Dimension minimumParkingSpaceDimension { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dimensionOfGroup")] + public Dimension dimensionOfGroup { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maximumParkingSpaceDimension")] + public Dimension maximumParkingSpaceDimension { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_GroupOfParkingSpacesParkingSpaceIndexParkingSpace> _parkingSpace; + + [System.Xml.Serialization.XmlElementAttribute("parkingSpace")] + public System.Collections.ObjectModel.Collection<_GroupOfParkingSpacesParkingSpaceIndexParkingSpace> parkingSpace + { + get + { + return _parkingSpace; + } + private set + { + _parkingSpace = value; + } + } + + /// + /// Gets a value indicating whether the parkingSpace collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSpaceSpecified + { + get + { + return (this.parkingSpace.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfLocations")] + public GroupOfLocations groupOfLocations { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfParkingSpacesExtension")] + public _ExtensionType groupOfParkingSpacesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingTypeOfGroup", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingTypeOfGroup + { + + adjacentSpaces, + + nonAdjacentSpaces, + + completeFloor, + + mixedUsage, + + statisticsOnly, + + singleParameters, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("HeightGradeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum HeightGradeEnum + { + + aboveGrade, + + atGrade, + + belowGrade, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Humidity", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Humidity + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("relativeHumidity")] + public PercentageValue relativeHumidity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("humidityExtension")] + public _ExtensionType humidityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PercentageValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PercentageValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("percentage")] + public float percentage { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("percentageValueExtension")] + public _ExtensionType percentageValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("HumidityInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class HumidityInformation : WeatherData + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("humidity")] + public Humidity humidity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("humidityInformationExtension")] + public _ExtensionType humidityInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WeatherData", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(HumidityInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PollutionInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PrecipitationInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RoadSurfaceConditionInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TemperatureInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VisibilityInformation))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WindInformation))] + public abstract partial class WeatherData : BasicData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("weatherDataExtension")] + public _ExtensionType weatherDataExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("IndividualVehicleDataValues", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IndividualVehicleDataValues : TrafficData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("individualVehicleSpeed")] + public SpeedValue individualVehicleSpeed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("arrivalTime")] + public DateTimeValue arrivalTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("exitTime")] + public DateTimeValue exitTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("passageDurationTime")] + public DurationValue passageDurationTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("presenceDurationTime")] + public DurationValue presenceDurationTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("timeGap")] + public DurationValue timeGap { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("timeHeadway")] + public DurationValue timeHeadway { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceGap")] + public FloatingPointMetreDistanceValue distanceGap { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceHeadway")] + public FloatingPointMetreDistanceValue distanceHeadway { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("individualVehicleDataValuesExtension")] + public _ExtensionType individualVehicleDataValuesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficData", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(IndividualVehicleDataValues))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficConcentration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficFlow))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficHeadway))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrafficSpeed))] + public abstract partial class TrafficData : BasicData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("forVehiclesWithCharacteristicsOf")] + public VehicleCharacteristics forVehiclesWithCharacteristicsOf { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficDataExtension")] + public _ExtensionType trafficDataExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpeedValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SpeedValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("speed")] + public float speed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("speedValueExtension")] + public _ExtensionType speedValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InfrastructureDamageObstruction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InfrastructureDamageObstruction : Obstruction + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("infrastructureDamageType")] + public InfrastructureDamageTypeEnum infrastructureDamageType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("infrastructureDamageObstructionExtension")] + public _ExtensionType infrastructureDamageObstructionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InfrastructureDamageTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum InfrastructureDamageTypeEnum + { + + burstPipe, + + burstWaterMain, + + collapsedSewer, + + damagedBridge, + + damagedCrashBarrier, + + damagedFlyover, + + damagedGallery, + + damagedGantry, + + damagedRoadSurface, + + damagedTunnel, + + damagedViaduct, + + fallenPowerCables, + + gasLeak, + + weakBridge, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("IntegerMetreDistanceValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class IntegerMetreDistanceValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("integerMetreDistance")] + public string integerMetreDistance { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("integerMetreDistanceValueExtension")] + public _ExtensionType integerMetreDistanceValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InterUrbanParkingSite", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class InterUrbanParkingSite : ParkingSite + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("interUrbanParkingSiteLocation")] + public InterUrbanParkingSiteLocationEnum interUrbanParkingSiteLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("interUrbanParkingSiteExtension")] + public _ExtensionType interUrbanParkingSiteExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("InterUrbanParkingSiteLocationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum InterUrbanParkingSiteLocationEnum + { + + motorway, + + nearbyMotorway, + + layBy, + + onStreet, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Itinerary", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ItineraryByIndexedLocations))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(ItineraryByReference))] + public abstract partial class Itinerary : GroupOfLocations + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _routeDestination; + + [System.Xml.Serialization.XmlElementAttribute("routeDestination")] + public System.Collections.ObjectModel.Collection routeDestination + { + get + { + return _routeDestination; + } + private set + { + _routeDestination = value; + } + } + + /// + /// Gets a value indicating whether the routeDestination collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool routeDestinationSpecified + { + get + { + return (this.routeDestination.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Itinerary() + { + this._routeDestination = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("itineraryExtension")] + public _ExtensionType itineraryExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ItineraryByIndexedLocations", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ItineraryByIndexedLocations : Itinerary + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_LocationContainedInItinerary> _locationContainedInItinerary; + + [System.Xml.Serialization.XmlElementAttribute("locationContainedInItinerary")] + public System.Collections.ObjectModel.Collection<_LocationContainedInItinerary> locationContainedInItinerary + { + get + { + return _locationContainedInItinerary; + } + private set + { + _locationContainedInItinerary = value; + } + } + + /// + /// Gets a value indicating whether the locationContainedInItinerary collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool locationContainedInItinerarySpecified + { + get + { + return (this.locationContainedInItinerary.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ItineraryByIndexedLocations() + { + this._locationContainedInItinerary = new System.Collections.ObjectModel.Collection<_LocationContainedInItinerary>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("itineraryByIndexedLocationsExtension")] + public _ExtensionType itineraryByIndexedLocationsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ItineraryByReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ItineraryByReference : Itinerary + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedItineraryReference")] + public _PredefinedItineraryVersionedReference predefinedItineraryReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("itineraryByReferenceExtension")] + public _ExtensionType itineraryByReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("KilogramsConcentrationValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class KilogramsConcentrationValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("kilogramsConcentration")] + public float kilogramsConcentration { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("kilogramsConcentrationValueExtension")] + public _ExtensionType kilogramsConcentrationValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Linear", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Linear : NetworkLocation + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegLinearLocation")] + public TpegLinearLocation tpegLinearLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCLinear")] + public AlertCLinear alertCLinear { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearWithinLinearElement")] + public LinearWithinLinearElement linearWithinLinearElement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearExtension")] + public _LinearExtensionType linearExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NetworkLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Linear))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Point))] + public abstract partial class NetworkLocation : Location + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPositionalDescription")] + public SupplementaryPositionalDescription supplementaryPositionalDescription { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("destination")] + public Destination destination { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("networkLocationExtension")] + public _ExtensionType networkLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SupplementaryPositionalDescription", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SupplementaryPositionalDescription + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _locationDescriptor; + + [System.Xml.Serialization.XmlElementAttribute("locationDescriptor")] + public System.Collections.ObjectModel.Collection locationDescriptor + { + get + { + return _locationDescriptor; + } + private set + { + _locationDescriptor = value; + } + } + + /// + /// Gets a value indicating whether the locationDescriptor collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool locationDescriptorSpecified + { + get + { + return (this.locationDescriptor.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public SupplementaryPositionalDescription() + { + this._locationDescriptor = new System.Collections.ObjectModel.Collection(); + this._affectedCarriagewayAndLanes = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("sequentialRampNumber")] + public string sequentialRampNumber { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _affectedCarriagewayAndLanes; + + [System.Xml.Serialization.XmlElementAttribute("affectedCarriagewayAndLanes")] + public System.Collections.ObjectModel.Collection affectedCarriagewayAndLanes + { + get + { + return _affectedCarriagewayAndLanes; + } + private set + { + _affectedCarriagewayAndLanes = value; + } + } + + /// + /// Gets a value indicating whether the affectedCarriagewayAndLanes collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool affectedCarriagewayAndLanesSpecified + { + get + { + return (this.affectedCarriagewayAndLanes.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("supplementaryPositionalDescriptionExtension")] + public _ExtensionType supplementaryPositionalDescriptionExtension { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlAttributeAttribute("locationPrecision")] + public string locationPrecision { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LocationDescriptorEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LocationDescriptorEnum + { + + aroundABendInRoad, + + atMotorwayInterchange, + + atRestArea, + + atServiceArea, + + atTollPlaza, + + atTunnelEntryOrExit, + + inbound, + + inGallery, + + inTheCentre, + + inTheOppositeDirection, + + inTunnel, + + onBorder, + + onBridge, + + onConnector, + + onElevatedSection, + + onFlyover, + + onIceRoad, + + onLevelCrossing, + + onLinkRoad, + + onPass, + + onRoundabout, + + onTheLeft, + + onTheRight, + + onTheRoadway, + + onUndergroundSection, + + onUnderpass, + + outbound, + + overCrestOfHill, + + withinJunction, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLinearLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegLinearLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegDirection")] + public DirectionEnum tpegDirection { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegLinearLocationType")] + public TpegLoc01LinearLocationSubtypeEnum tpegLinearLocationType { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("to")] + public TpegPoint to { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("from")] + public TpegPoint from { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegLinearLocationExtension")] + public _ExtensionType tpegLinearLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc01LinearLocationSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc01LinearLocationSubtypeEnum + { + + segment, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegPoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegJunction))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegNonJunctionPoint))] + public abstract partial class TpegPoint + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegPointExtension")] + public _ExtensionType tpegPointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearWithinLinearElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LinearWithinLinearElement + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("administrativeAreaOfLinearSection")] + public MultilingualString administrativeAreaOfLinearSection { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("directionBoundOnLinearSection")] + public DirectionEnum directionBoundOnLinearSection { get; set; } + + /// + /// Gets or sets a value indicating whether the directionBoundOnLinearSection property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool directionBoundOnLinearSectionSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("directionRelativeOnLinearSection")] + public LinearReferencingDirectionEnum directionRelativeOnLinearSection { get; set; } + + /// + /// Gets or sets a value indicating whether the directionRelativeOnLinearSection property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool directionRelativeOnLinearSectionSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("heightGradeOfLinearSection")] + public HeightGradeEnum heightGradeOfLinearSection { get; set; } + + /// + /// Gets or sets a value indicating whether the heightGradeOfLinearSection property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool heightGradeOfLinearSectionSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("linearElement")] + public LinearElement linearElement { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("fromPoint")] + public DistanceAlongLinearElement fromPoint { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("toPoint")] + public DistanceAlongLinearElement toPoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearWithinLinearElementExtension")] + public _ExtensionType linearWithinLinearElementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearReferencingDirectionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LinearReferencingDirectionEnum + { + + both, + + opposite, + + aligned, + + unknown, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LinearElementByCode))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(LinearElementByPoints))] + public partial class LinearElement + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadName")] + public MultilingualString roadName { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadNumber")] + public string roadNumber { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearElementReferenceModel")] + public string linearElementReferenceModel { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearElementReferenceModelVersion")] + public string linearElementReferenceModelVersion { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("linearElementNature")] + public LinearElementNatureEnum linearElementNature { get; set; } + + /// + /// Gets or sets a value indicating whether the linearElementNature property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool linearElementNatureSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearElementExtension")] + public _ExtensionType linearElementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearElementNatureEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum LinearElementNatureEnum + { + + road, + + roadSection, + + slipRoad, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearElementByCode", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LinearElementByCode : LinearElement + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("linearElementIdentifier")] + public string linearElementIdentifier { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearElementByCodeExtension")] + public _ExtensionType linearElementByCodeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearElementByPoints", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LinearElementByPoints : LinearElement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("startPointOfLinearElement")] + public Referent startPointOfLinearElement { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_IntermediatePointOnLinearElement> _intermediatePointOnLinearElement; + + [System.Xml.Serialization.XmlElementAttribute("intermediatePointOnLinearElement")] + public System.Collections.ObjectModel.Collection<_IntermediatePointOnLinearElement> intermediatePointOnLinearElement + { + get + { + return _intermediatePointOnLinearElement; + } + private set + { + _intermediatePointOnLinearElement = value; + } + } + + /// + /// Gets a value indicating whether the intermediatePointOnLinearElement collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool intermediatePointOnLinearElementSpecified + { + get + { + return (this.intermediatePointOnLinearElement.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public LinearElementByPoints() + { + this._intermediatePointOnLinearElement = new System.Collections.ObjectModel.Collection<_IntermediatePointOnLinearElement>(); + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("endPointOfLinearElement")] + public Referent endPointOfLinearElement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearElementByPointsExtension")] + public _ExtensionType linearElementByPointsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LinearTrafficView", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LinearTrafficView + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("linearPredefinedLocationReference")] + public _PredefinedLocationVersionedReference linearPredefinedLocationReference { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _trafficViewRecord; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("trafficViewRecord")] + public System.Collections.ObjectModel.Collection trafficViewRecord + { + get + { + return _trafficViewRecord; + } + private set + { + _trafficViewRecord = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public LinearTrafficView() + { + this._trafficViewRecord = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("linearTrafficViewExtension")] + public _ExtensionType linearTrafficViewExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficViewRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficViewRecord + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("recordSequenceNumber")] + public string recordSequenceNumber { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficElement")] + public TrafficElement trafficElement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("operatorAction")] + public OperatorAction operatorAction { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("elaboratedData")] + public ElaboratedData elaboratedData { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _urlLink; + + [System.Xml.Serialization.XmlElementAttribute("urlLink")] + public System.Collections.ObjectModel.Collection urlLink + { + get + { + return _urlLink; + } + private set + { + _urlLink = value; + } + } + + /// + /// Gets a value indicating whether the urlLink collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool urlLinkSpecified + { + get + { + return (this.urlLink.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public TrafficViewRecord() + { + this._urlLink = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficViewRecordExtension")] + public _ExtensionType trafficViewRecordExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("LocationByReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class LocationByReference : Location + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocationReference")] + public _PredefinedLocationVersionedReference predefinedLocationReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("locationByReferenceExtension")] + public _ExtensionType locationByReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MaintenanceWorks", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MaintenanceWorks : Roadworks + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _roadMaintenanceType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("roadMaintenanceType")] + public System.Collections.ObjectModel.Collection roadMaintenanceType + { + get + { + return _roadMaintenanceType; + } + private set + { + _roadMaintenanceType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public MaintenanceWorks() + { + this._roadMaintenanceType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maintenanceWorksExtension")] + public _ExtensionType maintenanceWorksExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadMaintenanceTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadMaintenanceTypeEnum + { + + clearanceWork, + + controlledAvalanche, + + installationWork, + + grassCuttingWork, + + litterClearance, + + maintenanceWork, + + overheadWorks, + + repairWork, + + resurfacingWork, + + roadMarkingWork, + + roadsideWork, + + roadworksClearance, + + roadworks, + + rockFallPreventativeMaintenance, + + saltingInProgress, + + snowploughsInUse, + + sweepingOfRoad, + + treeAndVegetationCuttingWork, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ManagedCause", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ManagedCause : Cause + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("managedCause")] + public _SituationRecordVersionedReference managedCause { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("managedCauseExtension")] + public _ExtensionType managedCauseExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasuredDataPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasuredDataPublication : PayloadPublication + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteTableReference")] + public _MeasurementSiteTableVersionedReference measurementSiteTableReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _siteMeasurements; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("siteMeasurements")] + public System.Collections.ObjectModel.Collection siteMeasurements + { + get + { + return _siteMeasurements; + } + private set + { + _siteMeasurements = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public MeasuredDataPublication() + { + this._siteMeasurements = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measuredDataPublicationExtension")] + public _ExtensionType measuredDataPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SiteMeasurements", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SiteMeasurements + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteReference")] + public _MeasurementSiteRecordVersionedReference measurementSiteReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementTimeDefault", DataType="dateTime")] + public System.DateTime measurementTimeDefault { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_SiteMeasurementsIndexMeasuredValue> _measuredValue; + + [System.Xml.Serialization.XmlElementAttribute("measuredValue")] + public System.Collections.ObjectModel.Collection<_SiteMeasurementsIndexMeasuredValue> measuredValue + { + get + { + return _measuredValue; + } + private set + { + _measuredValue = value; + } + } + + /// + /// Gets a value indicating whether the measuredValue collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measuredValueSpecified + { + get + { + return (this.measuredValue.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public SiteMeasurements() + { + this._measuredValue = new System.Collections.ObjectModel.Collection<_SiteMeasurementsIndexMeasuredValue>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("siteMeasurementsExtension")] + public _ExtensionType siteMeasurementsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasurementSiteRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasurementSiteRecord + { + + [System.Xml.Serialization.XmlElementAttribute("measurementSiteRecordVersionTime", DataType="dateTime")] + public System.DateTime measurementSiteRecordVersionTime { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementSiteRecordVersionTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementSiteRecordVersionTimeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("computationMethod")] + public ComputationMethodEnum computationMethod { get; set; } + + /// + /// Gets or sets a value indicating whether the computationMethod property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool computationMethodSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementEquipmentReference")] + public string measurementEquipmentReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementEquipmentTypeUsed")] + public MultilingualString measurementEquipmentTypeUsed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteName")] + public MultilingualString measurementSiteName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteNumberOfLanes")] + public string measurementSiteNumberOfLanes { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteIdentification")] + public string measurementSiteIdentification { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("measurementSide")] + public DirectionEnum measurementSide { get; set; } + + /// + /// Gets or sets a value indicating whether the measurementSide property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementSideSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_MeasurementSiteRecordIndexMeasurementSpecificCharacteristics> _measurementSpecificCharacteristics; + + [System.Xml.Serialization.XmlElementAttribute("measurementSpecificCharacteristics")] + public System.Collections.ObjectModel.Collection<_MeasurementSiteRecordIndexMeasurementSpecificCharacteristics> measurementSpecificCharacteristics + { + get + { + return _measurementSpecificCharacteristics; + } + private set + { + _measurementSpecificCharacteristics = value; + } + } + + /// + /// Gets a value indicating whether the measurementSpecificCharacteristics collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool measurementSpecificCharacteristicsSpecified + { + get + { + return (this.measurementSpecificCharacteristics.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public MeasurementSiteRecord() + { + this._measurementSpecificCharacteristics = new System.Collections.ObjectModel.Collection<_MeasurementSiteRecordIndexMeasurementSpecificCharacteristics>(); + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteLocation")] + public GroupOfLocations measurementSiteLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteRecordExtension")] + public _ExtensionType measurementSiteRecordExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasurementSiteTable", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasurementSiteTable + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteTableIdentification")] + public string measurementSiteTableIdentification { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _measurementSiteRecord; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteRecord")] + public System.Collections.ObjectModel.Collection measurementSiteRecord + { + get + { + return _measurementSiteRecord; + } + private set + { + _measurementSiteRecord = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public MeasurementSiteTable() + { + this._measurementSiteRecord = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteTableExtension")] + public _ExtensionType measurementSiteTableExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MeasurementSiteTablePublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MeasurementSiteTablePublication : PayloadPublication + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _measurementSiteTable; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteTable")] + public System.Collections.ObjectModel.Collection measurementSiteTable + { + get + { + return _measurementSiteTable; + } + private set + { + _measurementSiteTable = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public MeasurementSiteTablePublication() + { + this._measurementSiteTable = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("measurementSiteTablePublicationExtension")] + public _ExtensionType measurementSiteTablePublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("MicrogramsConcentrationValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class MicrogramsConcentrationValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("microgramsConcentration")] + public float microgramsConcentration { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("microgramsConcentrationValueExtension")] + public _ExtensionType microgramsConcentrationValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonManagedCause", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NonManagedCause : Cause + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("causeDescription")] + public MultilingualString causeDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("causeType")] + public CauseTypeEnum causeType { get; set; } + + /// + /// Gets or sets a value indicating whether the causeType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool causeTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nonManagedCauseExtension")] + public _ExtensionType nonManagedCauseExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonOrderedLocationGroupByList", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NonOrderedLocationGroupByList : NonOrderedLocations + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _locationContainedInGroup; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("locationContainedInGroup")] + public System.Collections.ObjectModel.Collection locationContainedInGroup + { + get + { + return _locationContainedInGroup; + } + private set + { + _locationContainedInGroup = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public NonOrderedLocationGroupByList() + { + this._locationContainedInGroup = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nonOrderedLocationGroupByListExtension")] + public _ExtensionType nonOrderedLocationGroupByListExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonOrderedLocations", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonOrderedLocationGroupByList))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonOrderedLocationGroupByReference))] + public abstract partial class NonOrderedLocations : GroupOfLocations + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nonOrderedLocationsExtension")] + public _ExtensionType nonOrderedLocationsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonOrderedLocationGroupByReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NonOrderedLocationGroupByReference : NonOrderedLocations + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedNonOrderedLocationGroupReference")] + public _PredefinedNonOrderedLocationGroupVersionedReference predefinedNonOrderedLocationGroupReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nonOrderedLocationGroupByReferenceExtension")] + public _ExtensionType nonOrderedLocationGroupByReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonWeatherRelatedRoadConditions", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NonWeatherRelatedRoadConditions : RoadConditions + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _nonWeatherRelatedRoadConditionType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("nonWeatherRelatedRoadConditionType")] + public System.Collections.ObjectModel.Collection nonWeatherRelatedRoadConditionType + { + get + { + return _nonWeatherRelatedRoadConditionType; + } + private set + { + _nonWeatherRelatedRoadConditionType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public NonWeatherRelatedRoadConditions() + { + this._nonWeatherRelatedRoadConditionType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("nonWeatherRelatedRoadConditionsExtension")] + public _ExtensionType nonWeatherRelatedRoadConditionsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadConditions", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NonWeatherRelatedRoadConditions))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(WeatherRelatedRoadConditions))] + public abstract partial class RoadConditions : Conditions + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadConditionsExtension")] + public _ExtensionType roadConditionsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("NonWeatherRelatedRoadConditionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum NonWeatherRelatedRoadConditionTypeEnum + { + + dieselOnRoad, + + leavesOnRoad, + + looseChippings, + + looseSandOnRoad, + + mudOnRoad, + + oilOnRoad, + + petrolOnRoad, + + roadSurfaceInPoorCondition, + + slipperyRoad, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrCircleLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrCircleLocationReference : OpenlrAreaLocationReference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("radius")] + public string radius { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrGeoCoordinate")] + public OpenlrGeoCoordinate openlrGeoCoordinate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrCircleLocationReferenceExtension")] + public _ExtensionType openlrCircleLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrClosedLineLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrClosedLineLocationReference : OpenlrAreaLocationReference + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _openlrLocationReferencePoint; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLocationReferencePoint")] + public System.Collections.ObjectModel.Collection openlrLocationReferencePoint + { + get + { + return _openlrLocationReferencePoint; + } + private set + { + _openlrLocationReferencePoint = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public OpenlrClosedLineLocationReference() + { + this._openlrLocationReferencePoint = new System.Collections.ObjectModel.Collection(); + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLastLine")] + public OpenlrLineAttributes openlrLastLine { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrClosedLineLocationReferenceExtension")] + public _ExtensionType openlrClosedLineLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrGridAttributes", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrGridAttributes + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrNumColumns")] + public string openlrNumColumns { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrNumRows")] + public string openlrNumRows { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrGridAttributesExtension")] + public _ExtensionType openlrGridAttributesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrGridLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrGridLocationReference : OpenlrAreaLocationReference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrRectangle")] + public OpenlrRectangle openlrRectangle { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrGridAttributes")] + public OpenlrGridAttributes openlrGridAttributes { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrGridLocationReferenceExtension")] + public _ExtensionType openlrGridLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrRectangle", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrRectangle + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrLowerLeft")] + public PointCoordinates openlrLowerLeft { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrUpperRight")] + public PointCoordinates openlrUpperRight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrRectangleExtension")] + public _ExtensionType openlrRectangleExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrPolygonCorners", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrPolygonCorners + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _openlrCoordinate; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrCoordinate")] + public System.Collections.ObjectModel.Collection openlrCoordinate + { + get + { + return _openlrCoordinate; + } + private set + { + _openlrCoordinate = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public OpenlrPolygonCorners() + { + this._openlrCoordinate = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPolygonCornersExtension")] + public _ExtensionType openlrPolygonCornersExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrPolygonLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrPolygonLocationReference : OpenlrAreaLocationReference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrPolygonCorners")] + public OpenlrPolygonCorners openlrPolygonCorners { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrPolygonLocationReferenceExtension")] + public _ExtensionType openlrPolygonLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("OpenlrRectangleLocationReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class OpenlrRectangleLocationReference : OpenlrAreaLocationReference + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("openlrRectangle")] + public OpenlrRectangle openlrRectangle { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("openlrRectangleLocationReferenceExtension")] + public _ExtensionType openlrRectangleLocationReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRouteByReference", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingRouteByReference : ParkingRoute + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteReference")] + public _ParkingRouteDetailsVersionedReference parkingRouteReference { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteByReferenceExtension")] + public _ExtensionType parkingRouteByReferenceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRouteDetails", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingRouteDetails : ParkingRoute + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteName")] + public MultilingualString parkingRouteName { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingRouteType")] + public ParkingRouteTypeEnum parkingRouteType { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingRouteType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingRouteTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("dynamicRouteManagement")] + public bool dynamicRouteManagement { get; set; } + + /// + /// Gets or sets a value indicating whether the dynamicRouteManagement property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool dynamicRouteManagementSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteIconIndex")] + public string parkingRouteIconIndex { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingRouteDirection")] + public DirectionEnum parkingRouteDirection { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingRouteDirection property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingRouteDirectionSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingRouteDirection2")] + public ParkingRouteDirectionEnum parkingRouteDirection2 { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingRouteDirection2 property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingRouteDirection2Specified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("groupOfLocations")] + public GroupOfLocations groupOfLocations { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingRouteDetailsExtension")] + public _ExtensionType parkingRouteDetailsExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRouteTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingRouteTypeEnum + { + + pedestrian, + + bicycle, + + lorry, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingRouteDirectionEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingRouteDirectionEnum + { + + towardsParkingSite, + + awayFromParkingSite, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSiteOvercrowdingStatusEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSiteOvercrowdingStatusEnum + { + + overcrowding, + + noOvercrowding, + + overcrowdingLevel1, + + overcrowdingLevel2, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSiteStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ParkingSiteStatus : ParkingRecordStatus + { + + [System.Xml.Serialization.XmlElementAttribute("parkingSiteStatus")] + public ParkingSiteStatusEnum parkingSiteStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingSiteStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteStatusSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingSiteOpeningStatus")] + public OpeningStatusEnum parkingSiteOpeningStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingSiteOpeningStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteOpeningStatusSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("parkingSiteOvercrowdingStatus")] + public ParkingSiteOvercrowdingStatusEnum parkingSiteOvercrowdingStatus { get; set; } + + /// + /// Gets or sets a value indicating whether the parkingSiteOvercrowdingStatus property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteOvercrowdingStatusSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _parkingSiteFullAtFloor; + + [System.Xml.Serialization.XmlElementAttribute("parkingSiteFullAtFloor")] + public System.Collections.ObjectModel.Collection parkingSiteFullAtFloor + { + get + { + return _parkingSiteFullAtFloor; + } + private set + { + _parkingSiteFullAtFloor = value; + } + } + + /// + /// Gets a value indicating whether the parkingSiteFullAtFloor collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool parkingSiteFullAtFloorSpecified + { + get + { + return (this.parkingSiteFullAtFloor.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public ParkingSiteStatus() + { + this._parkingSiteFullAtFloor = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingSiteStatusExtension")] + public _ExtensionType parkingSiteStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ParkingSpecialLocationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ParkingSpecialLocationEnum + { + + airportTerminal, + + exhibitonCentre, + + shoppingCentre, + + specificFacility, + + trainStation, + + campground, + + themePark, + + ferryTerminal, + + vehicleOnRailTerminal, + + coachStation, + + cableCarStation, + + publicTransportStation, + + market, + + religiousCentre, + + conventionCentre, + + cinema, + + skilift, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PcuFlowValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PcuFlowValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pcuFlowRate")] + public string pcuFlowRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pcuFlowValueExtension")] + public _ExtensionType pcuFlowValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PercentageDistanceAlongLinearElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PercentageDistanceAlongLinearElement : DistanceAlongLinearElement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("percentageDistanceAlong")] + public float percentageDistanceAlong { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("percentageDistanceAlongLinearElementExtension")] + public _ExtensionType percentageDistanceAlongLinearElementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Point", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Point : NetworkLocation + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegPointLocation")] + public TpegPointLocation tpegPointLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("alertCPoint")] + public AlertCPoint alertCPoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointAlongLinearElement")] + public PointAlongLinearElement pointAlongLinearElement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointByCoordinates")] + public PointByCoordinates pointByCoordinates { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointExtension")] + public _PointExtensionType pointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegPointLocation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegFramedPoint))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegSimplePoint))] + public abstract partial class TpegPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegDirection")] + public DirectionEnum tpegDirection { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegPointLocationExtension")] + public _ExtensionType tpegPointLocationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PointAlongLinearElement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PointAlongLinearElement + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("administrativeAreaOfPoint")] + public MultilingualString administrativeAreaOfPoint { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("directionBoundAtPoint")] + public DirectionEnum directionBoundAtPoint { get; set; } + + /// + /// Gets or sets a value indicating whether the directionBoundAtPoint property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool directionBoundAtPointSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("directionRelativeAtPoint")] + public LinearReferencingDirectionEnum directionRelativeAtPoint { get; set; } + + /// + /// Gets or sets a value indicating whether the directionRelativeAtPoint property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool directionRelativeAtPointSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("heightGradeOfPoint")] + public HeightGradeEnum heightGradeOfPoint { get; set; } + + /// + /// Gets or sets a value indicating whether the heightGradeOfPoint property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool heightGradeOfPointSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("linearElement")] + public LinearElement linearElement { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("distanceAlongLinearElement")] + public DistanceAlongLinearElement distanceAlongLinearElement { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointAlongLinearElementExtension")] + public _ExtensionType pointAlongLinearElementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PointByCoordinates", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PointByCoordinates + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("bearing")] + public string bearing { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pointCoordinates")] + public PointCoordinates pointCoordinates { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointByCoordinatesExtension")] + public _ExtensionType pointByCoordinatesExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PointDestination", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PointDestination : Destination + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("point")] + public Point point { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pointDestinationExtension")] + public _ExtensionType pointDestinationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PollutantTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PollutantTypeEnum + { + + benzeneTolueneXylene, + + carbonMonoxide, + + lead, + + methane, + + nitricOxide, + + nitrogenDioxide, + + nitrogenMonoxide, + + nitrogenOxides, + + nonMethaneHydrocarbons, + + ozone, + + particulates10, + + polycyclicAromaticHydrocarbons, + + primaryParticulate, + + sulphurDioxide, + + totalHydrocarbons, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Pollution", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Pollution + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pollutantType")] + public PollutantTypeEnum pollutantType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pollutantConcentration")] + public MicrogramsConcentrationValue pollutantConcentration { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pollutionExtension")] + public _ExtensionType pollutionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PollutionInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PollutionInformation : WeatherData + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _pollution; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pollution")] + public System.Collections.ObjectModel.Collection pollution + { + get + { + return _pollution; + } + private set + { + _pollution = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public PollutionInformation() + { + this._pollution = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pollutionInformationExtension")] + public _ExtensionType pollutionInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PoorEnvironmentConditions", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PoorEnvironmentConditions : Conditions + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _poorEnvironmentType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("poorEnvironmentType")] + public System.Collections.ObjectModel.Collection poorEnvironmentType + { + get + { + return _poorEnvironmentType; + } + private set + { + _poorEnvironmentType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public PoorEnvironmentConditions() + { + this._poorEnvironmentType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("precipitationDetail")] + public PrecipitationDetail precipitationDetail { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("visibility")] + public Visibility visibility { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pollution")] + public Pollution pollution { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("temperature")] + public Temperature temperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("wind")] + public Wind wind { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("humidity")] + public Humidity humidity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("poorEnvironmentConditionsExtension")] + public _ExtensionType poorEnvironmentConditionsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PoorEnvironmentTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PoorEnvironmentTypeEnum + { + + badWeather, + + blizzard, + + blowingDust, + + blowingSnow, + + crosswinds, + + damagingHail, + + denseFog, + + eclipse, + + extremeCold, + + extremeHeat, + + fog, + + freezingFog, + + frost, + + gales, + + gustyWinds, + + hail, + + heavyFrost, + + heavyRain, + + heavySnowfall, + + hurricaneForceWinds, + + lowSunGlare, + + moderateFog, + + ozonePollution, + + pollution, + + patchyFog, + + precipitationInTheArea, + + rain, + + rainChangingToSnow, + + sandStorms, + + severeExhaustPollution, + + severeSmog, + + showers, + + sleet, + + smogAlert, + + smokeHazard, + + snowChangingToRain, + + snowfall, + + sprayHazard, + + stormForceWinds, + + strongGustsOfWind, + + strongWinds, + + swarmsOfInsects, + + temperatureFalling, + + thunderstorms, + + tornadoes, + + veryStrongGustsOfWind, + + visibilityReduced, + + whiteOut, + + winterStorm, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PrecipitationDetail", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PrecipitationDetail + { + + [System.Xml.Serialization.XmlElementAttribute("precipitationType")] + public PrecipitationTypeEnum precipitationType { get; set; } + + /// + /// Gets or sets a value indicating whether the precipitationType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool precipitationTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("precipitationIntensity")] + public PrecipitationIntensityValue precipitationIntensity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("depositionDepth")] + public FloatingPointMetreDistanceValue depositionDepth { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("precipitationDetailExtension")] + public _ExtensionType precipitationDetailExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PrecipitationTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum PrecipitationTypeEnum + { + + drizzle, + + freezingRain, + + hail, + + rain, + + sleet, + + snow, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PrecipitationIntensityValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PrecipitationIntensityValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("millimetresPerHourIntensity")] + public float millimetresPerHourIntensity { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("precipitationIntensityValueExtension")] + public _ExtensionType precipitationIntensityValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Visibility", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Visibility + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("minimumVisibilityDistance")] + public IntegerMetreDistanceValue minimumVisibilityDistance { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("visibilityExtension")] + public _ExtensionType visibilityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Temperature", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Temperature + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("airTemperature")] + public TemperatureValue airTemperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("dewPointTemperature")] + public TemperatureValue dewPointTemperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maximumTemperature")] + public TemperatureValue maximumTemperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minimumTemperature")] + public TemperatureValue minimumTemperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("temperatureExtension")] + public _ExtensionType temperatureExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TemperatureValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TemperatureValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("temperature")] + public float temperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("temperatureValueExtension")] + public _ExtensionType temperatureValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Wind", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Wind + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("windMeasurementHeight")] + public string windMeasurementHeight { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("windSpeed")] + public SpeedValue windSpeed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("maximumWindSpeed")] + public SpeedValue maximumWindSpeed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("windDirectionBearing")] + public DirectionBearingValue windDirectionBearing { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("windDirectionCompass")] + public DirectionCompassValue windDirectionCompass { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("windExtension")] + public _ExtensionType windExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PrecipitationInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PrecipitationInformation : WeatherData + { + + [System.Xml.Serialization.XmlElementAttribute("noPrecipitation")] + public bool noPrecipitation { get; set; } + + /// + /// Gets or sets a value indicating whether the noPrecipitation property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool noPrecipitationSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("precipitationDetail")] + public PrecipitationDetail precipitationDetail { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("precipitationInformationExtension")] + public _ExtensionType precipitationInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PredefinedItinerary", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PredefinedItinerary : PredefinedLocationContainer + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedItineraryName")] + public MultilingualString predefinedItineraryName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_PredefinedItineraryIndexPredefinedLocation> _predefinedLocation; + + [System.Xml.Serialization.XmlElementAttribute("predefinedLocation")] + public System.Collections.ObjectModel.Collection<_PredefinedItineraryIndexPredefinedLocation> predefinedLocation + { + get + { + return _predefinedLocation; + } + private set + { + _predefinedLocation = value; + } + } + + /// + /// Gets a value indicating whether the predefinedLocation collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool predefinedLocationSpecified + { + get + { + return (this.predefinedLocation.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public PredefinedItinerary() + { + this._predefinedLocation = new System.Collections.ObjectModel.Collection<_PredefinedItineraryIndexPredefinedLocation>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedItineraryExtension")] + public _ExtensionType predefinedItineraryExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PredefinedLocationsPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PredefinedLocationsPublication : PayloadPublication + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _predefinedLocationContainer; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocationContainer")] + public System.Collections.ObjectModel.Collection predefinedLocationContainer + { + get + { + return _predefinedLocationContainer; + } + private set + { + _predefinedLocationContainer = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public PredefinedLocationsPublication() + { + this._predefinedLocationContainer = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocationsPublicationExtension")] + public _ExtensionType predefinedLocationsPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PredefinedNonOrderedLocationGroup", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PredefinedNonOrderedLocationGroup : PredefinedLocationContainer + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedNonOrderedLocationGroupName")] + public MultilingualString predefinedNonOrderedLocationGroupName { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _predefinedLocation; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedLocation")] + public System.Collections.ObjectModel.Collection predefinedLocation + { + get + { + return _predefinedLocation; + } + private set + { + _predefinedLocation = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public PredefinedNonOrderedLocationGroup() + { + this._predefinedLocation = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("predefinedNonOrderedLocationGroupExtension")] + public _ExtensionType predefinedNonOrderedLocationGroupExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("PublicEvent", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PublicEvent : Activity + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("publicEventType")] + public PublicEventTypeEnum publicEventType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("publicEventExtension")] + public _ExtensionType publicEventExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ReroutingManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ReroutingManagement : NetworkManagement + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _reroutingManagementType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("reroutingManagementType")] + public System.Collections.ObjectModel.Collection reroutingManagementType + { + get + { + return _reroutingManagementType; + } + private set + { + _reroutingManagementType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public ReroutingManagement() + { + this._reroutingManagementType = new System.Collections.ObjectModel.Collection(); + this._alternativeRoute = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("reroutingItineraryDescription")] + public MultilingualString reroutingItineraryDescription { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("signedRerouting")] + public bool signedRerouting { get; set; } + + /// + /// Gets or sets a value indicating whether the signedRerouting property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool signedReroutingSpecified { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("entry")] + public string entry { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("exit")] + public string exit { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadOrJunctionNumber")] + public string roadOrJunctionNumber { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _alternativeRoute; + + [System.Xml.Serialization.XmlElementAttribute("alternativeRoute")] + public System.Collections.ObjectModel.Collection alternativeRoute + { + get + { + return _alternativeRoute; + } + private set + { + _alternativeRoute = value; + } + } + + /// + /// Gets a value indicating whether the alternativeRoute collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool alternativeRouteSpecified + { + get + { + return (this.alternativeRoute.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("reroutingManagementExtension")] + public _ExtensionType reroutingManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ReroutingManagementTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ReroutingManagementTypeEnum + { + + doNotFollowDiversionSigns, + + doNotUseEntry, + + doNotUseExit, + + doNotUseIntersectionOrJunction, + + followDiversionSigns, + + followLocalDiversion, + + followSpecialMarkers, + + useEntry, + + useExit, + + useIntersectionOrJunction, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadNode", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadNode : Road + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("junctionName")] + public MultilingualString junctionName { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadNodeExtension")] + public _ExtensionType roadNodeExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadOperatorServiceDisruption", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadOperatorServiceDisruption : NonRoadEventInformation + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _roadOperatorServiceDisruptionType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("roadOperatorServiceDisruptionType")] + public System.Collections.ObjectModel.Collection roadOperatorServiceDisruptionType + { + get + { + return _roadOperatorServiceDisruptionType; + } + private set + { + _roadOperatorServiceDisruptionType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public RoadOperatorServiceDisruption() + { + this._roadOperatorServiceDisruptionType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadOperatorServiceDisruptionExtension")] + public _ExtensionType roadOperatorServiceDisruptionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadOperatorServiceDisruptionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadOperatorServiceDisruptionTypeEnum + { + + emergencyTelephoneNumberOutOfService, + + informationServiceTelephoneNumberOutOfService, + + noTrafficOfficerPatrolService, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadOrCarriagewayOrLaneManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadOrCarriagewayOrLaneManagement : NetworkManagement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("roadOrCarriagewayOrLaneManagementType")] + public RoadOrCarriagewayOrLaneManagementTypeEnum roadOrCarriagewayOrLaneManagementType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("minimumCarOccupancy")] + public string minimumCarOccupancy { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadOrCarriagewayOrLaneManagementExtension")] + public _ExtensionType roadOrCarriagewayOrLaneManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadOrCarriagewayOrLaneManagementTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadOrCarriagewayOrLaneManagementTypeEnum + { + + carPoolLaneInOperation, + + carriagewayClosures, + + clearALaneForEmergencyVehicles, + + clearALaneForSnowploughsAndGrittingVehicles, + + closedPermanentlyForTheWinter, + + contraflow, + + doNotUseSpecifiedLanesOrCarriageways, + + hardShoulderRunningInOperation, + + heightRestrictionInOperation, + + intermittentShortTermClosures, + + keepToTheLeft, + + keepToTheRight, + + laneClosures, + + lanesDeviated, + + narrowLanes, + + newRoadworksLayout, + + overnightClosures, + + roadCleared, + + roadClosed, + + rollingRoadBlock, + + rushHourLaneInOperation, + + singleAlternateLineTraffic, + + tidalFlowLaneInOperation, + + turnAroundInOperation, + + useOfSpecifiedLanesOrCarriagewaysAllowed, + + useSpecifiedLanesOrCarriageways, + + vehicleStorageInOperation, + + weightRestrictionInOperation, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadsideAssistance", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadsideAssistance : OperatorAction + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("roadsideAssistanceType")] + public RoadsideAssistanceTypeEnum roadsideAssistanceType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadsideAssistanceExtension")] + public _ExtensionType roadsideAssistanceExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadsideAssistanceTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadsideAssistanceTypeEnum + { + + airAmbulance, + + busPassengerAssistance, + + emergencyServices, + + firstAid, + + foodDelivery, + + helicopterRescue, + + vehicleRepair, + + vehicleRecovery, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadsideServiceDisruption", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadsideServiceDisruption : NonRoadEventInformation + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _roadsideServiceDisruptionType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("roadsideServiceDisruptionType")] + public System.Collections.ObjectModel.Collection roadsideServiceDisruptionType + { + get + { + return _roadsideServiceDisruptionType; + } + private set + { + _roadsideServiceDisruptionType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public RoadsideServiceDisruption() + { + this._roadsideServiceDisruptionType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadsideServiceDisruptionExtension")] + public _ExtensionType roadsideServiceDisruptionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadsideServiceDisruptionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum RoadsideServiceDisruptionTypeEnum + { + + barClosed, + + dieselShortage, + + fuelShortage, + + lpgShortage, + + methaneShortage, + + noDieselForHeavyVehicles, + + noDieselForLightVehicles, + + noPublicTelephones, + + noToiletFacilities, + + noVehicleRepairFacilities, + + petrolShortage, + + restAreaBusy, + + restAreaClosed, + + restAreaOvercrowdedDriveToAnotherRestArea, + + serviceAreaBusy, + + serviceAreaClosed, + + serviceAreaFuelStationClosed, + + serviceAreaOvercrowdedDriveToAnotherServiceArea, + + serviceAreaRestaurantClosed, + + someCommercialServicesClosed, + + waterShortage, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadSurfaceConditionInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadSurfaceConditionInformation : WeatherData + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _weatherRelatedRoadConditionType; + + [System.Xml.Serialization.XmlElementAttribute("weatherRelatedRoadConditionType")] + public System.Collections.ObjectModel.Collection weatherRelatedRoadConditionType + { + get + { + return _weatherRelatedRoadConditionType; + } + private set + { + _weatherRelatedRoadConditionType = value; + } + } + + /// + /// Gets a value indicating whether the weatherRelatedRoadConditionType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool weatherRelatedRoadConditionTypeSpecified + { + get + { + return (this.weatherRelatedRoadConditionType.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public RoadSurfaceConditionInformation() + { + this._weatherRelatedRoadConditionType = new System.Collections.ObjectModel.Collection(); + } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("roadSurfaceConditionMeasurements")] + public RoadSurfaceConditionMeasurements roadSurfaceConditionMeasurements { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadSurfaceConditionInformationExtension")] + public _ExtensionType roadSurfaceConditionInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WeatherRelatedRoadConditionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum WeatherRelatedRoadConditionTypeEnum + { + + blackIce, + + deepSnow, + + dry, + + freezingOfWetRoads, + + freezingPavements, + + freezingRain, + + freshSnow, + + ice, + + iceBuildUp, + + iceWithWheelBarTracks, + + icyPatches, + + looseSnow, + + normalWinterConditionsForPedestrians, + + packedSnow, + + roadSurfaceMelting, + + slipperyRoad, + + slushOnRoad, + + slushStrings, + + snowDrifts, + + snowOnPavement, + + snowOnTheRoad, + + surfaceWater, + + wet, + + wetAndIcyRoad, + + wetIcyPavement, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("RoadSurfaceConditionMeasurements", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class RoadSurfaceConditionMeasurements + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadSurfaceTemperature")] + public TemperatureValue roadSurfaceTemperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("protectionTemperature")] + public TemperatureValue protectionTemperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("deIcingApplicationRate")] + public ApplicationRateValue deIcingApplicationRate { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("deIcingConcentration")] + public KilogramsConcentrationValue deIcingConcentration { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("depthOfSnow")] + public FloatingPointMetreDistanceValue depthOfSnow { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("waterFilmThickness")] + public FloatingPointMetreDistanceValue waterFilmThickness { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadSurfaceConditionMeasurementsExtension")] + public _ExtensionType roadSurfaceConditionMeasurementsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ServiceFacility", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ServiceFacility : ParkingEquipmentOrServiceFacility + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("serviceFacilityType")] + public ServiceFacilityTypeEnum serviceFacilityType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfSubitems")] + public string numberOfSubitems { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("distanceFromParkingSite")] + public string distanceFromParkingSite { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("serviceFacilityExtension")] + public _ExtensionType serviceFacilityExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("ServiceFacilityTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum ServiceFacilityTypeEnum + { + + hotel, + + motel, + + overnightAccommodation, + + shop, + + kiosk, + + foodShopping, + + cafe, + + restaurant, + + restaurantSelfService, + + motorwayRestaurant, + + motorwayRestaurantSmall, + + sparePartsShopping, + + petrolStation, + + vehicleMaintenance, + + tyreRepair, + + truckRepair, + + truckWash, + + carWash, + + pharmacy, + + medicalFacility, + + police, + + touristInformation, + + bikeSharing, + + docstop, + + laundry, + + leisureActivities, + + unknown, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SignSetting", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SignSetting : OperatorAction + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsSetting")] + public VmsSetting vmsSetting { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("signSettingExtension")] + public _ExtensionType signSettingExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsSetting", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VmsUnit))] + public abstract partial class VmsSetting + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsSettingExtension")] + public _ExtensionType vmsSettingExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("Situation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class Situation + { + + [System.Xml.Serialization.XmlElementAttribute("overallSeverity")] + public SeverityEnum overallSeverity { get; set; } + + /// + /// Gets or sets a value indicating whether the overallSeverity property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool overallSeveritySpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_SituationVersionedReference> _relatedSituation; + + [System.Xml.Serialization.XmlElementAttribute("relatedSituation")] + public System.Collections.ObjectModel.Collection<_SituationVersionedReference> relatedSituation + { + get + { + return _relatedSituation; + } + private set + { + _relatedSituation = value; + } + } + + /// + /// Gets a value indicating whether the relatedSituation collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool relatedSituationSpecified + { + get + { + return (this.relatedSituation.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Situation() + { + this._relatedSituation = new System.Collections.ObjectModel.Collection<_SituationVersionedReference>(); + this._situationRecord = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlElementAttribute("situationVersionTime", DataType="dateTime")] + public System.DateTime situationVersionTime { get; set; } + + /// + /// Gets or sets a value indicating whether the situationVersionTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool situationVersionTimeSpecified { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _situationRecord; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("situationRecord")] + public System.Collections.ObjectModel.Collection situationRecord + { + get + { + return _situationRecord; + } + private set + { + _situationRecord = value; + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationExtension")] + public _ExtensionType situationExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SituationPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SituationPublication : PayloadPublication + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _situation; + + [System.Xml.Serialization.XmlElementAttribute("situation")] + public System.Collections.ObjectModel.Collection situation + { + get + { + return _situation; + } + private set + { + _situation = value; + } + } + + /// + /// Gets a value indicating whether the situation collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool situationSpecified + { + get + { + return (this.situation.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public SituationPublication() + { + this._situation = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("situationPublicationExtension")] + public _ExtensionType situationPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpecialLocationParkingSite", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SpecialLocationParkingSite : ParkingSite + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("parkingSpecialLocation")] + public ParkingSpecialLocationEnum parkingSpecialLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingOtherSpecialLocation")] + public MultilingualString parkingOtherSpecialLocation { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("specialLocationParkingSiteExtension")] + public _ExtensionType specialLocationParkingSiteExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpeedManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SpeedManagement : NetworkManagement + { + + [System.Xml.Serialization.XmlElementAttribute("speedManagementType")] + public SpeedManagementTypeEnum speedManagementType { get; set; } + + /// + /// Gets or sets a value indicating whether the speedManagementType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool speedManagementTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("temporarySpeedLimit")] + public float temporarySpeedLimit { get; set; } + + /// + /// Gets or sets a value indicating whether the temporarySpeedLimit property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool temporarySpeedLimitSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("speedManagementExtension")] + public _ExtensionType speedManagementExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpeedManagementTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum SpeedManagementTypeEnum + { + + activeSpeedControlInOperation, + + doNotSlowdownUnnecessarily, + + observeSpeedLimit, + + policeSpeedChecksInOperation, + + reduceYourSpeed, + + speedRestrictionInOperation, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("SpeedPercentile", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class SpeedPercentile + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehiclePercentage")] + public PercentageValue vehiclePercentage { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("speedPercentile")] + public SpeedValue speedPercentile { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("speedPercentileExtension")] + public _ExtensionType speedPercentileExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TemperatureInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TemperatureInformation : WeatherData + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("temperature")] + public Temperature temperature { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("temperatureInformationExtension")] + public _ExtensionType temperatureInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegAreaDescriptor", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegAreaDescriptor : TpegDescriptor + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegAreaDescriptorType")] + public TpegLoc03AreaDescriptorSubtypeEnum tpegAreaDescriptorType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegAreaDescriptorExtension")] + public _ExtensionType tpegAreaDescriptorExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegDescriptor", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegAreaDescriptor))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegIlcPointDescriptor))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegJunctionPointDescriptor))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegOtherPointDescriptor))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegPointDescriptor))] + public abstract partial class TpegDescriptor + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("descriptor")] + public MultilingualString descriptor { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegDescriptorExtension")] + public _ExtensionType tpegDescriptorExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc03AreaDescriptorSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc03AreaDescriptorSubtypeEnum + { + + administrativeAreaName, + + administrativeReferenceName, + + areaName, + + countyName, + + lakeName, + + nationName, + + policeForceControlAreaName, + + regionName, + + seaName, + + townName, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegFramedPoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegFramedPoint : TpegPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegFramedPointLocationType")] + public TpegLoc01FramedPointLocationSubtypeEnum tpegFramedPointLocationType { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("framedPoint")] + public TpegNonJunctionPoint framedPoint { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("to")] + public TpegPoint to { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("from")] + public TpegPoint from { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegFramedPointExtension")] + public _ExtensionType tpegFramedPointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc01FramedPointLocationSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc01FramedPointLocationSubtypeEnum + { + + framedPoint, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegNonJunctionPoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegNonJunctionPoint : TpegPoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pointCoordinates")] + public PointCoordinates pointCoordinates { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _name; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("name")] + public System.Collections.ObjectModel.Collection name + { + get + { + return _name; + } + private set + { + _name = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public TpegNonJunctionPoint() + { + this._name = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegNonJunctionPointExtension")] + public _ExtensionType tpegNonJunctionPointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegOtherPointDescriptor", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegOtherPointDescriptor : TpegPointDescriptor + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegOtherPointDescriptorType")] + public TpegLoc03OtherPointDescriptorSubtypeEnum tpegOtherPointDescriptorType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegOtherPointDescriptorExtension")] + public _ExtensionType tpegOtherPointDescriptorExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegPointDescriptor", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegIlcPointDescriptor))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegJunctionPointDescriptor))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(TpegOtherPointDescriptor))] + public abstract partial class TpegPointDescriptor : TpegDescriptor + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegPointDescriptorExtension")] + public _ExtensionType tpegPointDescriptorExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc03OtherPointDescriptorSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc03OtherPointDescriptorSubtypeEnum + { + + administrativeAreaName, + + administrativeReferenceName, + + airportName, + + areaName, + + buildingName, + + busStopIdentifier, + + busStopName, + + canalName, + + countyName, + + ferryPortName, + + intersectionName, + + lakeName, + + linkName, + + localLinkName, + + metroStationName, + + nationName, + + nonLinkedPointName, + + parkingFacilityName, + + pointName, + + pointOfInterestName, + + railwayStation, + + regionName, + + riverName, + + seaName, + + serviceAreaName, + + tidalRiverName, + + townName, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegGeometricArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegGeometricArea : TpegAreaLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("radius")] + public string radius { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("centrePoint")] + public PointCoordinates centrePoint { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("name")] + public TpegAreaDescriptor name { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegGeometricAreaExtension")] + public _ExtensionType tpegGeometricAreaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegIlcPointDescriptor", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegIlcPointDescriptor : TpegPointDescriptor + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegIlcPointDescriptorType")] + public TpegLoc03IlcPointDescriptorSubtypeEnum tpegIlcPointDescriptorType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegIlcPointDescriptorExtension")] + public _ExtensionType tpegIlcPointDescriptorExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc03IlcPointDescriptorSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc03IlcPointDescriptorSubtypeEnum + { + + tpegIlcName1, + + tpegIlcName2, + + tpegIlcName3, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegJunction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegJunction : TpegPoint + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("pointCoordinates")] + public PointCoordinates pointCoordinates { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("name")] + public TpegJunctionPointDescriptor name { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _ilc; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("ilc")] + public System.Collections.ObjectModel.Collection ilc + { + get + { + return _ilc; + } + private set + { + _ilc = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public TpegJunction() + { + this._ilc = new System.Collections.ObjectModel.Collection(); + this._otherName = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _otherName; + + [System.Xml.Serialization.XmlElementAttribute("otherName")] + public System.Collections.ObjectModel.Collection otherName + { + get + { + return _otherName; + } + private set + { + _otherName = value; + } + } + + /// + /// Gets a value indicating whether the otherName collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool otherNameSpecified + { + get + { + return (this.otherName.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegJunctionExtension")] + public _ExtensionType tpegJunctionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegJunctionPointDescriptor", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegJunctionPointDescriptor : TpegPointDescriptor + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegJunctionPointDescriptorType")] + public TpegLoc03JunctionPointDescriptorSubtypeEnum tpegJunctionPointDescriptorType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegJunctionPointDescriptorExtension")] + public _ExtensionType tpegJunctionPointDescriptorExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc03JunctionPointDescriptorSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc03JunctionPointDescriptorSubtypeEnum + { + + junctionName, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegLoc01SimplePointLocationSubtypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TpegLoc01SimplePointLocationSubtypeEnum + { + + intersection, + + nonLinkedPoint, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegNamedOnlyArea", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegNamedOnlyArea : TpegAreaLocation + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _name; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("name")] + public System.Collections.ObjectModel.Collection name + { + get + { + return _name; + } + private set + { + _name = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public TpegNamedOnlyArea() + { + this._name = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegNamedOnlyAreaExtension")] + public _ExtensionType tpegNamedOnlyAreaExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TpegSimplePoint", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TpegSimplePoint : TpegPointLocation + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("tpegSimplePointLocationType")] + public TpegLoc01SimplePointLocationSubtypeEnum tpegSimplePointLocationType { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("point")] + public TpegPoint point { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("tpegSimplePointExtension")] + public _ExtensionType tpegSimplePointExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficConcentration", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficConcentration : TrafficData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("concentration")] + public ConcentrationOfVehiclesValue concentration { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("occupancy")] + public PercentageValue occupancy { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficConcentrationExtension")] + public _ExtensionType trafficConcentrationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficFlow", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficFlow : TrafficData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("axleFlow")] + public AxleFlowValue axleFlow { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("pcuFlow")] + public PcuFlowValue pcuFlow { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("percentageLongVehicles")] + public PercentageValue percentageLongVehicles { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleFlow")] + public VehicleFlowValue vehicleFlow { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficFlowExtension")] + public _ExtensionType trafficFlowExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficHeadway", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficHeadway : TrafficData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("averageDistanceHeadway")] + public FloatingPointMetreDistanceValue averageDistanceHeadway { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("averageTimeHeadway")] + public DurationValue averageTimeHeadway { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficHeadwayExtension")] + public _ExtensionType trafficHeadwayExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficSpeed", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficSpeed : TrafficData + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("averageVehicleSpeed")] + public SpeedValue averageVehicleSpeed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("speedPercentile")] + public SpeedPercentile speedPercentile { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficSpeedExtension")] + public _ExtensionType trafficSpeedExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficStatus", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficStatus : BasicData + { + + [System.Xml.Serialization.XmlElementAttribute("trafficTrendType")] + public TrafficTrendTypeEnum trafficTrendType { get; set; } + + /// + /// Gets or sets a value indicating whether the trafficTrendType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool trafficTrendTypeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficStatus")] + public TrafficStatusValue trafficStatus { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficStatusExtension")] + public _ExtensionType trafficStatusExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficStatusValue", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficStatusValue : DataValue + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("trafficStatusValue")] + public TrafficStatusEnum trafficStatusValue { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficStatusValueExtension")] + public _ExtensionType trafficStatusValueExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficView", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficView + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("trafficViewTime", DataType="dateTime")] + public System.DateTime trafficViewTime { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("predefinedNonOrderedLocationGroupReference")] + public _PredefinedNonOrderedLocationGroupVersionedReference predefinedNonOrderedLocationGroupReference { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _linearTrafficView; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("linearTrafficView")] + public System.Collections.ObjectModel.Collection linearTrafficView + { + get + { + return _linearTrafficView; + } + private set + { + _linearTrafficView = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public TrafficView() + { + this._linearTrafficView = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficViewExtension")] + public _ExtensionType trafficViewExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TrafficViewPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TrafficViewPublication : PayloadPublication + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _trafficView; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("trafficView")] + public System.Collections.ObjectModel.Collection trafficView + { + get + { + return _trafficView; + } + private set + { + _trafficView = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public TrafficViewPublication() + { + this._trafficView = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("trafficViewPublicationExtension")] + public _ExtensionType trafficViewPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TransitInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TransitInformation : NonRoadEventInformation + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("journeyDestination")] + public MultilingualString journeyDestination { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("journeyOrigin")] + public MultilingualString journeyOrigin { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("journeyReference")] + public string journeyReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("transitServiceInformation")] + public TransitServiceInformationEnum transitServiceInformation { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("transitServiceType")] + public TransitServiceTypeEnum transitServiceType { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("scheduledDepartureTime", DataType="dateTime")] + public System.DateTime scheduledDepartureTime { get; set; } + + /// + /// Gets or sets a value indicating whether the scheduledDepartureTime property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool scheduledDepartureTimeSpecified { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("transitInformationExtension")] + public _ExtensionType transitInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TransitServiceInformationEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TransitServiceInformationEnum + { + + cancellations, + + delayDueToBadWeather, + + delayDueToRepairs, + + delayedUntilFurtherNotice, + + delaysDueToFlotsam, + + departureOnSchedule, + + ferryReplacedByIceRoad, + + freeShuttleServiceOperating, + + informationServiceNotAvailable, + + irregularServiceDelays, + + loadCapacityChanged, + + restrictionsForLongerVehicles, + + serviceDelays, + + serviceDelaysOfUncertainDuration, + + serviceFullyBooked, + + serviceNotOperating, + + serviceNotOperatingSubstituteServiceAvailable, + + serviceSuspended, + + serviceWithdrawn, + + shuttleServiceOperating, + + temporaryChangesToTimetables, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TransitServiceTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TransitServiceTypeEnum + { + + air, + + bus, + + ferry, + + hydrofoil, + + rail, + + tram, + + undergroundMetro, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TravelTimeData", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class TravelTimeData : BasicData + { + + [System.Xml.Serialization.XmlElementAttribute("travelTimeTrendType")] + public TravelTimeTrendTypeEnum travelTimeTrendType { get; set; } + + /// + /// Gets or sets a value indicating whether the travelTimeTrendType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool travelTimeTrendTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlElementAttribute("travelTimeType")] + public TravelTimeTypeEnum travelTimeType { get; set; } + + /// + /// Gets or sets a value indicating whether the travelTimeType property is specified. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool travelTimeTypeSpecified { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vehicleType; + + [System.Xml.Serialization.XmlElementAttribute("vehicleType")] + public System.Collections.ObjectModel.Collection vehicleType + { + get + { + return _vehicleType; + } + private set + { + _vehicleType = value; + } + } + + /// + /// Gets a value indicating whether the vehicleType collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vehicleTypeSpecified + { + get + { + return (this.vehicleType.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public TravelTimeData() + { + this._vehicleType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("travelTime")] + public DurationValue travelTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("freeFlowTravelTime")] + public DurationValue freeFlowTravelTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("normallyExpectedTravelTime")] + public DurationValue normallyExpectedTravelTime { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("freeFlowSpeed")] + public SpeedValue freeFlowSpeed { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("travelTimeDataExtension")] + public _ExtensionType travelTimeDataExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TravelTimeTrendTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TravelTimeTrendTypeEnum + { + + decreasing, + + increasing, + + stable, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("TravelTimeTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum TravelTimeTypeEnum + { + + best, + + estimated, + + instantaneous, + + reconstituted, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UrbanParkingSite", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UrbanParkingSite : ParkingSite + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("urbanParkingSiteType")] + public UrbanParkingSiteTypeEnum urbanParkingSiteType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("parkingZone")] + public MultilingualString parkingZone { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("urbanParkingSiteExtension")] + public _ExtensionType urbanParkingSiteExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("UrbanParkingSiteTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum UrbanParkingSiteTypeEnum + { + + onStreetParking, + + offStreetParking, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleObstruction", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VehicleObstruction : Obstruction + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vehicleObstructionType")] + public VehicleObstructionTypeEnum vehicleObstructionType { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _obstructingVehicle; + + [System.Xml.Serialization.XmlElementAttribute("obstructingVehicle")] + public System.Collections.ObjectModel.Collection obstructingVehicle + { + get + { + return _obstructingVehicle; + } + private set + { + _obstructingVehicle = value; + } + } + + /// + /// Gets a value indicating whether the obstructingVehicle collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool obstructingVehicleSpecified + { + get + { + return (this.obstructingVehicle.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VehicleObstruction() + { + this._obstructingVehicle = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vehicleObstructionExtension")] + public _ExtensionType vehicleObstructionExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VehicleObstructionTypeEnum", Namespace="http://datex2.eu/schema/2/2_0")] + public enum VehicleObstructionTypeEnum + { + + abandonedVehicle, + + abnormalLoad, + + brokenDownBus, + + brokenDownHeavyLorry, + + brokenDownVehicle, + + convoy, + + damagedVehicle, + + dangerousSlowMovingVehicle, + + emergencyVehicle, + + highSpeedEmergencyVehicle, + + longLoad, + + militaryConvoy, + + overheightVehicle, + + prohibitedVehicleOnTheRoadway, + + saltingOrGrittingVehicleInUse, + + slowMovingMaintenanceVehicle, + + slowVehicle, + + snowplough, + + trackLayingVehicle, + + unlitVehicleOnTheRoad, + + vehicleOnFire, + + vehicleCarryingHazardousMaterials, + + vehicleInDifficulty, + + vehicleOnWrongCarriageway, + + vehicleStuck, + + vehicleStuckUnderBridge, + + vehicleWithOverheightLoad, + + vehicleWithOverwideLoad, + + other, + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VisibilityInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VisibilityInformation : WeatherData + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("visibility")] + public Visibility visibility { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("visibilityInformationExtension")] + public _ExtensionType visibilityInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsPublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsPublication : PayloadPublication + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsUnit; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnit")] + public System.Collections.ObjectModel.Collection vmsUnit + { + get + { + return _vmsUnit; + } + private set + { + _vmsUnit = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsPublication() + { + this._vmsUnit = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsPublicationExtension")] + public _ExtensionType vmsPublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsUnit", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsUnit : VmsSetting + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitTableReference")] + public _VmsUnitTableVersionedReference vmsUnitTableReference { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitReference")] + public _VmsUnitRecordVersionedReference vmsUnitReference { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsUnitVmsIndexVms> _vms; + + [System.Xml.Serialization.XmlElementAttribute("vms")] + public System.Collections.ObjectModel.Collection<_VmsUnitVmsIndexVms> vms + { + get + { + return _vms; + } + private set + { + _vms = value; + } + } + + /// + /// Gets a value indicating whether the vms collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsSpecified + { + get + { + return (this.vms.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsUnit() + { + this._vms = new System.Collections.ObjectModel.Collection<_VmsUnitVmsIndexVms>(); + this._vmsUnitFault = new System.Collections.ObjectModel.Collection(); + } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsUnitFault; + + [System.Xml.Serialization.XmlElementAttribute("vmsUnitFault")] + public System.Collections.ObjectModel.Collection vmsUnitFault + { + get + { + return _vmsUnitFault; + } + private set + { + _vmsUnitFault = value; + } + } + + /// + /// Gets a value indicating whether the vmsUnitFault collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsUnitFaultSpecified + { + get + { + return (this.vmsUnitFault.Count != 0); + } + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitExtension")] + public _ExtensionType vmsUnitExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsUnitFault", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsUnitFault : Fault + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitFault")] + public VmsFaultEnum vmsUnitFault { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitFaultExtension")] + public _ExtensionType vmsUnitFaultExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsTablePublication", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsTablePublication : PayloadPublication + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("headerInformation")] + public HeaderInformation headerInformation { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsUnitTable; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitTable")] + public System.Collections.ObjectModel.Collection vmsUnitTable + { + get + { + return _vmsUnitTable; + } + private set + { + _vmsUnitTable = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsTablePublication() + { + this._vmsUnitTable = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsTablePublicationExtension")] + public _ExtensionType vmsTablePublicationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsUnitTable", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsUnitTable + { + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitTableIdentification")] + public string vmsUnitTableIdentification { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _vmsUnitRecord; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitRecord")] + public System.Collections.ObjectModel.Collection vmsUnitRecord + { + get + { + return _vmsUnitRecord; + } + private set + { + _vmsUnitRecord = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsUnitTable() + { + this._vmsUnitRecord = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitTableExtension")] + public _ExtensionType vmsUnitTableExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("VmsUnitRecord", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class VmsUnitRecord + { + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("numberOfVms")] + public string numberOfVms { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitIdentifier")] + public string vmsUnitIdentifier { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitIPAddress")] + public string vmsUnitIPAddress { get; set; } + + /// + /// Maximum length: 1024. + /// + [System.ComponentModel.DataAnnotations.MaxLengthAttribute(1024)] + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitElectronicAddress")] + public string vmsUnitElectronicAddress { get; set; } + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection<_VmsUnitRecordVmsIndexVmsRecord> _vmsRecord; + + [System.Xml.Serialization.XmlElementAttribute("vmsRecord")] + public System.Collections.ObjectModel.Collection<_VmsUnitRecordVmsIndexVmsRecord> vmsRecord + { + get + { + return _vmsRecord; + } + private set + { + _vmsRecord = value; + } + } + + /// + /// Gets a value indicating whether the vmsRecord collection is empty. + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool vmsRecordSpecified + { + get + { + return (this.vmsRecord.Count != 0); + } + } + + /// + /// Initializes a new instance of the class. + /// + public VmsUnitRecord() + { + this._vmsRecord = new System.Collections.ObjectModel.Collection<_VmsUnitRecordVmsIndexVmsRecord>(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("vmsUnitRecordExtension")] + public _ExtensionType vmsUnitRecordExtension { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("id")] + public string id { get; set; } + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlAttributeAttribute("version")] + public string version { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WeatherRelatedRoadConditions", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WeatherRelatedRoadConditions : RoadConditions + { + + [System.Xml.Serialization.XmlIgnoreAttribute()] + private System.Collections.ObjectModel.Collection _weatherRelatedRoadConditionType; + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("weatherRelatedRoadConditionType")] + public System.Collections.ObjectModel.Collection weatherRelatedRoadConditionType + { + get + { + return _weatherRelatedRoadConditionType; + } + private set + { + _weatherRelatedRoadConditionType = value; + } + } + + /// + /// Initializes a new instance of the class. + /// + public WeatherRelatedRoadConditions() + { + this._weatherRelatedRoadConditionType = new System.Collections.ObjectModel.Collection(); + } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("roadSurfaceConditionMeasurements")] + public RoadSurfaceConditionMeasurements roadSurfaceConditionMeasurements { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("weatherRelatedRoadConditionsExtension")] + public _ExtensionType weatherRelatedRoadConditionsExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WindInformation", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WindInformation : WeatherData + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("wind")] + public Wind wind { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("windInformationExtension")] + public _ExtensionType windInformationExtension { get; set; } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.1167.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute("WinterDrivingManagement", Namespace="http://datex2.eu/schema/2/2_0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class WinterDrivingManagement : NetworkManagement + { + + [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)] + [System.Xml.Serialization.XmlElementAttribute("winterEquipmentManagementType")] + public WinterEquipmentManagementTypeEnum winterEquipmentManagementType { get; set; } + + [System.Diagnostics.CodeAnalysis.AllowNullAttribute()] + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute()] + [System.Xml.Serialization.XmlElementAttribute("winterDrivingManagementExtension")] + public _ExtensionType winterDrivingManagementExtension { get; set; } + } +} diff --git a/Softech/common/lib/DatexModelOrig/Proxy/GeneraClasse.bat b/Softech/common/lib/DatexModelOrig/Proxy/GeneraClasse.bat new file mode 100644 index 0000000..a7d1df0 --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/Proxy/GeneraClasse.bat @@ -0,0 +1 @@ +..\..\..\..\tool\XmlSchemaClassGenerator.2.1.1167\XmlSchemaClassGenerator.Console.exe --namespace=Datex2Reference --netCore --nullableReferenceAttributes --namingScheme=Direct DATEXIISchema_2_2_3.xsd diff --git a/Softech/common/lib/DatexModelOrig/Proxy/Push.wsdl b/Softech/common/lib/DatexModelOrig/Proxy/Push.wsdl new file mode 100644 index 0000000..133a12e --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/Proxy/Push.wsdl @@ -0,0 +1,46 @@ + + + + Version 2.3 - 31 October 2014 + This document describes the DATEX II Push Service with WSDL 1.1 + This wsdl document is the reference with which each DATEX II Push Web Service has to be built + Refer http://datex2.eu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Softech/common/lib/DatexModelOrig/TraduttoreSituation.cs b/Softech/common/lib/DatexModelOrig/TraduttoreSituation.cs new file mode 100644 index 0000000..b7bb4d3 --- /dev/null +++ b/Softech/common/lib/DatexModelOrig/TraduttoreSituation.cs @@ -0,0 +1,730 @@ +using Supporto; +using System.Reflection.Emit; +using System.Reflection; +using System.Text; +using System.Xml.Serialization; +using DbManager; +using DbManager.Utility; +using Microsoft.Extensions.Logging; +using System.Xml.Schema; +using System.Xml; +using Datex2Reference; +using NLog; +using NLog.Web; + +namespace DatexModelOrig +{ + public class TraduttoreSituation + { + #region DATA + static Logger logger = NLogBuilder.ConfigureNLog("NLog.config").GetLogger("TraduttoreSituation"); + postgresContext db; + public string PublicationCreator { get; set; } = ""; + #endregion + + public TraduttoreSituation(postgresContext db) + { + this.db = db; + } + + public string GetD2LogicalModelXml(List eventi, int intIdDestinatario) + { + try + { + logger.Trace("in"); + + D2LogicalModel? objModel = GetD2LogicalModel(eventi, intIdDestinatario); + + // serializzo tutta la pubblicazione + if (objModel != null) + { + XmlSerializer SerializerObj = new XmlSerializer(typeof(D2LogicalModel)); + MemoryStream objStream = new MemoryStream(); + SerializerObj.Serialize(objStream, objModel); + return Encoding.UTF8.GetString(objStream.ToArray()); + } + + return ""; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return ""; + } + finally + { + logger.Trace("out"); + } + } + + public D2LogicalModel? GetD2LogicalModel(List eventi, int intIdDestinatario) + { + try + { + logger.Trace("in"); + + // mi accerto che gli eventi siano ordinati per situazione ed evento, in modo che raggruppi gli eventi nella stessa situazione + eventi = eventi.OrderBy(x => x.Situazione).ThenBy(x => x.Id).ToList(); + + // se nell'XML ci sono tag non previsti nella classe generata dall'XSD del comparto italiano, si generano delle eccezioni, oppure non vengono valorizzati correttamente tutti i dati nella classe + D2LogicalModel objModel = new D2LogicalModel(); + { + // exchange + objModel.exchange = new Exchange(); + objModel.exchange.supplierIdentification = new InternationalIdentifier(); + objModel.exchange.supplierIdentification.country = CountryEnum.it; + objModel.exchange.supplierIdentification.nationalIdentifier = PublicationCreator; + + // situation pubblication + // lista situazioni + List lstSituation = new List(); + SituationPublication objSituationPubblication = new SituationPublication(); + { + // payload pubblication + objModel.payloadPublication = objSituationPubblication; + objModel.payloadPublication.lang = "it"; + objModel.payloadPublication.publicationTime = DateTime.Now; + objModel.payloadPublication.publicationCreator = new InternationalIdentifier(); + objModel.payloadPublication.publicationCreator.country = CountryEnum.it; + objModel.payloadPublication.publicationCreator.nationalIdentifier = PublicationCreator; + + // situation records + List lstSituationRecord = new List(); + Situation? objSituation = null; + foreach (Datex2Event evento in eventi) + { + logger.Debug("Evento " + evento.Id); + SituationRecord? record = null; + + bool sottotipoFound = false; + TAB_SOTTOTIPI? sottotipo = GetTraduciSottotipo("GENERIC", evento.Categoria); + if (sottotipo != null && sottotipo.Abilitato) + { + if (sottotipo.Classname == "SpeedManagement") record = GetSpeedManagement(sottotipo); + else if (sottotipo.Classname == "MaintenanceWorks") record = GetMaintenanceWorks(sottotipo); + else if (sottotipo.Classname == "AbnormalTraffic") record = GetAbnormalTraffic(sottotipo); + else if (sottotipo.Classname == "RoadOrCarriagewayOrLaneManagement") record = GetRoadOrCarriagewayOrLaneManagement(sottotipo); + else if (sottotipo.Classname == "GeneralObstruction") record = GetGeneralObstruction(sottotipo); + else if (sottotipo.Classname == "WinterDrivingManagement") record = GetWinterDrivingManagement(sottotipo); + else if (sottotipo.Classname == "PoorEnvironmentConditions") record = GetPoorEnvironmentConditions(sottotipo); + else if (sottotipo.Classname == "Accident") record = GetAccident(sottotipo); + else if (sottotipo.Classname == "PublicEvent") record = GetPublicEvent(sottotipo); + + if (record != null) + { + sottotipoFound = true; + SetSituationRecord(record, evento); + } + } + + if (!sottotipoFound) + { + // sottotipo non tradotto + if (sottotipo == null || (sottotipo != null && sottotipo.Abilitato)) + { + evento.elab.erroreFormattazione = "Sottotipo " + evento.Categoria + " non tradotto"; + logger.Warn(evento.elab.erroreFormattazione); + } + } + else + { + // situation + if (objSituation == null || objSituation.id != evento.Situazione) + { + if (objSituation != null) + { + foreach (SituationRecord rec in lstSituationRecord) + objSituation.situationRecord.Add(rec); + + lstSituationRecord.Clear(); + } + + objSituation = new Situation(); + //objSituation.situationRecord = null; + objSituation.id = evento.Situazione; + objSituation.version = "1"; //$DIA: evento.intVersioneSituazione.ToString(); + objSituation.headerInformation = new HeaderInformation(); + objSituation.headerInformation.confidentiality = ConfidentialityValueEnum.noRestriction; + objSituation.headerInformation.informationStatus = InformationStatusEnum.real; + objSituation.headerInformation.urgency = UrgencyEnum.normalUrgency; + + objSituation.overallSeveritySpecified = true; + if (sottotipo != null && sottotipo.Severity != null) + objSituation.overallSeverity = ParseEnum(sottotipo.Severity); + else + objSituation.overallSeverity = SeverityEnum.unknown; + + lstSituation.Add(objSituation); + } + + // aggiungo il situation record alla situation corrente + if (record != null) + lstSituationRecord.Add(record); + } + } + + if (objSituation == null) + objSituation = new Situation(); + + foreach (SituationRecord rec in lstSituationRecord) + { + objSituation.situationRecord.Add(rec); + } + } + + foreach (Situation sit in lstSituation) + { + objSituationPubblication.situation.Add(sit); + } + } + + return objModel; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private TAB_SOTTOTIPI? GetTraduciSottotipo(string tipo, string sottotipo) + { + try + { + List sottotipi = DbUtility.Sottotipi_LoadAll(db); + + TAB_SOTTOTIPI? trad = sottotipi.FirstOrDefault(x => x.TypeCode == "GENERIC" && x.SubtypeCode == sottotipo && x.Uscita); + return trad; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetSpeedManagement(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + SpeedManagement record = new SpeedManagement(); + record.complianceOption = ComplianceOptionEnum.mandatory; + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.speedManagementType = ParseEnum(sottotipo.TypeValue); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetMaintenanceWorks(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + MaintenanceWorks record = new MaintenanceWorks(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.roadMaintenanceType.Add(ParseEnum(sottotipo.TypeValue)); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetAbnormalTraffic(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + AbnormalTraffic record = new AbnormalTraffic(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.abnormalTrafficType = ParseEnum(sottotipo.TypeValue); + record.abnormalTrafficTypeSpecified = true; + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetRoadOrCarriagewayOrLaneManagement(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + RoadOrCarriagewayOrLaneManagement record = new RoadOrCarriagewayOrLaneManagement(); + record.complianceOption = ComplianceOptionEnum.mandatory; + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.roadOrCarriagewayOrLaneManagementType = ParseEnum(sottotipo.TypeValue); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetGeneralObstruction(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + GeneralObstruction record = new GeneralObstruction(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.obstructionType.Add(ParseEnum(sottotipo.TypeValue)); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetWinterDrivingManagement(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + WinterDrivingManagement record = new WinterDrivingManagement(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.winterEquipmentManagementType = ParseEnum(sottotipo.TypeValue); + + if (sottotipo.ExtraAttribute != null && sottotipo.ExtraValue != null) + { + if (sottotipo.ExtraAttribute == "complianceOption") + record.complianceOption = ParseEnum(sottotipo.ExtraValue); + } + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetPoorEnvironmentConditions(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + PoorEnvironmentConditions record = new PoorEnvironmentConditions(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.poorEnvironmentType.Add(ParseEnum(sottotipo.TypeValue)); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetAccident(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + Accident record = new Accident(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.accidentType.Add(ParseEnum(sottotipo.TypeValue)); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + private SituationRecord? GetPublicEvent(TAB_SOTTOTIPI sottotipo) + { + try + { + logger.Trace("in"); + + PublicEvent record = new PublicEvent(); + + if (!string.IsNullOrEmpty(sottotipo.TypeValue)) + { + record.publicEventType = ParseEnum(sottotipo.TypeValue); + } + + return record; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + + // DATI PRINCIPALI EVENTO + private void SetSituationRecord(SituationRecord? record, Datex2Event evento) + { + try + { + logger.Trace("in"); + + if (record != null) + { + record.id = evento.Id; + record.situationRecordCreationReference = evento.Reference; + record.version = evento.Version.ToString(); + + SetSituationRecord_Time(record, evento); + SetSituationRecord_Source(record, evento); + SetSituationRecord_ValidityTimeSpec(record, evento); + SetSituationRecord_Comment(record, evento); + SetSituationRecord_GroupOfLocation(record, evento); + } + } + catch (Exception ex) + { + evento.elab.erroreFormattazione = "Errore: " + ex.Message; + logger.Error(ex.Message); + } + finally + { + logger.Trace("out"); + } + } + + private void SetSituationRecord_Time(SituationRecord record, Datex2Event evento) + { + try + { + logger.Trace("in"); + + record.situationRecordCreationTime = Convert.ToDateTime(evento.CreationTime); + record.situationRecordVersionTime = Convert.ToDateTime(evento.VersionTime).ToLocalTime(); + } + catch (Exception ex) + { + evento.elab.erroreFormattazione = "Errore: " + ex.Message; + logger.Error(ex.Message); + } + finally + { + logger.Trace("out"); + } + } + + private void SetSituationRecord_Source(SituationRecord record, Datex2Event evento) + { + try + { + logger.Trace("in"); + + // in uscita mettere sempre roadAuthority + string strFonteType = "roadAuthorities"; + if (strFonteType != "") + { + record.source = new Source(); + record.source.sourceType = ParseEnum(strFonteType); + record.source.sourceTypeSpecified = true; + record.source.reliable = true; + record.source.reliableSpecified = true; + record.source.sourceCountry = CountryEnum.it; + record.source.sourceCountrySpecified = true; + record.source.sourceIdentification = PublicationCreator; + + record.source.sourceName = new MultilingualString(); + record.source.sourceName.values.Add(GetMultilingualStringValue("it", evento.SourceName)); + } + } + catch (Exception ex) + { + evento.elab.erroreFormattazione = "Errore: " + ex.Message; + logger.Error(ex.Message); + } + finally + { + logger.Trace("out"); + } + } + + private void SetSituationRecord_ValidityTimeSpec(SituationRecord record, Datex2Event evento) + { + try + { + logger.Trace("in"); + + record.validity = new Validity(); + + // stato evento + if (evento.StartTime <= DateTime.Now && evento.EndTime > DateTime.Now) + { + record.validity.validityStatus = ValidityStatusEnum.active; + } + else if (evento.StartTime > DateTime.Now) + { + record.validity.validityStatus = ValidityStatusEnum.definedByValidityTimeSpec; + record.probabilityOfOccurrence = ProbabilityOfOccurrenceEnum.probable; + } + else if (evento.EndTime <= DateTime.Now) + { + record.validity.validityStatus = ValidityStatusEnum.definedByValidityTimeSpec; + record.validity.overrunning = true; + record.validity.overrunningSpecified = true; + } + + // data inizio evento + if (evento.StartTime != DateTime.MinValue) + { + record.validity.validityTimeSpecification = new OverallPeriod(); + record.validity.validityTimeSpecification.overallStartTime = evento.StartTime; + } + + // data fine evento + if (evento.EndTime != null && evento.EndTime != DateTime.MinValue && evento.EndTime != DateTime.MaxValue) + { + record.validity.validityTimeSpecification.overallEndTime = evento.EndTime.Value; + record.validity.validityTimeSpecification.overallEndTimeSpecified = true; + } + + //// fascia oraria //$DIA + //if (evento.objDettaglio.FasciaOraria == true) + //{ + // TimePeriodByHour objTimePeriodByHour = new TimePeriodByHour(); + // objTimePeriodByHour.startTimeOfPeriod = evento.objDettaglio.DataInizio; + // objTimePeriodByHour.endTimeOfPeriod = Utility.Conv(evento.objDettaglio.DataFine); + // Period objPeriod = new Period(); + // objPeriod.recurringTimePeriodOfDay = new TimePeriodOfDay[1]; + // objPeriod.recurringTimePeriodOfDay[0] = objTimePeriodByHour; + // record.validity.validityTimeSpecification.validPeriod = new Period[1]; + // record.validity.validityTimeSpecification.validPeriod[0] = objPeriod; + //} + } + catch (Exception ex) + { + evento.elab.erroreFormattazione = "Errore: " + ex.Message; + logger.Error(ex.Message); + } + finally + { + logger.Trace("out"); + } + } + + private void SetSituationRecord_Comment(SituationRecord record, Datex2Event evento) + { + try + { + logger.Trace("in"); + + AddComment(record, evento.GeneralPublicCommentIt, evento.GeneralPublicCommentDe, CommentTypeEnum.description); + } + catch (Exception ex) + { + evento.elab.erroreFormattazione = "Errore: " + ex.Message; + logger.Error(ex.Message); + } + finally + { + logger.Trace("out"); + } + } + + private void SetSituationRecord_GroupOfLocation(SituationRecord record, Datex2Event evento) + { + try + { + logger.Trace("in"); + + Point point = new Point(); + point.pointByCoordinates = new PointByCoordinates(); + point.pointByCoordinates.pointCoordinates = new PointCoordinates(); + point.pointByCoordinates.pointCoordinates.latitude = Convert.ToSingle(evento.Latitude); + point.pointByCoordinates.pointCoordinates.longitude = Convert.ToSingle(evento.Longitude); + + record.groupOfLocations = point; + } + catch (Exception ex) + { + evento.elab.erroreFormattazione = MethodBase.GetCurrentMethod() + "> Errore: " + ex.Message; + logger.Error(ex.Message); + } + finally + { + logger.Trace("out"); + } + } + + + // UTILITY + private bool AddComment(SituationRecord record, string testoIt, string testoDe, CommentTypeEnum type) + { + try + { + logger.Trace("in"); + + Comment obj = new Comment(); + obj.comment = new MultilingualString(); + obj.commentDateTime = record.situationRecordVersionTime; + obj.commentDateTimeSpecified = true; + obj.commentType = type; + obj.commentTypeSpecified = true; + obj.comment.values.Add(GetMultilingualStringValue("it", testoIt)); + obj.comment.values.Add(GetMultilingualStringValue("de", testoDe)); + + record.generalPublicComment.Add(obj); + return true; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return false; + } + finally + { + logger.Trace("out"); + } + } + + private MultilingualStringValue? GetMultilingualStringValue(string strLang, string strValue) + { + try + { + logger.Trace("in"); + + MultilingualStringValue objMultilingualStringValue = new MultilingualStringValue(); + objMultilingualStringValue.lang = strLang; + objMultilingualStringValue.Value = strValue; + return objMultilingualStringValue; + } + catch (Exception ex) + { + logger.Error(ex.Message); + return null; + } + finally + { + logger.Trace("out"); + } + } + + public static T ParseEnum(string value) + { + return (T)Enum.Parse(typeof(T), value, true); + } + + public bool ValidateXmlForXsd(string xmlPath, string xsdPath) + { + bool isValid = false; + + XmlDocument xml = new XmlDocument(); + xml.Load(xmlPath); + xml.Schemas.Add(null, xsdPath); + + try + { + xml.Validate(null); + isValid = true; + } + catch (XmlSchemaValidationException ex) + { + logger.Error(ex.Message); + isValid = false; + } + + return isValid; + } + } +} diff --git a/Softech/common/lib/DbManager/DB-scaffold.txt b/Softech/common/lib/DbManager/DB-scaffold.txt new file mode 100644 index 0000000..210f1c0 --- /dev/null +++ b/Softech/common/lib/DbManager/DB-scaffold.txt @@ -0,0 +1,19 @@ +Istruzioni per generare il modelle EF da database esistente. +(l'aggiunta di tabelle al modello prevede la modifica di questo file) +Da eseguire da Visualizza - Altre finestre - Console di gestione dei pacchetti + +// Produzione +//... + +// Test +Scaffold-DbContext "host=localhost;database=postgres;user Id=postgres;Password=pgpass;" Npgsql.EntityFrameworkCore.PostgreSQL -Tables TAB_DESTINATARI, TAB_PARAMETRI, TAB_SOTTOTIPI -UseDatabaseNames -NoPluralize -OutputDir DBModel -Namespace DbManager -Force -NoOnConfiguring + + +------------------------------------------------------------------------------------------------------------------------------------------------------- + +Dopo aver rigenerato il modello, nel file postgresContext.cs commentare le righe + +protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) + => optionsBuilder.UseNpgsql("host=localhost;database=postgres;user Id=postgres;Password=pgpass;"); + +altrimenti la stringa di connessione impostata nel file config viene ignorata \ No newline at end of file diff --git a/Softech/common/lib/DbManager/DBHelper.cs b/Softech/common/lib/DbManager/DBHelper.cs new file mode 100644 index 0000000..fbda2d2 --- /dev/null +++ b/Softech/common/lib/DbManager/DBHelper.cs @@ -0,0 +1,45 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Logging; +using NLog; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace DbManager +{ + public class DbConfiguration + { + public static string DBSource { get; set; } = string.Empty; + + public static bool SetConfiguration(string dbsource) + { + DBSource = dbsource; + //LegacyDBHelper.logger.Info("DBSource: " + LegacyDbConfiguration.DBSource); + + return true; + } + } + + public static class DBHelper + { + public static Logger logger = LogManager.GetLogger("DB"); + + public static postgresContext? Connect() + { + try + { + //logger.Debug("DBSource: " + DbConfiguration.DBSource); + DbContextOptions ctx = new DbContextOptionsBuilder().UseNpgsql(DbConfiguration.DBSource).Options; + return new postgresContext(ctx); + } + catch (Exception ex) + { + logger.Error(string.Format("____{0}) - Message: {1}. Inner Exception:{2}", MethodBase.GetCurrentMethod()?.Name ?? "Connect", ex.Message, ex.InnerException == null ? "" : ex.InnerException.Message)); + return null; + } + } + } +} diff --git a/Softech/common/lib/DbManager/DBModel/TAB_DESTINATARI.cs b/Softech/common/lib/DbManager/DBModel/TAB_DESTINATARI.cs new file mode 100644 index 0000000..671252a --- /dev/null +++ b/Softech/common/lib/DbManager/DBModel/TAB_DESTINATARI.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; + +namespace DbManager; + +public partial class TAB_DESTINATARI +{ + public int IdDestinatario { get; set; } + + public string Descrizione { get; set; } = null!; + + public bool Invio { get; set; } + + public bool Ricezione { get; set; } + + public string SupplierInterno { get; set; } = null!; + + public string Supplier { get; set; } = null!; + + public string Traduttore { get; set; } = null!; + + public string Confidentiality { get; set; } = null!; + + public bool Abilitato { get; set; } + + public string? Url { get; set; } +} diff --git a/Softech/common/lib/DbManager/DBModel/TAB_PARAMETRI.cs b/Softech/common/lib/DbManager/DBModel/TAB_PARAMETRI.cs new file mode 100644 index 0000000..1b8ea48 --- /dev/null +++ b/Softech/common/lib/DbManager/DBModel/TAB_PARAMETRI.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; + +namespace DbManager; + +public partial class TAB_PARAMETRI +{ + public int IdParametro { get; set; } + + public string Modulo { get; set; } = null!; + + public string Parametro { get; set; } = null!; + + public string? Valore { get; set; } + + public string? Note { get; set; } +} diff --git a/Softech/common/lib/DbManager/DBModel/TAB_SOTTOTIPI.cs b/Softech/common/lib/DbManager/DBModel/TAB_SOTTOTIPI.cs new file mode 100644 index 0000000..7279c53 --- /dev/null +++ b/Softech/common/lib/DbManager/DBModel/TAB_SOTTOTIPI.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; + +namespace DbManager; + +public partial class TAB_SOTTOTIPI +{ + public int IdSottotipo { get; set; } + + public string Descrizione { get; set; } = null!; + + public string TypeCode { get; set; } = null!; + + public string SubtypeCode { get; set; } = null!; + + public string Classname { get; set; } = null!; + + public string TypeValue { get; set; } = null!; + + public string? ExtraAttribute { get; set; } + + public string? ExtraValue { get; set; } + + public bool Ingresso { get; set; } + + public bool Uscita { get; set; } + + public bool Abilitato { get; set; } + + public string? Severity { get; set; } +} diff --git a/Softech/common/lib/DbManager/DBModel/postgresContext.cs b/Softech/common/lib/DbManager/DBModel/postgresContext.cs new file mode 100644 index 0000000..c6abf12 --- /dev/null +++ b/Softech/common/lib/DbManager/DBModel/postgresContext.cs @@ -0,0 +1,65 @@ +using System; +using System.Collections.Generic; +using Microsoft.EntityFrameworkCore; + +namespace DbManager; + +public partial class postgresContext : DbContext +{ + public postgresContext(DbContextOptions options) + : base(options) + { + } + + public virtual DbSet TAB_DESTINATARI { get; set; } + + public virtual DbSet TAB_PARAMETRI { get; set; } + + public virtual DbSet TAB_SOTTOTIPI { get; set; } + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.IdDestinatario).HasName("TAB_DESTINATARI_pkey"); + + entity.Property(e => e.IdDestinatario).ValueGeneratedNever(); + entity.Property(e => e.Confidentiality).HasMaxLength(200); + entity.Property(e => e.Descrizione).HasMaxLength(200); + entity.Property(e => e.Supplier).HasMaxLength(20); + entity.Property(e => e.SupplierInterno).HasMaxLength(20); + entity.Property(e => e.Traduttore).HasMaxLength(200); + entity.Property(e => e.Url).HasMaxLength(1000); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.IdParametro).HasName("TAB_PARAMETRI_pkey"); + + entity.Property(e => e.IdParametro).ValueGeneratedNever(); + entity.Property(e => e.Modulo).HasMaxLength(100); + entity.Property(e => e.Note).HasMaxLength(1000); + entity.Property(e => e.Parametro).HasMaxLength(300); + entity.Property(e => e.Valore).HasMaxLength(4000); + }); + + modelBuilder.Entity(entity => + { + entity.HasKey(e => e.IdSottotipo).HasName("TAB_SOTTOTIPI_pkey"); + + entity.Property(e => e.IdSottotipo).ValueGeneratedNever(); + entity.Property(e => e.Classname).HasMaxLength(200); + entity.Property(e => e.Descrizione).HasMaxLength(200); + entity.Property(e => e.ExtraAttribute).HasMaxLength(200); + entity.Property(e => e.ExtraValue).HasMaxLength(200); + entity.Property(e => e.Severity).HasMaxLength(50); + entity.Property(e => e.SubtypeCode).HasMaxLength(200); + entity.Property(e => e.TypeCode).HasMaxLength(200); + entity.Property(e => e.TypeValue).HasMaxLength(200); + }); + + OnModelCreatingPartial(modelBuilder); + } + + partial void OnModelCreatingPartial(ModelBuilder modelBuilder); +} diff --git a/Softech/common/lib/DbManager/DbManager.csproj b/Softech/common/lib/DbManager/DbManager.csproj new file mode 100644 index 0000000..d1b91c5 --- /dev/null +++ b/Softech/common/lib/DbManager/DbManager.csproj @@ -0,0 +1,33 @@ + + + + net8.0 + enable + enable + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + diff --git a/Softech/common/lib/DbManager/DbManager.sln b/Softech/common/lib/DbManager/DbManager.sln new file mode 100644 index 0000000..93586e1 --- /dev/null +++ b/Softech/common/lib/DbManager/DbManager.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34701.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DbManager", "DbManager.csproj", "{8A84538F-0FFF-4DEA-B242-70AED1FD9A53}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8A84538F-0FFF-4DEA-B242-70AED1FD9A53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8A84538F-0FFF-4DEA-B242-70AED1FD9A53}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8A84538F-0FFF-4DEA-B242-70AED1FD9A53}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8A84538F-0FFF-4DEA-B242-70AED1FD9A53}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B3CB12B7-F998-4C9C-A1C3-D9A9B9B7315B} + EndGlobalSection +EndGlobal diff --git a/Softech/common/lib/DbManager/Utility/CommonUtility.cs b/Softech/common/lib/DbManager/Utility/CommonUtility.cs new file mode 100644 index 0000000..5c61f68 --- /dev/null +++ b/Softech/common/lib/DbManager/Utility/CommonUtility.cs @@ -0,0 +1,37 @@ +using Microsoft.EntityFrameworkCore; +using NLog; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DbManager.Utility +{ + public static partial class DbUtility + { + private static Logger logger = LogManager.GetLogger("DB"); + + private static object lockDB = new(); + + public static int SaveChanges(postgresContext DB) + { + try + { + lock (lockDB) + { + return DB.SaveChanges(); + } + } + catch (DbUpdateException ex) + { + logger.Error(ex.Message); + } + catch (Exception ex) + { + logger.Error(ex); + } + return -1; + } + } +} diff --git a/Softech/common/lib/DbManager/Utility/Destinatari.cs b/Softech/common/lib/DbManager/Utility/Destinatari.cs new file mode 100644 index 0000000..8a4f0fa --- /dev/null +++ b/Softech/common/lib/DbManager/Utility/Destinatari.cs @@ -0,0 +1,26 @@ +using Supporto; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace DbManager.Utility +{ + public static partial class DbUtility + { + public static List Destinatari_LoadAll(postgresContext db) + { + try + { + return db.TAB_DESTINATARI.OrderBy(x => x.IdDestinatario).ToList(); + } + catch (Exception ex) + { + LogUtility.LogException(logger, MethodBase.GetCurrentMethod(), ex); + return new List(); + } + } + } +} diff --git a/Softech/common/lib/DbManager/Utility/Parametri.cs b/Softech/common/lib/DbManager/Utility/Parametri.cs new file mode 100644 index 0000000..471880d --- /dev/null +++ b/Softech/common/lib/DbManager/Utility/Parametri.cs @@ -0,0 +1,39 @@ +using Supporto; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace DbManager.Utility +{ + public static partial class DbUtility + { + public static List Parametri_LoadAll(postgresContext db) + { + try + { + return db.TAB_PARAMETRI.OrderBy(x => x.Modulo).ThenBy(x => x.Parametro).ToList(); + } + catch (Exception ex) + { + LogUtility.LogException(logger, MethodBase.GetCurrentMethod(), ex); + return new List(); + } + } + + public static TAB_PARAMETRI? Parametri_Load(string modulo, string parametro, postgresContext db) + { + try + { + return db.TAB_PARAMETRI.FirstOrDefault(x => x.Modulo == modulo && x.Parametro == parametro); + } + catch (Exception ex) + { + LogUtility.LogException(logger, MethodBase.GetCurrentMethod(), ex); + return null; + } + } + } +} diff --git a/Softech/common/lib/DbManager/Utility/Sottotipi.cs b/Softech/common/lib/DbManager/Utility/Sottotipi.cs new file mode 100644 index 0000000..c6c9e7a --- /dev/null +++ b/Softech/common/lib/DbManager/Utility/Sottotipi.cs @@ -0,0 +1,26 @@ +using Supporto; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace DbManager.Utility +{ + public static partial class DbUtility + { + public static List Sottotipi_LoadAll(postgresContext db) + { + try + { + return db.TAB_SOTTOTIPI.OrderBy(x => x.IdSottotipo).ToList(); + } + catch (Exception ex) + { + LogUtility.LogException(logger, MethodBase.GetCurrentMethod(), ex); + return new List(); + } + } + } +} diff --git a/Softech/common/lib/Supporto/AnnouncementModel.cs b/Softech/common/lib/Supporto/AnnouncementModel.cs new file mode 100644 index 0000000..4f1c589 --- /dev/null +++ b/Softech/common/lib/Supporto/AnnouncementModel.cs @@ -0,0 +1,165 @@ +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Supporto +{ + public class RootResponse + { + public int TotalResults { get; set; } = 0; + public int TotalPages { get; set; } = 0; + public int CurrentPage { get; set; } = 0; + public string PreviousPage { get; set; } = string.Empty; + public string NextPage { get; set; } = string.Empty; + public string Seed { get; set; } = string.Empty; + public List Items { get; set; } = new(); + } + + public class Item + { + public string Id { get; set; } = string.Empty; + public bool Active { get; set; } = false; + public DateTime StartTime { get; set; } = DateTime.MinValue; + public DateTime? EndTime { get; set; } + public string Shortname { get; set; } = string.Empty; + public string Source { get; set; } = string.Empty; + public DateTime FirstImport { get; set; } = DateTime.MinValue; + public DateTime LastChange { get; set; } = DateTime.MinValue; + + // Dizionari inizializzati per evitare null ref + public Dictionary Detail { get; set; } = new(); + public Dictionary Geo { get; set; } = new(); + public Dictionary> Mapping { get; set; } = new(); + + public List RelatedContent { get; set; } = new(); + + public Meta _Meta { get; set; } = new(); + + public LicenseInfo LicenseInfo { get; set; } = new(); + public List HasLanguage { get; set; } = new(); + public List TagIds { get; set; } = new(); + public AdditionalProperties AdditionalProperties { get; set; } = new(); + } + + public class DetailInfo + { + public string BaseText { get; set; } = string.Empty; + public string Title { get; set; } = string.Empty; + public string Language { get; set; } = string.Empty; + } + + public class GeoLocation + { + public string Gpstype { get; set; } = string.Empty; + public double? Latitude { get; set; } + public double? Longitude { get; set; } + public double? Altitude { get; set; } + public string AltitudeUnitofMeasure { get; set; } = string.Empty; + public string Geometry { get; set; } = string.Empty; + public bool Default { get; set; } = false; + } + + public class Meta + { + public string Id { get; set; } = string.Empty; + public string Type { get; set; } = string.Empty; + public DateTime LastUpdate { get; set; } = DateTime.MinValue; + public string Source { get; set; } = string.Empty; + public bool Reduced { get; set; } = false; + public UpdateInfo UpdateInfo { get; set; } = new(); + } + + public class UpdateInfo + { + public string UpdatedBy { get; set; } = string.Empty; + public string UpdateSource { get; set; } = string.Empty; + public int Revision { get; set; } = 0; + public List UpdateHistory { get; set; } = new(); + } + + public class AdditionalProperties + { + public EchargingProperties EchargingDataProperties { get; set; } = new(); + public ActivityLtsProperties ActivityLtsDataProperties { get; set; } = new(); + public GastronomyProperties GastronomyLtsDataProperties { get; set; } = new(); + // Dictionary per proprietà dinamiche non strutturate + public Dictionary RoadIncidentProperties { get; set; } = new(); + } + + public class EchargingProperties + { + public int Capacity { get; set; } = 0; + public string State { get; set; } = "UNAVAILABLE"; + public List ChargingPistolTypes { get; set; } = new(); + public ParkingSpace CarParkingSpaceNextToEachOther { get; set; } = new(); + public bool Covered { get; set; } = false; + } + + public class ParkingSpace + { + public bool Flat { get; set; } = true; + public double Gradient { get; set; } = 0; + public string Pavement { get; set; } = string.Empty; + public double Width { get; set; } = 0; + public double Length { get; set; } = 0; + } + + public class ActivityLtsProperties + { + public double AltitudeDifference { get; set; } = 0.0; + public bool IsOpen { get; set; } = false; + public Ratings Ratings { get; set; } = new(); + public List Exposition { get; set; } = new(); + } + + public class Ratings + { + public string Stamina { get; set; } = string.Empty; + public string Difficulty { get; set; } = string.Empty; + } + + public class GastronomyProperties + { + public int MaxSeatingCapacity { get; set; } = 0; + public List CategoryCodes { get; set; } = new(); + public List DishRates { get; set; } = new(); + } + + public class DishRate + { + public string Id { get; set; } = string.Empty; + public double MinAmount { get; set; } = 0; + public double MaxAmount { get; set; } = 0; + public string CurrencyCode { get; set; } = string.Empty; + } + + public class LicenseInfo + { + public string License { get; set; } = "CCO"; + public string LicenseHolder { get; set; } = string.Empty; + public bool ClosedData { get; set; } = false; + } + + public class RelatedContent + { + public string Id { get; set; } = string.Empty; + public string Type { get; set; } = string.Empty; + public string Self { get; set; } = string.Empty; + } + + public class UpdateHistory + { + public DateTime LastUpdate { get; set; } = DateTime.MinValue; + public string UpdateSource { get; set; } = string.Empty; + public string UpdatedBy { get; set; } = string.Empty; + } + + public class CategoryCode + { + public string Id { get; set; } = string.Empty; + public string Shortname { get; set; } = string.Empty; + } +} diff --git a/Softech/common/lib/Supporto/CommonModel.cs b/Softech/common/lib/Supporto/CommonModel.cs new file mode 100644 index 0000000..a9b8e8d --- /dev/null +++ b/Softech/common/lib/Supporto/CommonModel.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Supporto +{ + public class Datex2Event + { + public string Id { get; set; } = ""; + public string Situazione { get; set; } = ""; + public string Reference { get; set; } = ""; + public int Version { get; set; } = 0; + public string Categoria { get; set; } = ""; + public DateTime CreationTime { get; set; } = DateTime.MinValue; + public DateTime VersionTime { get; set; } = DateTime.MinValue; + public DateTime StartTime { get; set; } = DateTime.MinValue; + public DateTime? EndTime { get; set; } = null; + public double Latitude { get; set; } = 0.0; + public double Longitude { get; set; } = 0.0; + public string GeneralPublicCommentIt { get; set; } = ""; + public string GeneralPublicCommentEn { get; set; } = ""; + public string GeneralPublicCommentDe { get; set; } = ""; + public string GeneralPublicCommentType { get; set; } = ""; + public string OverallSeverity { get; set; } = ""; + public string AreaOfInterest { get; set; } = ""; + public string Confidentiality { get; set; } = ""; + public string InformationStatus { get; set; } = ""; + public string Urgency { get; set; } = ""; + public string Probability { get; set; } = ""; + public string SourceCountry { get; set; } = ""; + public string SourceName { get; set; } = ""; + public string SourceType { get; set; } = ""; + public bool SourceReliable { get; set; } = false; + + // dati aggiunti per elaborazione evento + public EventoElab elab { get; set; } = new EventoElab(); + } + + public class EventoElab + { + public string erroreFormattazione { get; set; } = ""; + } +} diff --git a/Softech/common/lib/Supporto/DatabaseConnection.cs b/Softech/common/lib/Supporto/DatabaseConnection.cs new file mode 100644 index 0000000..39ddf95 --- /dev/null +++ b/Softech/common/lib/Supporto/DatabaseConnection.cs @@ -0,0 +1,615 @@ +using Npgsql; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Supporto +{ + public class DatabaseConnection + { + #region DATA + private string m_strStringConn = ""; + private string m_strLastError = ""; + private NpgsqlConnection? m_conPgs = null; + private NpgsqlTransaction? m_trnPgs = null; + private static Dictionary m_tableMem = new Dictionary(); + #endregion + + public DatabaseConnection(string strStringConn) + { + try + { + m_strStringConn = strStringConn; + + m_conPgs = new NpgsqlConnection(strStringConn); + m_conPgs.Open(); + + m_strLastError = ""; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + throw new Exception(ex.Message); + } + } + + public string GetLastError() + { + return m_strLastError; + } + + public bool Close() + { + try + { + if (m_conPgs != null) + { + m_conPgs.Dispose(); + m_conPgs.Close(); + } + + m_strLastError = ""; + return true; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public bool BeginTrans() + { + try + { + if (m_conPgs == null) + return false; + + m_trnPgs = m_conPgs.BeginTransaction(IsolationLevel.ReadCommitted); + m_strLastError = ""; + return true; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public bool CommitTrans() + { + try + { + if (m_conPgs == null) + return false; + + if (m_trnPgs != null) + { + m_trnPgs.Commit(); + + m_trnPgs.Dispose(); + m_trnPgs = null; + } + + m_strLastError = ""; + return true; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public bool RollbackTrans() + { + try + { + if (m_trnPgs != null) + { + m_trnPgs.Rollback(); + + m_trnPgs.Dispose(); + m_trnPgs = null; + } + + m_strLastError = ""; + return true; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public bool TestConnection(string strQuery) + { + try + { + if (m_conPgs == null) + return false; + + DataTable? tab = null; + + if (m_conPgs.State != ConnectionState.Open) + m_conPgs.Open(); + + tab = GetTable("test", strQuery); + + if (tab == null) + { + m_strLastError = "Errore durante TestConnection con query: " + strQuery; + return false; + } + + m_strLastError = ""; + return true; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public DataTable? GetTableMem(string strTableName, string strQuery) + { + try + { + lock (m_tableMem) + { + DataTable? mem = null; + if (m_tableMem.TryGetValue(strQuery, out mem)) + return mem; + + DataTable? tab = GetTable(strTableName, strQuery); + if (tab != null) + m_tableMem.Add(strQuery, tab); + + // mantengo un massimo di query + if (m_tableMem.Count > 1000) + m_tableMem.Remove(m_tableMem.Keys.First()); + + return tab; + } + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return null; + } + } + + public DataTable? GetTable(string strTableName, string strQuery) + { + try + { + if (m_conPgs == null) + return null; + + // la tabella deve avere un nome per poter essere serializzata + if (strTableName == "") + strTableName = "Table"; + + DataTable? tabDati = null; + + if (m_conPgs.State != ConnectionState.Open) + m_conPgs.Open(); + + NpgsqlDataReader dbReader = GetPgsDataReader(m_conPgs, m_trnPgs, strQuery); + tabDati = new DataTable(strTableName); + tabDati.Load(dbReader); + + m_strLastError = ""; + return tabDati; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return null; + } + } + + private NpgsqlDataReader GetPgsDataReader(NpgsqlConnection conConnessione, NpgsqlTransaction? trnTransazione, string strQuery) + { + if (conConnessione.State != ConnectionState.Open) + conConnessione.Open(); + + NpgsqlCommand command = new NpgsqlCommand(); + command.Connection = m_conPgs; + command.CommandType = CommandType.Text; + command.Transaction = trnTransazione; + command.CommandText = strQuery; + + return command.ExecuteReader(); + } + + public bool Execute(string strSql) + { + try + { + if (m_conPgs == null) + return false; + + if (m_conPgs.State != ConnectionState.Open) + m_conPgs.Open(); + + NpgsqlCommand command = new NpgsqlCommand(); + command.Connection = m_conPgs; + command.CommandType = CommandType.Text; + command.Transaction = m_trnPgs; + command.CommandText = strSql; + + command.ExecuteNonQuery(); + + m_strLastError = ""; + return true; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public object ExecuteAndReturnID(string strQuery) + { + try + { + if (m_conPgs == null) + return false; + + if (m_conPgs.State != ConnectionState.Open) + m_conPgs.Open(); + + NpgsqlCommand objCommand = new NpgsqlCommand(); + objCommand.Connection = m_conPgs; + objCommand.CommandText = strQuery; + + NpgsqlParameter objParam = new NpgsqlParameter(":ID", NpgsqlTypes.NpgsqlDbType.Integer); + objParam.Direction = ParameterDirection.Output; + objCommand.Parameters.Add(objParam); + objCommand.Transaction = m_trnPgs; + + objCommand.ExecuteNonQuery(); + + m_strLastError = ""; + if (objParam.Value == null) + return false; + + return objParam.Value; + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public object? ExecuteScalar(string strSql) + { + try + { + if (m_conPgs == null) + return false; + + if (m_conPgs.State != ConnectionState.Open) + m_conPgs.Open(); + + NpgsqlCommand command = new NpgsqlCommand(); + command.Connection = m_conPgs; + command.CommandType = CommandType.Text; + command.Transaction = m_trnPgs; + command.CommandText = strSql; + + m_strLastError = ""; + return command.ExecuteScalar(); + } + catch (Exception ex) + { + m_strLastError = ex.Message; + return false; + } + } + + public DataTable DistinctDt(DataTable tabDt, string strColumn) + { + DataTable tabDistinct = tabDt.Clone(); + Hashtable htKey = new Hashtable(); + foreach (DataRow row in tabDt.Rows) + { + if (!htKey.Contains(row[strColumn])) + { + tabDistinct.ImportRow(row); + htKey.Add(row[strColumn], null); + } + } + return tabDistinct; + } + + public static string? GetValueString(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return ""; + + return Convert.ToString(rowDati[strCampo]); + } + catch (Exception ex) + { + string err = ex.Message; + return ""; + } + } + + public static int GetValueInt(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return 0; + + return Convert.ToInt32(rowDati[strCampo]); + } + catch (Exception ex) + { + string err = ex.Message; + return 0; + } + } + + public static double GetValueDouble(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return 0.0; + + return Convert.ToDouble(rowDati[strCampo]); + } + catch (Exception ex) + { + string err = ex.Message; + return 0.0; + } + } + + public static decimal GetValueDecimal(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return 0; + + return Convert.ToDecimal(rowDati[strCampo]); + } + catch (Exception ex) + { + string err = ex.Message; + return 0; + } + } + + public static DateTime GetValueDataTime(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return DateTime.MinValue; + + return Convert.ToDateTime(rowDati[strCampo]).ToLocalTime(); + } + catch (Exception ex) + { + string err = ex.Message; + return DateTime.MinValue; + } + } + + public static DateTime GetValueDataTimeUTC(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return DateTime.MinValue; + + return Convert.ToDateTime(rowDati[strCampo]); + } + catch (Exception ex) + { + string err = ex.Message; + return DateTime.MinValue; + } + } + + public static bool GetValueBool(DataRow rowDati, string strCampo) + { + try + { + if (rowDati[strCampo] == DBNull.Value) + return false; + + return Convert.ToBoolean(rowDati[strCampo]); + } + catch (Exception ex) + { + string err = ex.Message; + return false; + } + } + + private static string GetTableCampi(DataTable tab) + { + string strCampi = ""; + foreach (DataColumn col in tab.Columns) + { + if (strCampi != "") + strCampi += ","; + + strCampi += col.ColumnName; + } + + return strCampi; + } + + private static string GetTableTypes(DataTable tab) + { + string strType = ""; + foreach (DataColumn col in tab.Columns) + { + if (strType != "") + strType += ","; + + strType += col.DataType.FullName; + } + + return strType; + } + + private static string GetRowScript(DataRow row, string strCampi, string[] strTypes) + { + if (row == null) + return ""; + + if (strCampi == "") + { + strCampi = GetTableCampi(row.Table); + strTypes = GetTableTypes(row.Table).Split(','); + } + + string strValori = ""; + for (int intCol = 0; intCol < strTypes.Length; intCol++) + { + if (strValori != "") + strValori += ", "; + + object objDato = row[intCol]; + + strValori += GetDatoValue(objDato, strTypes[intCol]); + } + + return "INSERT INTO " + row.Table.TableName + " (" + strCampi + ") VALUES (" + strValori + ")"; + } + + private static string? GetDatoValue(object objDato, string strType) + { + if (objDato == DBNull.Value) + { + return "NULL"; + } + else if (strType == "System.String" || + strType == "System.Char") + { + return "'" + objDato.ToString().Replace("'", "''") + "'"; + } + else if (strType == "System.Int16" || + strType == "System.Int32" || + strType == "System.Int64" || + strType == "System.UInt16" || + strType == "System.UInt32" || + strType == "System.UInt64" || + strType == "System.Byte" || + strType == "System.SByte" || + strType == "System.Single") + { + return objDato.ToString(); + } + else if (strType == "System.Double" || strType == "System.Decimal") + { + return objDato.ToString().Replace(',', '.'); + } + else if (strType == "System.Boolean") + { + if (Convert.ToBoolean(objDato) == true) + return "1"; + else + return "0"; + } + else if (strType == "System.DateTime") + { + return "TO_DATE('" + ((DateTime)objDato).ToString("yyyy/MM/dd HH:mm:ss") + "', 'yyyy/MM/dd hh24:mi:ss')"; + } + else if (strType == "System.TimeSpan") + { + TimeSpan tmsAppo = (TimeSpan)objDato; + string strFormat = tmsAppo.Days + " " + tmsAppo.Hours + ":" + tmsAppo.Minutes + ":" + tmsAppo.Seconds; + return "INTERVAL '" + strFormat + "' DAY TO SECOND"; + } + + return "NULL"; + } + + public static string GetRowScript(DataRow row) + { + if (row == null) + return ""; + + string strCampi = GetTableCampi(row.Table); + string[] strTypes = GetTableTypes(row.Table).Split(','); + + return GetRowScript(row, strCampi, strTypes); + } + + public static string GetTableScript(DataTable tab) + { + if (tab == null) + return ""; + + StringBuilder strScript = new StringBuilder(); + + string strCampi = GetTableCampi(tab); + string[] strTypes = GetTableTypes(tab).Split(','); + + foreach (DataRow row in tab.Rows) + { + strScript.AppendLine(GetRowScript(row, strCampi, strTypes)); + } + + return strScript.ToString(); + } + + public static string GetUpdateScript(DataRow row, string strCampi, string strWhere) + { + string strCampiInclusi = "," + strCampi + ","; + + string strSql = "UPDATE " + row.Table.TableName + " SET "; + + string[] strCampiTab = GetTableCampi(row.Table).Split(','); + string[] strTypes = GetTableTypes(row.Table).Split(','); + + string strValori = ""; + for (int intCol = 0; intCol < strTypes.Length; intCol++) + { + string strCampo = strCampiTab[intCol]; + if (!strCampiInclusi.Contains("," + strCampo + ",")) + continue; + + if (strValori != "") + strValori += ", "; + + object objDato = row[intCol]; + + strValori += strCampo + "=" + GetDatoValue(objDato, strTypes[intCol]); + } + + strSql += strValori; + strSql += " " + strWhere; + + return strSql; + } + + public static void CleanRow(DataRow row) + { + for (int intCol = 0; intCol < row.Table.Columns.Count; intCol++) + { + row[intCol] = DBNull.Value; + } + } + } +} diff --git a/Softech/common/lib/Supporto/DateUtility.cs b/Softech/common/lib/Supporto/DateUtility.cs new file mode 100644 index 0000000..2d4f77c --- /dev/null +++ b/Softech/common/lib/Supporto/DateUtility.cs @@ -0,0 +1,125 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Supporto +{ + public static class DateUtility + { + public static DateTime Conv(DateTime? dtmValore) + { + if (dtmValore != null) + return Convert.ToDateTime(dtmValore); + + return DateTime.MinValue; + } + + public static DateTime ConvLocal(DateTime? dtmValore) + { + if (dtmValore != null) + return Convert.ToDateTime(dtmValore).ToLocalTime(); + + return DateTime.MinValue; + } + + public static DateTime? ConvNullableLocal(DateTime? dtmValore) + { + if (dtmValore != null) + return Convert.ToDateTime(dtmValore).ToLocalTime(); + + return null; + } + + public static DateTime ConvUTC(DateTime? dtmValore) + { + if (dtmValore != null) + return Convert.ToDateTime(dtmValore).ToUniversalTime(); + + return DateTime.MinValue; + } + + public static DateTime? ConvNullableUTC(DateTime? dtmValore) + { + if (dtmValore != null) + return Convert.ToDateTime(dtmValore).ToUniversalTime(); + + return null; + } + + public static double Conv(double? dblValore) + { + if (dblValore != null) + return Convert.ToDouble(dblValore); + + return 0; + } + + public static decimal Conv(int? intValore) + { + if (intValore != null) + return Convert.ToDecimal(intValore); + + return 0; + } + + public static bool Conv(bool? blnValore) + { + if (blnValore != null) + return Convert.ToBoolean(blnValore); + + return false; + } + + public static int ConvNullable(int? intValore) + { + if (intValore != null) + return Convert.ToInt32(intValore); + + return 0; + } + + public static DateTime? ReadDateTimeLocal(DateTime? dtmValore) + { + if (dtmValore == null) + return null; + + if (dtmValore.Value.Kind == DateTimeKind.Unspecified) return Conv(dtmValore).ToLocalTime(); + else if (dtmValore.Value.Kind == DateTimeKind.Utc) return Conv(dtmValore).ToLocalTime(); + else if (dtmValore.Value.Kind == DateTimeKind.Local) return dtmValore; + + return null; + } + + public static DateTime ReadDateTimeLocal(DateTime dtmValore) + { + if (dtmValore.Kind == DateTimeKind.Unspecified) return dtmValore.ToLocalTime(); + else if (dtmValore.Kind == DateTimeKind.Utc) return dtmValore.ToLocalTime(); + else if (dtmValore.Kind == DateTimeKind.Local) return dtmValore; + + return DateTime.MinValue; + } + + public static DateTime? ReadDateTimeUTC(DateTime? dtmValore) + { + if (dtmValore == null) + return null; + + if (dtmValore.Value.Kind == DateTimeKind.Unspecified) return DateTime.SpecifyKind(dtmValore.Value, DateTimeKind.Utc); + else if (dtmValore.Value.Kind == DateTimeKind.Utc) return dtmValore; + else if (dtmValore.Value.Kind == DateTimeKind.Local) return ConvNullableUTC(dtmValore); + + return null; + } + + public static DateTime ReadDateTimeUTC(DateTime dtmValore) + { + if (dtmValore.Kind == DateTimeKind.Unspecified) return DateTime.SpecifyKind(dtmValore, DateTimeKind.Utc); + else if (dtmValore.Kind == DateTimeKind.Utc) return dtmValore; + else if (dtmValore.Kind == DateTimeKind.Local) return ConvUTC(dtmValore); + + return DateTime.MinValue; + } + } +} diff --git a/Softech/common/lib/Supporto/LogUtility.cs b/Softech/common/lib/Supporto/LogUtility.cs new file mode 100644 index 0000000..48ffcfb --- /dev/null +++ b/Softech/common/lib/Supporto/LogUtility.cs @@ -0,0 +1,56 @@ +using Microsoft.Extensions.Logging; +using NLog; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace Supporto +{ + public static class LogUtility + { + public static void LogException(Logger logger, MethodBase? metodo, Exception ex) + { + if (metodo == null) + return; + + logger.Error(metodo.Name + "> " + ex.Message); + + if (ex.InnerException != null) + { + logger.Error(metodo.Name + ".Inner> " + ex.InnerException.Message); + + if (ex.InnerException.InnerException != null) + { + logger.Error(metodo.Name + ".InnerBis> " + ex.InnerException.InnerException.Message); + } + } + } + } + + public enum RequestError + { + NONE = 0, + GENERIC = 1, + DB_READ = 2, + DISABLED = 3, + NOT_FOUND = 4, + BAD_DATA = 5, + NO_DATA = 6, + MSG_FOR_USER = 7, + BAD_SESSION = 8 + } + + public static class RequestErrorMessages + { + public static string GENERIC { get; } = "Errore generico nell'elaborazione"; + public static string DB_READ { get; } = "Errore nella lettura dei dati su DB"; + public static string DISABLED { get; } = "L'elemento ricercato è disabilitato"; + public static string NOT_FOUND { get; } = "L'elemento ricercato non è stato trovato"; + public static string BAD_DATA { get; } = "Parametri non validi"; + public static string BAD_SESSION { get; } = "IdSessione non valido"; + public static string NO_DATA { get; } = "Nessun dato trovato"; + } +} diff --git a/Softech/common/lib/Supporto/Supporto.csproj b/Softech/common/lib/Supporto/Supporto.csproj new file mode 100644 index 0000000..fd63313 --- /dev/null +++ b/Softech/common/lib/Supporto/Supporto.csproj @@ -0,0 +1,14 @@ + + + + net8.0 + enable + enable + + + + + + + + diff --git a/Softech/common/lib/Supporto/Supporto.sln b/Softech/common/lib/Supporto/Supporto.sln new file mode 100644 index 0000000..ced7d6f --- /dev/null +++ b/Softech/common/lib/Supporto/Supporto.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34701.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Supporto", "Supporto.csproj", "{7B76AB36-9E71-43ED-9861-9EB2474BBD9E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7B76AB36-9E71-43ED-9861-9EB2474BBD9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B76AB36-9E71-43ED-9861-9EB2474BBD9E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B76AB36-9E71-43ED-9861-9EB2474BBD9E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B76AB36-9E71-43ED-9861-9EB2474BBD9E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CE01E905-2746-469D-B3EA-F24A9390FAFB} + EndGlobalSection +EndGlobal diff --git a/Softech/common/service/DatexPub/.dockerignore b/Softech/common/service/DatexPub/.dockerignore new file mode 100644 index 0000000..fe1152b --- /dev/null +++ b/Softech/common/service/DatexPub/.dockerignore @@ -0,0 +1,30 @@ +**/.classpath +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/azds.yaml +**/bin +**/charts +**/docker-compose* +**/Dockerfile* +**/node_modules +**/npm-debug.log +**/obj +**/secrets.dev.yaml +**/values.dev.yaml +LICENSE +README.md +!**/.gitignore +!.git/HEAD +!.git/config +!.git/packed-refs +!.git/refs/heads/** \ No newline at end of file diff --git a/Softech/common/service/DatexPub/DatexPub.csproj b/Softech/common/service/DatexPub/DatexPub.csproj new file mode 100644 index 0000000..2632a4d --- /dev/null +++ b/Softech/common/service/DatexPub/DatexPub.csproj @@ -0,0 +1,30 @@ + + + + net8.0 + enable + enable + dotnet-DatexPub-3e63afa3-cc7d-4fee-8c79-121c9172bcc2 + Linux + ..\.. + False + + + + + + + + + + + + + + + + + + + + diff --git a/Softech/common/service/DatexPub/DatexPub.sln b/Softech/common/service/DatexPub/DatexPub.sln new file mode 100644 index 0000000..8064c33 --- /dev/null +++ b/Softech/common/service/DatexPub/DatexPub.sln @@ -0,0 +1,48 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34701.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DatexPub", "DatexPub.csproj", "{866A04A3-0D00-4F25-AFB9-8209572F4A86}" + ProjectSection(ProjectDependencies) = postProject + {25A410A9-5635-498A-8184-D5C161A5CB38} = {25A410A9-5635-498A-8184-D5C161A5CB38} + {268437AD-5EC6-4EDF-828C-67AE590E7DA1} = {268437AD-5EC6-4EDF-828C-67AE590E7DA1} + {60409C3D-8E45-453D-97B7-B1DD23A29B3E} = {60409C3D-8E45-453D-97B7-B1DD23A29B3E} + EndProjectSection +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DbManager", "..\..\lib\DbManager\DbManager.csproj", "{60409C3D-8E45-453D-97B7-B1DD23A29B3E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Supporto", "..\..\lib\Supporto\Supporto.csproj", "{268437AD-5EC6-4EDF-828C-67AE590E7DA1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatexModelOrig", "..\..\lib\DatexModelOrig\DatexModelOrig.csproj", "{25A410A9-5635-498A-8184-D5C161A5CB38}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {866A04A3-0D00-4F25-AFB9-8209572F4A86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {866A04A3-0D00-4F25-AFB9-8209572F4A86}.Debug|Any CPU.Build.0 = Debug|Any CPU + {866A04A3-0D00-4F25-AFB9-8209572F4A86}.Release|Any CPU.ActiveCfg = Release|Any CPU + {866A04A3-0D00-4F25-AFB9-8209572F4A86}.Release|Any CPU.Build.0 = Release|Any CPU + {60409C3D-8E45-453D-97B7-B1DD23A29B3E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {60409C3D-8E45-453D-97B7-B1DD23A29B3E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {60409C3D-8E45-453D-97B7-B1DD23A29B3E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {60409C3D-8E45-453D-97B7-B1DD23A29B3E}.Release|Any CPU.Build.0 = Release|Any CPU + {268437AD-5EC6-4EDF-828C-67AE590E7DA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {268437AD-5EC6-4EDF-828C-67AE590E7DA1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {268437AD-5EC6-4EDF-828C-67AE590E7DA1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {268437AD-5EC6-4EDF-828C-67AE590E7DA1}.Release|Any CPU.Build.0 = Release|Any CPU + {25A410A9-5635-498A-8184-D5C161A5CB38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {25A410A9-5635-498A-8184-D5C161A5CB38}.Debug|Any CPU.Build.0 = Debug|Any CPU + {25A410A9-5635-498A-8184-D5C161A5CB38}.Release|Any CPU.ActiveCfg = Release|Any CPU + {25A410A9-5635-498A-8184-D5C161A5CB38}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {941FC34D-7CC1-4B07-A5C8-05D60AA37413} + EndGlobalSection +EndGlobal diff --git a/Softech/common/service/DatexPub/Dockerfile b/Softech/common/service/DatexPub/Dockerfile new file mode 100644 index 0000000..b1c43c6 --- /dev/null +++ b/Softech/common/service/DatexPub/Dockerfile @@ -0,0 +1,26 @@ +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +USER app +WORKDIR /app + +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +ARG BUILD_CONFIGURATION=Release +WORKDIR /src +COPY ["service/DatexPub/DatexPub.csproj", "service/DatexPub/"] +COPY ["lib/DatexModelOrig/DatexModelOrig.csproj", "lib/DatexModelOrig/"] +COPY ["lib/DbManager/DbManager.csproj", "lib/DbManager/"] +COPY ["lib/Supporto/Supporto.csproj", "lib/Supporto/"] +RUN dotnet restore "./service/DatexPub/DatexPub.csproj" +COPY . . +WORKDIR "/src/service/DatexPub" +RUN dotnet build "./DatexPub.csproj" -c $BUILD_CONFIGURATION -o /app/build + +FROM build AS publish +ARG BUILD_CONFIGURATION=Release +RUN dotnet publish "./DatexPub.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "DatexPub.dll"] \ No newline at end of file diff --git a/Softech/common/service/DatexPub/Dockerfile.original b/Softech/common/service/DatexPub/Dockerfile.original new file mode 100644 index 0000000..7f360ec --- /dev/null +++ b/Softech/common/service/DatexPub/Dockerfile.original @@ -0,0 +1,23 @@ +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base +USER app +WORKDIR /app + +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +ARG BUILD_CONFIGURATION=Release +WORKDIR /src +COPY ["DatexPub.csproj", "."] +RUN dotnet restore "./DatexPub.csproj" +COPY . . +WORKDIR "/src/." +RUN dotnet build "./DatexPub.csproj" -c $BUILD_CONFIGURATION -o /app/build + +FROM build AS publish +ARG BUILD_CONFIGURATION=Release +RUN dotnet publish "./DatexPub.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "DatexPub.dll"] \ No newline at end of file diff --git a/Softech/common/service/DatexPub/Model/ConfigModel.cs b/Softech/common/service/DatexPub/Model/ConfigModel.cs new file mode 100644 index 0000000..fc07fa0 --- /dev/null +++ b/Softech/common/service/DatexPub/Model/ConfigModel.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DatexPub.Model +{ + public class ConfigData + { + public DBInfo DBConfig { get; set; } = new(); + public string UrlAPIDatex { get; set; } = ""; + public string UrlEventiBolzano { get; set; } = ""; + public string PathPubblicazioni { get; set; } = ""; + public int TimeoutElaborazione { get; set; } = 0; + public string PrefissoIdentificativi { get; set; } = ""; + } + + public class DBInfo + { + public string DBSource { get; set; } = string.Empty; + } +} diff --git a/Softech/common/service/DatexPub/NLog.config b/Softech/common/service/DatexPub/NLog.config new file mode 100644 index 0000000..949d3e0 --- /dev/null +++ b/Softech/common/service/DatexPub/NLog.config @@ -0,0 +1,42 @@ + + + + diff --git a/Softech/common/service/DatexPub/Program.cs b/Softech/common/service/DatexPub/Program.cs new file mode 100644 index 0000000..5788f73 --- /dev/null +++ b/Softech/common/service/DatexPub/Program.cs @@ -0,0 +1,17 @@ +using DatexPub; +using DatexPub.Model; +using DbManager; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Options; + +var builder = Host.CreateApplicationBuilder(args); +builder.Services.AddHostedService(); + +builder.Services.AddOptions().Bind(builder.Configuration.GetSection("ConfigData")); +builder.Services.AddSingleton(sp => sp.GetRequiredService>().Value); + +var connectionString = builder.Configuration["ConfigData:DBConfig:DBSource"]; +builder.Services.AddDbContext(options => options.UseNpgsql(connectionString)); + +var host = builder.Build(); +host.Run(); diff --git a/Softech/common/service/DatexPub/Properties/PublishProfiles/FolderProfile.pubxml b/Softech/common/service/DatexPub/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..df5633a --- /dev/null +++ b/Softech/common/service/DatexPub/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,13 @@ + + + + + Release + Any CPU + bin\Release\net8.0\publish\ + FileSystem + <_TargetId>Folder + + \ No newline at end of file diff --git a/Softech/common/service/DatexPub/Properties/PublishProfiles/https___datexbz.softech-hub.com.pubxml b/Softech/common/service/DatexPub/Properties/PublishProfiles/https___datexbz.softech-hub.com.pubxml new file mode 100644 index 0000000..712844d --- /dev/null +++ b/Softech/common/service/DatexPub/Properties/PublishProfiles/https___datexbz.softech-hub.com.pubxml @@ -0,0 +1,16 @@ + + + + + Docker + ContainerRegistry + true + https://datexbz.softech-hub.com + latest + Release + Any CPU + <_TargetId>DockerConsoleCustomContainerRegistry + + \ No newline at end of file diff --git a/Softech/common/service/DatexPub/Properties/launchSettings.json b/Softech/common/service/DatexPub/Properties/launchSettings.json new file mode 100644 index 0000000..750dbfc --- /dev/null +++ b/Softech/common/service/DatexPub/Properties/launchSettings.json @@ -0,0 +1,15 @@ +{ + "profiles": { + "DatexPub": { + "commandName": "Project", + "environmentVariables": { + "DOTNET_ENVIRONMENT": "Development" + }, + "dotnetRunMessages": true + }, + "Container (Dockerfile)": { + "commandName": "Docker" + } + }, + "$schema": "http://json.schemastore.org/launchsettings.json" +} \ No newline at end of file diff --git a/Softech/common/service/DatexPub/Script/Pubblica_datexPub.bat b/Softech/common/service/DatexPub/Script/Pubblica_datexPub.bat new file mode 100644 index 0000000..f5fef83 --- /dev/null +++ b/Softech/common/service/DatexPub/Script/Pubblica_datexPub.bat @@ -0,0 +1,20 @@ +docker stop datexpub +docker container prune --force + +cd E:\Sviluppo\Mobilita\DatexBZ\common + +docker build --no-cache -t datexpub -f service/DatexPub/Dockerfile . + +docker tag datexpub 192.168.1.245:5000/datexpub +docker push 192.168.1.245:5000/datexpub + +rem docker tag datexpub 192.168.2.174:5000/datexpub +rem docker push 192.168.2.174:5000/datexpub + +rem docker tag datexpub 192.168.119.130:5000/datexpub +rem docker push 192.168.119.130:5000/datexpub + +docker tag datexpub datexbz.softech-hub.com/datexpub +docker push datexbz.softech-hub.com/datexpub + +pause diff --git a/Softech/common/service/DatexPub/Worker.cs b/Softech/common/service/DatexPub/Worker.cs new file mode 100644 index 0000000..d921039 --- /dev/null +++ b/Softech/common/service/DatexPub/Worker.cs @@ -0,0 +1,453 @@ +using DbManager; +using DbManager.Utility; +using DatexPub.Model; +using RestSharp; +using Supporto; +using System.Reflection; +using Newtonsoft.Json; +using System.Collections.Generic; +using DatexModelOrig; +using NLog; +using NLog.Web; + +namespace DatexPub +{ + public class Worker : BackgroundService + { + #region DATA + static Logger log = NLogBuilder.ConfigureNLog("NLog.config").GetLogger("Worker"); + private readonly ILogger logger; + private ConfigData configData; + private List openDataHubTags = new List + { + "traffic-event:accident", + "traffic-event:animal-on-road", + "traffic-event:caution", + "traffic-event:closure", + "traffic-event:congestion", + "traffic-event:event", + "traffic-event:hindrance", + "traffic-event:prohibition", + "traffic-event:road-condition", + "traffic-event:road-work", + "traffic-event:speed-camera", + "traffic-event:weather-related" + }; + #endregion + + public Worker(ILogger log, ConfigData configData) + { + logger = log; + this.configData = configData; + DbConfiguration.SetConfiguration(this.configData.DBConfig.DBSource); + } + + protected override async Task ExecuteAsync(CancellationToken stoppingToken) + { + log.Info("----------------- START -----------------"); + + //log.Info("DB Connect: " + this.configData.DBConfig.DBSource); + + while (!stoppingToken.IsCancellationRequested) + { + log.Debug("Elaborazione"); + + // recupero eventi da open data hub + Task task = GetEventiOpenDataHub(); + task.Wait(); + var eventi = task.Result; + if (!string.IsNullOrEmpty(eventi)) + { + RootResponse? eventiStruct = JsonConvert.DeserializeObject(eventi); + if (eventiStruct != null) + { + log.Info("Eventi ritornati: " + eventiStruct.TotalResults); + + List? eventiAttivi = PreparaEventi(eventiStruct); + if (eventiAttivi != null) + { + TraduciEventi(eventiAttivi); + } + } + else + { + log.Warn("Risposta non deserializzata"); + } + } + + await Task.Delay(configData.TimeoutElaborazione, stoppingToken); + } + } + + private async Task GetEventiOpenDataHub() + { + try + { + log.Trace("in"); + + var options = new RestClientOptions(); + var client = new RestClient(options); + var request = new RestRequest(configData.UrlEventiBolzano); + var response = await client.GetAsync(request); + + if (response != null) + { + if (response.IsSuccessful && response.IsSuccessStatusCode && response.Content != null) + { + log.Debug("Risposta da " + configData.UrlEventiBolzano); + return response.Content; + } + } + + log.Warn("Risposta NULL da " + configData.UrlEventiBolzano); + return ""; + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + return ""; + } + finally + { + log.Trace("out"); + } + } + + private List? PreparaEventi(RootResponse eventiStruct) + { + try + { + log.Trace("in"); + + List? bolzano = FiltraEventiBolzano(eventiStruct.Items); + if (bolzano == null) + { + log.Warn("Errore durante filtro eventi di Bolzano"); + return null; + } + + List? attuali = FiltraEventiAttuali(bolzano); + if (attuali == null) + { + log.Warn("Errore durante filtro eventi attuali"); + return null; + } + + // conversione eventi attivi nella struttura interna + List eventi = MapItemsToDatex2(attuali); + + return eventi; + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + return new List(); + } + finally + { + log.Trace("out"); + } + } + + public List? FiltraEventiBolzano(List eventi) + { + try + { + log.Trace("in"); + + List bolzano = eventi.Where(x => x._Meta.Source == "PROVINCE_BZ").ToList(); + return bolzano; + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + return null; + } + finally + { + log.Trace("out"); + } + } + + public List? FiltraEventiAttuali(List eventi) + { + try + { + log.Trace("in"); + + var oraCorrente = DateTime.Now; + var oggi = oraCorrente.Date; + + // Categorie definite come "turbative sul breve periodo" + var categorieBrevePeriodo = new HashSet + { + "traffic-event:speed-camera", + "traffic-event:congestion", + "traffic-event:accident", + "traffic-event:event", + "traffic-event:animal-on-road", + "traffic-event:weather-related" + }; + + List attuali = eventi.Where(ev => + { + // Verifica se l'evento ha almeno una categoria a breve periodo + bool brevePeriodo = ev.TagIds.Any(tag => categorieBrevePeriodo.Contains(tag)); + + if (brevePeriodo) + { + // se ha una data di fine, non deve essere nel passato + if (ev.EndTime.HasValue) + return ev.EndTime.Value > oraCorrente; + + // se non ha data di fine, deve essere iniziato oggi + return ev.StartTime.Date == oggi; + } + else + { + // se non ha data di fine, � sempre valido + if (!ev.EndTime.HasValue) + return true; + + // se ha data di fine, l'ora corrente deve essere compresa nel periodo + return oraCorrente >= ev.StartTime && oraCorrente <= ev.EndTime.Value; + } + }).ToList(); + + return attuali; + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + return null; + } + finally + { + log.Trace("out"); + } + } + + public List MapItemsToDatex2(List eventi) + { + try + { + List ret = new List(); + + if (eventi == null) + return ret; + + using (postgresContext? db = DBHelper.Connect()) + { + if (db != null) + { + List sottotipi = DbUtility.Sottotipi_LoadAll(db); + + foreach (Item item in eventi) + { + Datex2Event eve = new Datex2Event(); + + // identificativi + eve.Id = item.Id.Replace(configData.PrefissoIdentificativi, ""); + eve.Situazione = eve.Id; + + Dictionary providerProvinceBz = item.Mapping["ProviderProvinceBz"]; + if (providerProvinceBz != null) + { + eve.Reference = providerProvinceBz["Id"]; + } + + eve.Version = 1; + if (item._Meta != null && item._Meta.UpdateInfo != null && item._Meta.UpdateInfo.UpdateHistory != null) + { + if (item._Meta.UpdateInfo.UpdateHistory.Count > 0) + eve.Version = item._Meta.UpdateInfo.UpdateHistory.Count; + } + + // sorgente dati + eve.SourceCountry = "it"; + eve.SourceType = "roadAuthorities"; + eve.SourceReliable = true; + if (item._Meta != null) + { + eve.SourceName = item._Meta.Source; + } + + // dati temporali + eve.StartTime = item.StartTime; + eve.EndTime = item.EndTime; + eve.CreationTime = item.FirstImport; + eve.VersionTime = item.LastChange; + + // categoria evento + string? tagIndividuato = item.TagIds.FirstOrDefault(tag => openDataHubTags.Contains(tag)); + if (tagIndividuato != null) + { + eve.Categoria = tagIndividuato; + } + else + { + log.Warn("Categoria non individuata per: " + item.Id); + continue; + } + + // dati spaziali + if (item.Geo != null) + { + eve.Latitude = item.Geo["position"].Latitude ?? 0; + eve.Longitude = item.Geo["position"].Longitude ?? 0; + } + + // descrizioni + eve.GeneralPublicCommentType = "description"; + + if (item.Detail.ContainsKey("it") && item.Detail["it"] != null) + { + eve.GeneralPublicCommentIt = item.Detail["it"]?.Title ?? string.Empty; + if (!string.IsNullOrEmpty(item.Detail["it"].BaseText)) + eve.GeneralPublicCommentIt += " " + item.Detail["it"].BaseText; + } + + if (item.Detail.ContainsKey("en") && item.Detail["en"] != null) + { + eve.GeneralPublicCommentEn = item.Detail["en"]?.Title ?? string.Empty; + if (!string.IsNullOrEmpty(item.Detail["en"].BaseText)) + eve.GeneralPublicCommentEn += " " + item.Detail["en"].BaseText; + } + + if (item.Detail.ContainsKey("de") && item.Detail["de"] != null) + { + eve.GeneralPublicCommentDe = item.Detail["de"]?.Title ?? string.Empty; + if (!string.IsNullOrEmpty(item.Detail["de"].BaseText)) + eve.GeneralPublicCommentDe += " " + item.Detail["de"].BaseText; + } + + // severity (basata su categoria) + TAB_SOTTOTIPI? sot = sottotipi.FirstOrDefault(x => x.SubtypeCode == eve.Categoria); + if (sot != null && sot.Severity != null) + eve.OverallSeverity = sot.Severity; + + // valori di default + eve.AreaOfInterest = "regional"; + eve.Confidentiality = "noRestriction"; + eve.InformationStatus = "real"; + eve.Urgency = "normalUrgency"; + eve.Probability = "certain"; + + ret.Add(eve); + } + } + } + + return ret; + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + return new List(); + } + finally + { + log.Trace("out"); + } + } + + private void TraduciEventi(List eventi) + { + try + { + log.Trace("in"); + + using (postgresContext? db = DBHelper.Connect()) + { + if (db != null) + { + TraduttoreSituation trad = new TraduttoreSituation(db); + + // supplier interno + trad.PublicationCreator = ""; + TAB_PARAMETRI? parSupplier = DbUtility.Parametri_Load("NodoDatex", "SupplierInterno", db); + if (parSupplier != null && parSupplier.Valore != null) + trad.PublicationCreator = parSupplier.Valore; + + // destinatari + List destinatari = DbUtility.Destinatari_LoadAll(db); + + // elaboro i destinatari + foreach (TAB_DESTINATARI dest in destinatari) + { + // genero xml datex II + string xml = trad.GetD2LogicalModelXml(eventi, dest.IdDestinatario); + + // salvo pubblicazione + string directory = configData.PathPubblicazioni + "/Invio/" + dest.Supplier; + SaveToFile(xml, directory, "SituationPublication.xml"); + + // log + string msg = "Pubblicato per destinatario: " + dest.Descrizione + " (" + eventi.Count + " eventi)"; + log.Info(msg); + logger.LogInformation(msg); + } + } + } + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + } + finally + { + log.Trace("out"); + } + } + + private void SaveToFile(string xmlString, string directory, string fileName) + { + StreamWriter? streamWriter = null; + try + { + log.Trace("in"); + + Directory.CreateDirectory(directory); + + FileInfo xmlFile = new FileInfo(directory + "/" + fileName); + streamWriter = xmlFile.CreateText(); + streamWriter.WriteLine(xmlString); + streamWriter.Close(); + } + catch (Exception ex) + { + LogException(MethodBase.GetCurrentMethod(), ex); + } + finally + { + if ((streamWriter != null)) + { + streamWriter.Dispose(); + } + + log.Trace("out"); + } + } + + private void LogException(MethodBase? metodo, Exception ex) + { + if (metodo == null) + return; + + log.Error(ex.Message); + logger.LogError(metodo.Name + "> " + ex.Message); + + if (ex.InnerException != null) + { + log.Error(ex.InnerException.Message); + logger.LogError(metodo.Name + ".Inner1> " + ex.InnerException.Message); + + if (ex.InnerException.InnerException != null) + { + log.Error(ex.InnerException.InnerException.Message); + logger.LogError(metodo.Name + ".Inner2> " + ex.InnerException.InnerException.Message); + } + } + } + } +} diff --git a/Softech/common/service/DatexPub/appsettings.Development.json b/Softech/common/service/DatexPub/appsettings.Development.json new file mode 100644 index 0000000..b2dcdb6 --- /dev/null +++ b/Softech/common/service/DatexPub/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.Hosting.Lifetime": "Information" + } + } +} diff --git a/Softech/common/service/DatexPub/appsettings.json b/Softech/common/service/DatexPub/appsettings.json new file mode 100644 index 0000000..fb95d55 --- /dev/null +++ b/Softech/common/service/DatexPub/appsettings.json @@ -0,0 +1,18 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "ConfigData": { + "DBConfig": { + "DBSource": "host=192.168.1.245:5432;database=postgres;user Id=postgres;Password=pgpass;" + }, + "UrlAPIDatex": "https://localhost:44638", + "UrlEventiBolzano": "https://content.api.opendatahub.testingmachine.eu/v1/Announcement?pagesize=200000&tagfilter=announcement%3Atraffic-event&removenullvalues=true&getasidarray=false&source=PROVINCE_BZ&fields=Id%2CTagIds%2CGeo%2CMapping%2C_Meta%2CStartTime%2CEndTime%2CCreationTime%2CVersionTime%2CDetail", + "PathPubblicazioni": "pubblicazioni", + "TimeoutElaborazione": "20000", + "PrefissoIdentificativi": "urn:announcements:provincebz:" + } +} diff --git a/Softech/script/datexPub.NLog.config b/Softech/script/datexPub.NLog.config new file mode 100644 index 0000000..5cc3a6d --- /dev/null +++ b/Softech/script/datexPub.NLog.config @@ -0,0 +1,41 @@ + + + + diff --git a/Softech/script/datexPub.appsettings.json b/Softech/script/datexPub.appsettings.json new file mode 100644 index 0000000..c310b8f --- /dev/null +++ b/Softech/script/datexPub.appsettings.json @@ -0,0 +1,18 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "ConfigData": { + "DBConfig": { + "DBSource": "host=192.168.1.245:5432;database=postgres;user Id=postgres;Password=pgpass;" + }, + "UrlAPIDatex": "https://192.168.1.245:44638", + "UrlEventiBolzano": "https://content.api.opendatahub.testingmachine.eu/v1/Announcement?pagesize=200000&tagfilter=announcement%3Atraffic-event&removenullvalues=true&getasidarray=false&source=PROVINCE_BZ&fields=Id%2CTagIds%2CGeo%2CMapping%2C_Meta%2CStartTime%2CEndTime%2CCreationTime%2CVersionTime%2CDetail", + "PathPubblicazioni": "pubblicazioni", + "TimeoutElaborazione": "20000", + "PrefissoIdentificativi": "urn:announcements:provincebz:" + } +} diff --git a/Softech/script/pg_hba.conf b/Softech/script/pg_hba.conf new file mode 100644 index 0000000..5184160 --- /dev/null +++ b/Softech/script/pg_hba.conf @@ -0,0 +1,128 @@ +# PostgreSQL Client Authentication Configuration File +# =================================================== +# +# Refer to the "Client Authentication" section in the PostgreSQL +# documentation for a complete description of this file. A short +# synopsis follows. +# +# ---------------------- +# Authentication Records +# ---------------------- +# +# This file controls: which hosts are allowed to connect, how clients +# are authenticated, which PostgreSQL user names they can use, which +# databases they can access. Records take one of these forms: +# +# local DATABASE USER METHOD [OPTIONS] +# host DATABASE USER ADDRESS METHOD [OPTIONS] +# hostssl DATABASE USER ADDRESS METHOD [OPTIONS] +# hostnossl DATABASE USER ADDRESS METHOD [OPTIONS] +# hostgssenc DATABASE USER ADDRESS METHOD [OPTIONS] +# hostnogssenc DATABASE USER ADDRESS METHOD [OPTIONS] +# +# (The uppercase items must be replaced by actual values.) +# +# The first field is the connection type: +# - "local" is a Unix-domain socket +# - "host" is a TCP/IP socket (encrypted or not) +# - "hostssl" is a TCP/IP socket that is SSL-encrypted +# - "hostnossl" is a TCP/IP socket that is not SSL-encrypted +# - "hostgssenc" is a TCP/IP socket that is GSSAPI-encrypted +# - "hostnogssenc" is a TCP/IP socket that is not GSSAPI-encrypted +# +# DATABASE can be "all", "sameuser", "samerole", "replication", a +# database name, a regular expression (if it starts with a slash (/)) +# or a comma-separated list thereof. The "all" keyword does not match +# "replication". Access to replication must be enabled in a separate +# record (see example below). +# +# USER can be "all", a user name, a group name prefixed with "+", a +# regular expression (if it starts with a slash (/)) or a comma-separated +# list thereof. In both the DATABASE and USER fields you can also write +# a file name prefixed with "@" to include names from a separate file. +# +# ADDRESS specifies the set of hosts the record matches. It can be a +# host name, or it is made up of an IP address and a CIDR mask that is +# an integer (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that +# specifies the number of significant bits in the mask. A host name +# that starts with a dot (.) matches a suffix of the actual host name. +# Alternatively, you can write an IP address and netmask in separate +# columns to specify the set of hosts. Instead of a CIDR-address, you +# can write "samehost" to match any of the server's own IP addresses, +# or "samenet" to match any address in any subnet that the server is +# directly connected to. +# +# METHOD can be "trust", "reject", "md5", "password", "scram-sha-256", +# "gss", "sspi", "ident", "peer", "pam", "ldap", "radius" or "cert". +# Note that "password" sends passwords in clear text; "md5" or +# "scram-sha-256" are preferred since they send encrypted passwords. +# +# OPTIONS are a set of options for the authentication in the format +# NAME=VALUE. The available options depend on the different +# authentication methods -- refer to the "Client Authentication" +# section in the documentation for a list of which options are +# available for which authentication methods. +# +# Database and user names containing spaces, commas, quotes and other +# special characters must be quoted. Quoting one of the keywords +# "all", "sameuser", "samerole" or "replication" makes the name lose +# its special character, and just match a database or username with +# that name. +# +# --------------- +# Include Records +# --------------- +# +# This file allows the inclusion of external files or directories holding +# more records, using the following keywords: +# +# include FILE +# include_if_exists FILE +# include_dir DIRECTORY +# +# FILE is the file name to include, and DIR is the directory name containing +# the file(s) to include. Any file in a directory will be loaded if suffixed +# with ".conf". The files of a directory are ordered by name. +# include_if_exists ignores missing files. FILE and DIRECTORY can be +# specified as a relative or an absolute path, and can be double-quoted if +# they contain spaces. +# +# ------------- +# Miscellaneous +# ------------- +# +# This file is read on server startup and when the server receives a +# SIGHUP signal. If you edit the file on a running system, you have to +# SIGHUP the server for the changes to take effect, run "pg_ctl reload", +# or execute "SELECT pg_reload_conf()". +# +# ---------------------------------- +# Put your actual configuration here +# ---------------------------------- +# +# If you want to allow non-local connections, you need to add more +# "host" records. In that case you will also need to make PostgreSQL +# listen on a non-local interface via the listen_addresses +# configuration parameter, or via the -i or -h command line switches. + +# CAUTION: Configuring the system for local "trust" authentication +# allows any local user to connect as any PostgreSQL user, including +# the database superuser. If you do not trust all your local users, +# use another authentication method. + + +# TYPE DATABASE USER ADDRESS METHOD + +# "local" is for Unix domain socket connections only +local all all trust +# IPv4 local connections: +host all all 127.0.0.1/32 trust +# IPv6 local connections: +host all all ::1/128 trust +# Allow replication connections from localhost, by a user with the +# replication privilege. +local replication all trust +host replication all 127.0.0.1/32 trust +host replication all ::1/128 trust + +host all all all scram-sha-256 diff --git a/Softech/script/postgres.conf b/Softech/script/postgres.conf new file mode 100644 index 0000000..5958a6e --- /dev/null +++ b/Softech/script/postgres.conf @@ -0,0 +1,822 @@ +# ----------------------------- +# PostgreSQL configuration file +# ----------------------------- +# +# This file consists of lines of the form: +# +# name = value +# +# (The "=" is optional.) Whitespace may be used. Comments are introduced with +# "#" anywhere on a line. The complete list of parameter names and allowed +# values can be found in the PostgreSQL documentation. +# +# The commented-out settings shown in this file represent the default values. +# Re-commenting a setting is NOT sufficient to revert it to the default value; +# you need to reload the server. +# +# This file is read on server startup and when the server receives a SIGHUP +# signal. If you edit the file on a running system, you have to SIGHUP the +# server for the changes to take effect, run "pg_ctl reload", or execute +# "SELECT pg_reload_conf()". Some parameters, which are marked below, +# require a server shutdown and restart to take effect. +# +# Any parameter can also be given as a command-line option to the server, e.g., +# "postgres -c log_connections=on". Some parameters can be changed at run time +# with the "SET" SQL command. +# +# Memory units: B = bytes Time units: us = microseconds +# kB = kilobytes ms = milliseconds +# MB = megabytes s = seconds +# GB = gigabytes min = minutes +# TB = terabytes h = hours +# d = days + + +#------------------------------------------------------------------------------ +# FILE LOCATIONS +#------------------------------------------------------------------------------ + +# The default values of these variables are driven from the -D command-line +# option or PGDATA environment variable, represented here as ConfigDir. + +#data_directory = 'ConfigDir' # use data in another directory + # (change requires restart) +#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file + # (change requires restart) +#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file + # (change requires restart) + +# If external_pid_file is not explicitly set, no extra PID file is written. +#external_pid_file = '' # write an extra PID file + # (change requires restart) + + +#------------------------------------------------------------------------------ +# CONNECTIONS AND AUTHENTICATION +#------------------------------------------------------------------------------ + +# - Connection Settings - + +listen_addresses = '*' + # comma-separated list of addresses; + # defaults to 'localhost'; use '*' for all + # (change requires restart) +port = 5432 # (change requires restart) +max_connections = 100 # (change requires restart) +#reserved_connections = 0 # (change requires restart) +#superuser_reserved_connections = 3 # (change requires restart) +#unix_socket_directories = '/tmp' # comma-separated list of directories + # (change requires restart) +#unix_socket_group = '' # (change requires restart) +#unix_socket_permissions = 0777 # begin with 0 to use octal notation + # (change requires restart) +#bonjour = off # advertise server via Bonjour + # (change requires restart) +#bonjour_name = '' # defaults to the computer name + # (change requires restart) + +# - TCP settings - +# see "man tcp" for details + +#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds; + # 0 selects the system default +#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds; + # 0 selects the system default +#tcp_keepalives_count = 0 # TCP_KEEPCNT; + # 0 selects the system default +#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds; + # 0 selects the system default + +#client_connection_check_interval = 0 # time between checks for client + # disconnection while running queries; + # 0 for never + +# - Authentication - + +#authentication_timeout = 1min # 1s-600s +#password_encryption = scram-sha-256 # scram-sha-256 or md5 +#scram_iterations = 4096 +#db_user_namespace = off + +# GSSAPI using Kerberos +#krb_server_keyfile = 'FILE:${sysconfdir}/krb5.keytab' +#krb_caseins_users = off +#gss_accept_delegation = off + +# - SSL - + +#ssl = off +#ssl_ca_file = '' +#ssl_cert_file = 'server.crt' +#ssl_crl_file = '' +#ssl_crl_dir = '' +#ssl_key_file = 'server.key' +#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers +#ssl_prefer_server_ciphers = on +#ssl_ecdh_curve = 'prime256v1' +#ssl_min_protocol_version = 'TLSv1.2' +#ssl_max_protocol_version = '' +#ssl_dh_params_file = '' +#ssl_passphrase_command = '' +#ssl_passphrase_command_supports_reload = off + + +#------------------------------------------------------------------------------ +# RESOURCE USAGE (except WAL) +#------------------------------------------------------------------------------ + +# - Memory - + +#shared_buffers = 128MB # min 128kB + # (change requires restart) +#huge_pages = try # on, off, or try + # (change requires restart) +#huge_page_size = 0 # zero for system default + # (change requires restart) +#temp_buffers = 8MB # min 800kB +#max_prepared_transactions = 0 # zero disables the feature + # (change requires restart) +# Caution: it is not advisable to set max_prepared_transactions nonzero unless +# you actively intend to use prepared transactions. +#work_mem = 4MB # min 64kB +#hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem +#maintenance_work_mem = 64MB # min 1MB +#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem +#logical_decoding_work_mem = 64MB # min 64kB +#max_stack_depth = 2MB # min 100kB +#shared_memory_type = mmap # the default is the first option + # supported by the operating system: + # mmap + # sysv + # windows + # (change requires restart) +#dynamic_shared_memory_type = posix # the default is usually the first option + # supported by the operating system: + # posix + # sysv + # windows + # mmap + # (change requires restart) +#min_dynamic_shared_memory = 0MB # (change requires restart) +#vacuum_buffer_usage_limit = 256kB # size of vacuum and analyze buffer access strategy ring; + # 0 to disable vacuum buffer access strategy; + # range 128kB to 16GB + +# - Disk - + +#temp_file_limit = -1 # limits per-process temp file space + # in kilobytes, or -1 for no limit + +# - Kernel Resources - + +#max_files_per_process = 1000 # min 64 + # (change requires restart) + +# - Cost-Based Vacuum Delay - + +#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables) +#vacuum_cost_page_hit = 1 # 0-10000 credits +#vacuum_cost_page_miss = 2 # 0-10000 credits +#vacuum_cost_page_dirty = 20 # 0-10000 credits +#vacuum_cost_limit = 200 # 1-10000 credits + +# - Background Writer - + +#bgwriter_delay = 200ms # 10-10000ms between rounds +#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables +#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round +#bgwriter_flush_after = 0 # measured in pages, 0 disables + +# - Asynchronous Behavior - + +#backend_flush_after = 0 # measured in pages, 0 disables +#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching +#maintenance_io_concurrency = 10 # 1-1000; 0 disables prefetching +#max_worker_processes = 8 # (change requires restart) +#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers +#max_parallel_maintenance_workers = 2 # taken from max_parallel_workers +#max_parallel_workers = 8 # maximum number of max_worker_processes that + # can be used in parallel operations +#parallel_leader_participation = on +#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate + # (change requires restart) + + +#------------------------------------------------------------------------------ +# WRITE-AHEAD LOG +#------------------------------------------------------------------------------ + +# - Settings - + +#wal_level = replica # minimal, replica, or logical + # (change requires restart) +#fsync = on # flush data to disk for crash safety + # (turning this off can cause + # unrecoverable data corruption) +#synchronous_commit = on # synchronization level; + # off, local, remote_write, remote_apply, or on +#wal_sync_method = fsync # the default is the first option + # supported by the operating system: + # open_datasync + # fdatasync (default on Linux and FreeBSD) + # fsync + # fsync_writethrough + # open_sync +#full_page_writes = on # recover from partial page writes +#wal_log_hints = off # also do full page writes of non-critical updates + # (change requires restart) +#wal_compression = off # enables compression of full-page writes; + # off, pglz, lz4, zstd, or on +#wal_init_zero = on # zero-fill new WAL files +#wal_recycle = on # recycle WAL files +#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers + # (change requires restart) +#wal_writer_delay = 200ms # 1-10000 milliseconds +#wal_writer_flush_after = 1MB # measured in pages, 0 disables +#wal_skip_threshold = 2MB + +#commit_delay = 0 # range 0-100000, in microseconds +#commit_siblings = 5 # range 1-1000 + +# - Checkpoints - + +#checkpoint_timeout = 5min # range 30s-1d +#checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0 +#checkpoint_flush_after = 0 # measured in pages, 0 disables +#checkpoint_warning = 30s # 0 disables +#max_wal_size = 1GB +#min_wal_size = 80MB + +# - Prefetching during recovery - + +#recovery_prefetch = try # prefetch pages referenced in the WAL? +#wal_decode_buffer_size = 512kB # lookahead window used for prefetching + # (change requires restart) + +# - Archiving - + +#archive_mode = off # enables archiving; off, on, or always + # (change requires restart) +#archive_library = '' # library to use to archive a WAL file + # (empty string indicates archive_command should + # be used) +#archive_command = '' # command to use to archive a WAL file + # placeholders: %p = path of file to archive + # %f = file name only + # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' +#archive_timeout = 0 # force a WAL file switch after this + # number of seconds; 0 disables + +# - Archive Recovery - + +# These are only used in recovery mode. + +#restore_command = '' # command to use to restore an archived WAL file + # placeholders: %p = path of file to restore + # %f = file name only + # e.g. 'cp /mnt/server/archivedir/%f %p' +#archive_cleanup_command = '' # command to execute at every restartpoint +#recovery_end_command = '' # command to execute at completion of recovery + +# - Recovery Target - + +# Set these only when performing a targeted recovery. + +#recovery_target = '' # 'immediate' to end recovery as soon as a + # consistent state is reached + # (change requires restart) +#recovery_target_name = '' # the named restore point to which recovery will proceed + # (change requires restart) +#recovery_target_time = '' # the time stamp up to which recovery will proceed + # (change requires restart) +#recovery_target_xid = '' # the transaction ID up to which recovery will proceed + # (change requires restart) +#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed + # (change requires restart) +#recovery_target_inclusive = on # Specifies whether to stop: + # just after the specified recovery target (on) + # just before the recovery target (off) + # (change requires restart) +#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID + # (change requires restart) +#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown' + # (change requires restart) + + +#------------------------------------------------------------------------------ +# REPLICATION +#------------------------------------------------------------------------------ + +# - Sending Servers - + +# Set these on the primary and on any standby that will send replication data. + +#max_wal_senders = 10 # max number of walsender processes + # (change requires restart) +#max_replication_slots = 10 # max number of replication slots + # (change requires restart) +#wal_keep_size = 0 # in megabytes; 0 disables +#max_slot_wal_keep_size = -1 # in megabytes; -1 disables +#wal_sender_timeout = 60s # in milliseconds; 0 disables +#track_commit_timestamp = off # collect timestamp of transaction commit + # (change requires restart) + +# - Primary Server - + +# These settings are ignored on a standby server. + +#synchronous_standby_names = '' # standby servers that provide sync rep + # method to choose sync standbys, number of sync standbys, + # and comma-separated list of application_name + # from standby(s); '*' = all + +# - Standby Servers - + +# These settings are ignored on a primary server. + +#primary_conninfo = '' # connection string to sending server +#primary_slot_name = '' # replication slot on sending server +#hot_standby = on # "off" disallows queries during recovery + # (change requires restart) +#max_standby_archive_delay = 30s # max delay before canceling queries + # when reading WAL from archive; + # -1 allows indefinite delay +#max_standby_streaming_delay = 30s # max delay before canceling queries + # when reading streaming WAL; + # -1 allows indefinite delay +#wal_receiver_create_temp_slot = off # create temp slot if primary_slot_name + # is not set +#wal_receiver_status_interval = 10s # send replies at least this often + # 0 disables +#hot_standby_feedback = off # send info from standby to prevent + # query conflicts +#wal_receiver_timeout = 60s # time that receiver waits for + # communication from primary + # in milliseconds; 0 disables +#wal_retrieve_retry_interval = 5s # time to wait before retrying to + # retrieve WAL after a failed attempt +#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery + +# - Subscribers - + +# These settings are ignored on a publisher. + +#max_logical_replication_workers = 4 # taken from max_worker_processes + # (change requires restart) +#max_sync_workers_per_subscription = 2 # taken from max_logical_replication_workers +#max_parallel_apply_workers_per_subscription = 2 # taken from max_logical_replication_workers + + +#------------------------------------------------------------------------------ +# QUERY TUNING +#------------------------------------------------------------------------------ + +# - Planner Method Configuration - + +#enable_async_append = on +#enable_bitmapscan = on +#enable_gathermerge = on +#enable_hashagg = on +#enable_hashjoin = on +#enable_incremental_sort = on +#enable_indexscan = on +#enable_indexonlyscan = on +#enable_material = on +#enable_memoize = on +#enable_mergejoin = on +#enable_nestloop = on +#enable_parallel_append = on +#enable_parallel_hash = on +#enable_partition_pruning = on +#enable_partitionwise_join = off +#enable_partitionwise_aggregate = off +#enable_presorted_aggregate = on +#enable_seqscan = on +#enable_sort = on +#enable_tidscan = on + +# - Planner Cost Constants - + +#seq_page_cost = 1.0 # measured on an arbitrary scale +#random_page_cost = 4.0 # same scale as above +#cpu_tuple_cost = 0.01 # same scale as above +#cpu_index_tuple_cost = 0.005 # same scale as above +#cpu_operator_cost = 0.0025 # same scale as above +#parallel_setup_cost = 1000.0 # same scale as above +#parallel_tuple_cost = 0.1 # same scale as above +#min_parallel_table_scan_size = 8MB +#min_parallel_index_scan_size = 512kB +#effective_cache_size = 4GB + +#jit_above_cost = 100000 # perform JIT compilation if available + # and query more expensive than this; + # -1 disables +#jit_inline_above_cost = 500000 # inline small functions if query is + # more expensive than this; -1 disables +#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if + # query is more expensive than this; + # -1 disables + +# - Genetic Query Optimizer - + +#geqo = on +#geqo_threshold = 12 +#geqo_effort = 5 # range 1-10 +#geqo_pool_size = 0 # selects default based on effort +#geqo_generations = 0 # selects default based on effort +#geqo_selection_bias = 2.0 # range 1.5-2.0 +#geqo_seed = 0.0 # range 0.0-1.0 + +# - Other Planner Options - + +#default_statistics_target = 100 # range 1-10000 +#constraint_exclusion = partition # on, off, or partition +#cursor_tuple_fraction = 0.1 # range 0.0-1.0 +#from_collapse_limit = 8 +#jit = on # allow JIT compilation +#join_collapse_limit = 8 # 1 disables collapsing of explicit + # JOIN clauses +#plan_cache_mode = auto # auto, force_generic_plan or + # force_custom_plan +#recursive_worktable_factor = 10.0 # range 0.001-1000000 + + +#------------------------------------------------------------------------------ +# REPORTING AND LOGGING +#------------------------------------------------------------------------------ + +# - Where to Log - + +#log_destination = 'stderr' # Valid values are combinations of + # stderr, csvlog, jsonlog, syslog, and + # eventlog, depending on platform. + # csvlog and jsonlog require + # logging_collector to be on. + +# This is used when logging to stderr: +#logging_collector = off # Enable capturing of stderr, jsonlog, + # and csvlog into log files. Required + # to be on for csvlogs and jsonlogs. + # (change requires restart) + +# These are only used if logging_collector is on: +#log_directory = 'log' # directory where log files are written, + # can be absolute or relative to PGDATA +#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern, + # can include strftime() escapes +#log_file_mode = 0600 # creation mode for log files, + # begin with 0 to use octal notation +#log_rotation_age = 1d # Automatic rotation of logfiles will + # happen after that time. 0 disables. +#log_rotation_size = 10MB # Automatic rotation of logfiles will + # happen after that much log output. + # 0 disables. +#log_truncate_on_rotation = off # If on, an existing log file with the + # same name as the new log file will be + # truncated rather than appended to. + # But such truncation only occurs on + # time-driven rotation, not on restarts + # or size-driven rotation. Default is + # off, meaning append to existing files + # in all cases. + +# These are relevant when logging to syslog: +#syslog_facility = 'LOCAL0' +#syslog_ident = 'postgres' +#syslog_sequence_numbers = on +#syslog_split_messages = on + +# This is only relevant when logging to eventlog (Windows): +# (change requires restart) +#event_source = 'PostgreSQL' + +# - When to Log - + +#log_min_messages = warning # values in order of decreasing detail: + # debug5 + # debug4 + # debug3 + # debug2 + # debug1 + # info + # notice + # warning + # error + # log + # fatal + # panic + +#log_min_error_statement = error # values in order of decreasing detail: + # debug5 + # debug4 + # debug3 + # debug2 + # debug1 + # info + # notice + # warning + # error + # log + # fatal + # panic (effectively off) + +#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements + # and their durations, > 0 logs only + # statements running at least this number + # of milliseconds + +#log_min_duration_sample = -1 # -1 is disabled, 0 logs a sample of statements + # and their durations, > 0 logs only a sample of + # statements running at least this number + # of milliseconds; + # sample fraction is determined by log_statement_sample_rate + +#log_statement_sample_rate = 1.0 # fraction of logged statements exceeding + # log_min_duration_sample to be logged; + # 1.0 logs all such statements, 0.0 never logs + + +#log_transaction_sample_rate = 0.0 # fraction of transactions whose statements + # are logged regardless of their duration; 1.0 logs all + # statements from all transactions, 0.0 never logs + +#log_startup_progress_interval = 10s # Time between progress updates for + # long-running startup operations. + # 0 disables the feature, > 0 indicates + # the interval in milliseconds. + +# - What to Log - + +#debug_print_parse = off +#debug_print_rewritten = off +#debug_print_plan = off +#debug_pretty_print = on +#log_autovacuum_min_duration = 10min # log autovacuum activity; + # -1 disables, 0 logs all actions and + # their durations, > 0 logs only + # actions running at least this number + # of milliseconds. +#log_checkpoints = on +#log_connections = off +#log_disconnections = off +#log_duration = off +#log_error_verbosity = default # terse, default, or verbose messages +#log_hostname = off +#log_line_prefix = '%m [%p] ' # special values: + # %a = application name + # %u = user name + # %d = database name + # %r = remote host and port + # %h = remote host + # %b = backend type + # %p = process ID + # %P = process ID of parallel group leader + # %t = timestamp without milliseconds + # %m = timestamp with milliseconds + # %n = timestamp with milliseconds (as a Unix epoch) + # %Q = query ID (0 if none or not computed) + # %i = command tag + # %e = SQL state + # %c = session ID + # %l = session line number + # %s = session start timestamp + # %v = virtual transaction ID + # %x = transaction ID (0 if none) + # %q = stop here in non-session + # processes + # %% = '%' + # e.g. '<%u%%%d> ' +#log_lock_waits = off # log lock waits >= deadlock_timeout +#log_recovery_conflict_waits = off # log standby recovery conflict waits + # >= deadlock_timeout +#log_parameter_max_length = -1 # when logging statements, limit logged + # bind-parameter values to N bytes; + # -1 means print in full, 0 disables +#log_parameter_max_length_on_error = 0 # when logging an error, limit logged + # bind-parameter values to N bytes; + # -1 means print in full, 0 disables +#log_statement = 'none' # none, ddl, mod, all +#log_replication_commands = off +#log_temp_files = -1 # log temporary files equal or larger + # than the specified size in kilobytes; + # -1 disables, 0 logs all temp files +#log_timezone = 'GMT' + +# - Process Title - + +#cluster_name = '' # added to process titles if nonempty + # (change requires restart) +#update_process_title = on + + +#------------------------------------------------------------------------------ +# STATISTICS +#------------------------------------------------------------------------------ + +# - Cumulative Query and Index Statistics - + +#track_activities = on +#track_activity_query_size = 1024 # (change requires restart) +#track_counts = on +#track_io_timing = off +#track_wal_io_timing = off +#track_functions = none # none, pl, all +#stats_fetch_consistency = cache # cache, none, snapshot + + +# - Monitoring - + +#compute_query_id = auto +#log_statement_stats = off +#log_parser_stats = off +#log_planner_stats = off +#log_executor_stats = off + + +#------------------------------------------------------------------------------ +# AUTOVACUUM +#------------------------------------------------------------------------------ + +#autovacuum = on # Enable autovacuum subprocess? 'on' + # requires track_counts to also be on. +#autovacuum_max_workers = 3 # max number of autovacuum subprocesses + # (change requires restart) +#autovacuum_naptime = 1min # time between autovacuum runs +#autovacuum_vacuum_threshold = 50 # min number of row updates before + # vacuum +#autovacuum_vacuum_insert_threshold = 1000 # min number of row inserts + # before vacuum; -1 disables insert + # vacuums +#autovacuum_analyze_threshold = 50 # min number of row updates before + # analyze +#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum +#autovacuum_vacuum_insert_scale_factor = 0.2 # fraction of inserts over table + # size before insert vacuum +#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze +#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum + # (change requires restart) +#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age + # before forced vacuum + # (change requires restart) +#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for + # autovacuum, in milliseconds; + # -1 means use vacuum_cost_delay +#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for + # autovacuum, -1 means use + # vacuum_cost_limit + + +#------------------------------------------------------------------------------ +# CLIENT CONNECTION DEFAULTS +#------------------------------------------------------------------------------ + +# - Statement Behavior - + +#client_min_messages = notice # values in order of decreasing detail: + # debug5 + # debug4 + # debug3 + # debug2 + # debug1 + # log + # notice + # warning + # error +#search_path = '"$user", public' # schema names +#row_security = on +#default_table_access_method = 'heap' +#default_tablespace = '' # a tablespace name, '' uses the default +#default_toast_compression = 'pglz' # 'pglz' or 'lz4' +#temp_tablespaces = '' # a list of tablespace names, '' uses + # only default tablespace +#check_function_bodies = on +#default_transaction_isolation = 'read committed' +#default_transaction_read_only = off +#default_transaction_deferrable = off +#session_replication_role = 'origin' +#statement_timeout = 0 # in milliseconds, 0 is disabled +#lock_timeout = 0 # in milliseconds, 0 is disabled +#idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled +#idle_session_timeout = 0 # in milliseconds, 0 is disabled +#vacuum_freeze_table_age = 150000000 +#vacuum_freeze_min_age = 50000000 +#vacuum_failsafe_age = 1600000000 +#vacuum_multixact_freeze_table_age = 150000000 +#vacuum_multixact_freeze_min_age = 5000000 +#vacuum_multixact_failsafe_age = 1600000000 +#bytea_output = 'hex' # hex, escape +#xmlbinary = 'base64' +#xmloption = 'content' +#gin_pending_list_limit = 4MB +#createrole_self_grant = '' # set and/or inherit + +# - Locale and Formatting - + +#datestyle = 'iso, mdy' +#intervalstyle = 'postgres' +#timezone = 'GMT' +#timezone_abbreviations = 'Default' # Select the set of available time zone + # abbreviations. Currently, there are + # Default + # Australia (historical usage) + # India + # You can create your own file in + # share/timezonesets/. +#extra_float_digits = 1 # min -15, max 3; any value >0 actually + # selects precise output mode +#client_encoding = sql_ascii # actually, defaults to database + # encoding + +# These settings are initialized by initdb, but they can be changed. +#lc_messages = 'C' # locale for system error message + # strings +#lc_monetary = 'C' # locale for monetary formatting +#lc_numeric = 'C' # locale for number formatting +#lc_time = 'C' # locale for time formatting + +#icu_validation_level = warning # report ICU locale validation + # errors at the given level + +# default configuration for text search +#default_text_search_config = 'pg_catalog.simple' + +# - Shared Library Preloading - + +#local_preload_libraries = '' +#session_preload_libraries = '' +#shared_preload_libraries = '' # (change requires restart) +#jit_provider = 'llvmjit' # JIT library to use + +# - Other Defaults - + +#dynamic_library_path = '$libdir' +#extension_destdir = '' # prepend path when loading extensions + # and shared objects (added by Debian) +#gin_fuzzy_search_limit = 0 + + +#------------------------------------------------------------------------------ +# LOCK MANAGEMENT +#------------------------------------------------------------------------------ + +#deadlock_timeout = 1s +#max_locks_per_transaction = 64 # min 10 + # (change requires restart) +#max_pred_locks_per_transaction = 64 # min 10 + # (change requires restart) +#max_pred_locks_per_relation = -2 # negative values mean + # (max_pred_locks_per_transaction + # / -max_pred_locks_per_relation) - 1 +#max_pred_locks_per_page = 2 # min 0 + + +#------------------------------------------------------------------------------ +# VERSION AND PLATFORM COMPATIBILITY +#------------------------------------------------------------------------------ + +# - Previous PostgreSQL Versions - + +#array_nulls = on +#backslash_quote = safe_encoding # on, off, or safe_encoding +#escape_string_warning = on +#lo_compat_privileges = off +#quote_all_identifiers = off +#standard_conforming_strings = on +#synchronize_seqscans = on + +# - Other Platforms and Clients - + +#transform_null_equals = off + + +#------------------------------------------------------------------------------ +# ERROR HANDLING +#------------------------------------------------------------------------------ + +#exit_on_error = off # terminate session on any error? +#restart_after_crash = on # reinitialize after backend crash? +#data_sync_retry = off # retry or panic on failure to fsync + # data? + # (change requires restart) +#recovery_init_sync_method = fsync # fsync, syncfs (Linux 5.8+) + + +#------------------------------------------------------------------------------ +# CONFIG FILE INCLUDES +#------------------------------------------------------------------------------ + +# These options allow settings to be loaded from files other than the +# default postgresql.conf. Note that these are directives, not variable +# assignments, so they can usefully be given more than once. + +#include_dir = '...' # include files ending in '.conf' from + # a directory, e.g., 'conf.d' +#include_if_exists = '...' # include file only if it exists +#include = '...' # include file + + +#------------------------------------------------------------------------------ +# CUSTOMIZED OPTIONS +#------------------------------------------------------------------------------ + +# Add settings for extensions here diff --git a/Softech/script/start_datexPub.bat b/Softech/script/start_datexPub.bat new file mode 100644 index 0000000..3ab019b --- /dev/null +++ b/Softech/script/start_datexPub.bat @@ -0,0 +1,5 @@ +docker stop datexPub +docker container prune --force + +docker run -d --name datexPub --restart on-failure --pull always -e TZ=Europe/Rome -v "E:\TEST\NODO_DATEX\datexPub.appsettings.json":/app/appsettings.json -v "E:\TEST\NODO_DATEX\datexPub.NLog.config":/app/NLog.config -v "E:\TEST\NODO_DATEX\log":/app/log -v "E:\TEST\NODO_DATEX\pubblicazioni":/app/pubblicazioni 192.168.1.245:5000/datexpub:latest +pause diff --git a/Softech/script/start_datexPub_daSoftech.bat b/Softech/script/start_datexPub_daSoftech.bat new file mode 100644 index 0000000..7a47338 --- /dev/null +++ b/Softech/script/start_datexPub_daSoftech.bat @@ -0,0 +1,5 @@ +docker stop datexPub +docker container prune --force + +docker run -d --name datexPub --restart on-failure --pull always -e TZ=Europe/Rome -v "E:\TEST\NODO_DATEX\datexPub.appsettings.json":/app/appsettings.json -v "E:\TEST\NODO_DATEX\datexPub.NLog.config":/app/NLog.config -v "E:\TEST\NODO_DATEX\log":/app/log -v "E:\TEST\NODO_DATEX\pubblicazioni":/app/pubblicazioni datexbz.softech-hub.com/datexpub:latest +pause diff --git a/Softech/script/start_db.bat b/Softech/script/start_db.bat new file mode 100644 index 0000000..2cc3e13 --- /dev/null +++ b/Softech/script/start_db.bat @@ -0,0 +1,6 @@ +docker stop datexDB +docker container prune --force + +docker run -d --restart=unless-stopped -p 5432:5432 --name datexDB --shm-size=1g -e PGDATA=/var/lib/postgresql/data -e POSTGRES_PASSWORD=pgpass -v "E:\TEST\NODO_DATEX\db":/var/lib/postgresql/data -v "E:\TEST\NODO_DATEX\postgres.conf":/var/lib/postgresql/postgres.conf -v "E:\TEST\NODO_DATEX\pg_hba.conf":/var/lib/postgresql/pg_hba.conf postgres:17.0 + +pause \ No newline at end of file diff --git a/Softech/tool/XmlSchemaClassGenerator.2.1.1167/XmlSchemaClassGenerator.Console.exe.config b/Softech/tool/XmlSchemaClassGenerator.2.1.1167/XmlSchemaClassGenerator.Console.exe.config new file mode 100644 index 0000000..b40a237 --- /dev/null +++ b/Softech/tool/XmlSchemaClassGenerator.2.1.1167/XmlSchemaClassGenerator.Console.exe.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Softech/tool/XmlSchemaClassGenerator.2.1.1167/XmlSchemaClassGenerator.dll.config b/Softech/tool/XmlSchemaClassGenerator.2.1.1167/XmlSchemaClassGenerator.dll.config new file mode 100644 index 0000000..8e15646 --- /dev/null +++ b/Softech/tool/XmlSchemaClassGenerator.2.1.1167/XmlSchemaClassGenerator.dll.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file