title: Ð ÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÐ¸ ÐºÐ¾Ð½Ð²ÐµÑÑÐµÑÐ° Ð¿Ð»Ð°Ð½Ð¾Ð² Ð¶ÐµÐ»ÐµÐ·Ð½Ð¾Ð´Ð¾ÑÐ¾Ð¶Ð½ÑÑ ÑÑÐ°Ð½ÑÐ¸Ð¹ Ð¸Ð· XML Ð² SVG Ð´Ð»Ñ ÐÐ Ð ÑÐ»ÐµÐºÑÑÐ¾Ð¼ÐµÑ Ð°Ð½Ð¸ÐºÐ°
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Implementation of the library of the converter of railway station plans from XML to SVG for electromechanical workstation
Creators: name: Ð¤ÐµÐ´Ð¾ÑÐ¾Ð², Ð¡ÐµÑÐ³ÐµÐ¹
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2023
Subjects: C#
SVG
Ð¶ÐµÐ»ÐµÐ·Ð½Ð¾Ð´Ð¾ÑÐ¾Ð¶Ð½ÑÐ¹ ÑÐ»ÐµÐ¼ÐµÐ½Ñ
ÑÑÐµÐ¹Ð¼Ð²Ð¾ÑÐº
ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÐ¸ ÐºÐ¾Ð½Ð²ÐµÑÑÐµÑÐ°
railway element
framework
converter library implementation

description: Ð Ð´Ð°Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÐµ Ð±ÑÐ»Ð° Ð´ÐµÑÐ°Ð»ÑÐ½Ð¾ Ð¸Ð·ÑÑÐµÐ½Ð° Ð¿ÑÐµÐ´Ð¼ÐµÑÐ½Ð°Ñ Ð¾Ð±Ð»Ð°ÑÑÑ Ð¸, Ð¾ÑÐ½Ð¾Ð²ÑÐ²Ð°ÑÑÑ Ð½Ð° Ð²ÑÐµÑ Ð²ÑÐ´Ð²Ð¸Ð½ÑÑÑÑ ÑÑÐµÐ±Ð¾Ð²Ð°Ð½Ð¸ÑÑ Ðº Ð¿ÑÐ¾ÐµÐºÑÑ, Ð±ÑÐ»Ð° ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð° ÑÑÑÑÐºÑÑÑÐ° Ð¸ÑÐ¾Ð³Ð¾Ð²Ð¾Ð³Ð¾ SVG Ð´Ð¾ÐºÑÐ¼ÐµÐ½ÑÐ°. Ð ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐµ Ð°Ð½Ð°Ð»Ð¸Ð·Ð° Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐº, Ð¿ÑÐµÐ´Ð½Ð°Ð·Ð½Ð°ÑÐµÐ½Ð½ÑÑ Ð´Ð»Ñ ÑÐ°Ð±Ð¾ÑÑ Ñ SVG Ð´Ð¾ÐºÑÐ¼ÐµÐ½ÑÐ°Ð¼Ð¸ Ð½Ð° ÑÐ·ÑÐºÐµ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ C#, Ð±ÑÐ»Ð° Ð²ÑÐ±ÑÐ°Ð½Ð° Ð½Ð°Ð¸Ð±Ð¾Ð»ÐµÐµ Ð¿Ð¾Ð´ÑÐ¾Ð´ÑÑÐ°Ñ Ð´Ð»Ñ ÑÐµÑÐµÐ½Ð¸Ñ Ð¿Ð¾ÑÑÐ°Ð²Ð»ÐµÐ½Ð½Ð¾Ð¹ Ð·Ð°Ð´Ð°ÑÐ¸. Ð Ð¿ÑÐ¾ÑÐµÑÑÐµ ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ð¸ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÐ¸ ÐºÐ¾Ð½Ð²ÐµÑÑÐµÑÐ° Ð±ÑÐ»Ð¸ ÑÐ¾Ð·Ð´Ð°Ð½Ñ Ð°Ð»Ð³Ð¾ÑÐ¸ÑÐ¼Ñ Ð´Ð»Ñ ÑÐ°Ð·Ð±Ð¾ÑÐ° Ð²ÑÐ¾Ð´Ð½Ð¾Ð³Ð¾ XML Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ñ Ð¸ Ð´Ð°Ð»ÑÐ½ÐµÐ¹ÑÐµÐ¹ ÐºÐ¾Ð½Ð²ÐµÑÑÐ°ÑÐ¸Ð¸ ÐºÐ°Ð¶Ð´Ð¾Ð³Ð¾ Ð¶ÐµÐ»ÐµÐ·Ð½Ð¾Ð´Ð¾ÑÐ¾Ð¶Ð½Ð¾Ð³Ð¾ ÑÐ»ÐµÐ¼ÐµÐ½ÑÐ°. ÐÐ½Ð¸ ÑÑÐ¸ÑÑÐ²Ð°ÑÑ Ð²ÑÐµ Ð¸Ð½Ð´Ð¸Ð²Ð¸Ð´ÑÐ°Ð»ÑÐ½ÑÐµ ÑÐ²Ð¾Ð¹ÑÑÐ²Ð° Ð¸ ÑÐ°ÑÐ°ÐºÑÐµÑÐ¸ÑÑÐ¸ÐºÐ¸ ÑÑÐ¸Ñ ÑÐ»ÐµÐ¼ÐµÐ½ÑÐ¾Ð². Ð Ð·Ð°ÐºÐ»ÑÑÐ¸ÑÐµÐ»ÑÐ½Ð¾Ð¹ ÑÐ°ÑÑÐ¸ ÑÐ°Ð±Ð¾ÑÑ Ð±ÑÐ»Ð¾ Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¾ Ð¼Ð¾Ð´ÑÐ»ÑÐ½Ð¾Ðµ ÑÐµÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ Ð´Ð»Ñ Ð¿Ð¾ÐºÑÑÑÐ¸Ñ Ð²ÑÐµÐ²Ð¾Ð·Ð¼Ð¾Ð¶Ð½ÑÑ ÑÐ»ÑÑÐ°ÐµÐ² Ð¿ÐµÑÐµÐ²Ð¾Ð´Ð°, Ð° ÑÐ°ÐºÐ¶Ðµ, Ð·Ð° ÑÑÐµÑ Ð½Ð°Ð¿Ð¸ÑÐ°Ð½Ð½Ð¾Ð³Ð¾ ÑÐµÑÑÐ¾Ð²Ð¾Ð³Ð¾ web-Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ, Ð±ÑÐ»Ð° ÑÑÐ¿ÐµÑÐ½Ð¾ Ð¿ÑÐ¾Ð´ÐµÐ¼Ð¾Ð½ÑÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð° ÑÐ°Ð±Ð¾ÑÐ¾ÑÐ¿Ð¾ÑÐ¾Ð±Ð½Ð¾ÑÑÑ NuGet-Ð¿Ð°ÐºÐµÑÐ° Ð¸ Ð²ÑÐµÑ Ð²ÑÐ¿Ð¾Ð¼Ð¾Ð³Ð°ÑÐµÐ»ÑÐ½ÑÑ ÑÑÐ½ÐºÑÐ¸Ð¹ Ð´Ð»Ñ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸Ñ Ñ SVG ÑÐ»ÐµÐ¼ÐµÐ½ÑÐ°Ð¼Ð¸ Ð² ÑÐµÐ°Ð»ÑÐ½Ð¾Ð¼ Ð²ÑÐµÐ¼ÐµÐ½Ð¸.
description: In this paper, the subject area was studied in detail and, based on all the requirements put forward for the project, the structure of the final SVG document was developed. As a result of the analysis of libraries designed to work with SVG documents in the C# programming language, the most suitable one for solving the task was selected. In the process of implementing the converter library, algorithms were created to parse the input XML description and further convert each railway element. They take into account all the individual properties and characteristics of these elements. In the final part of the work, unit testing was carried out to cover all possible cases of translation, and also due to the written test web application, the operability of the NuGet package and all auxiliary functions for interacting with SVG elements in real time was successfully demonstrated.