Pārlūkot izejas kodu

FillingColumn: 17.02.2021

gr672_pgv 4 gadi atpakaļ
revīzija
45c19bd0a5
85 mainītis faili ar 107802 papildinājumiem un 0 dzēšanām
  1. 25 0
      FillingColumn.sln
  2. 36 0
      FillingColumn/AddDataOfCardWindow.xaml
  3. 58 0
      FillingColumn/AddDataOfCardWindow.xaml.cs
  4. 6 0
      FillingColumn/App.config
  5. 11 0
      FillingColumn/App.xaml
  6. 17 0
      FillingColumn/App.xaml.cs
  7. 14 0
      FillingColumn/CardIssuer.cs
  8. 17 0
      FillingColumn/DataFromCamera.cs
  9. 131 0
      FillingColumn/FillingColumn.csproj
  10. 22 0
      FillingColumn/FuelInCurrentGasStation.cs
  11. 17 0
      FillingColumn/Helper.cs
  12. 17 0
      FillingColumn/MainWindow.xaml
  13. 56 0
      FillingColumn/MainWindow.xaml.cs
  14. 14 0
      FillingColumn/ManagerFrame.cs
  15. 55 0
      FillingColumn/Properties/AssemblyInfo.cs
  16. 71 0
      FillingColumn/Properties/Resources.Designer.cs
  17. 117 0
      FillingColumn/Properties/Resources.resx
  18. 30 0
      FillingColumn/Properties/Settings.Designer.cs
  19. 7 0
      FillingColumn/Properties/Settings.settings
  20. 60 0
      FillingColumn/RefuelingPage.xaml
  21. 222 0
      FillingColumn/RefuelingPage.xaml.cs
  22. 18 0
      FillingColumn/RootDataOfCar.cs
  23. 19 0
      FillingColumn/RootDataOfCard.cs
  24. 16 0
      FillingColumn/RootDataOfGasStation.cs
  25. 23 0
      FillingColumn/StartWorkPage.xaml
  26. 77 0
      FillingColumn/StartWorkPage.xaml.cs
  27. BIN
      FillingColumn/bin/Debug/FillingColumn.exe
  28. 6 0
      FillingColumn/bin/Debug/FillingColumn.exe.config
  29. BIN
      FillingColumn/bin/Debug/FillingColumn.pdb
  30. BIN
      FillingColumn/bin/Debug/Newtonsoft.Json.dll
  31. 11262 0
      FillingColumn/bin/Debug/Newtonsoft.Json.xml
  32. BIN
      FillingColumn/obj/Debug/AddDataOfCardWindow.baml
  33. 139 0
      FillingColumn/obj/Debug/AddDataOfCardWindow.g.cs
  34. 139 0
      FillingColumn/obj/Debug/AddDataOfCardWindow.g.i.cs
  35. BIN
      FillingColumn/obj/Debug/App.baml
  36. 83 0
      FillingColumn/obj/Debug/App.g.cs
  37. 83 0
      FillingColumn/obj/Debug/App.g.i.cs
  38. BIN
      FillingColumn/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  39. BIN
      FillingColumn/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  40. BIN
      FillingColumn/obj/Debug/FillingColumn.Properties.Resources.resources
  41. 0 0
      FillingColumn/obj/Debug/FillingColumn.csproj.CopyComplete
  42. 1 0
      FillingColumn/obj/Debug/FillingColumn.csproj.CoreCompileInputs.cache
  43. 46 0
      FillingColumn/obj/Debug/FillingColumn.csproj.FileListAbsolute.txt
  44. BIN
      FillingColumn/obj/Debug/FillingColumn.csproj.GenerateResource.cache
  45. BIN
      FillingColumn/obj/Debug/FillingColumn.csprojAssemblyReference.cache
  46. BIN
      FillingColumn/obj/Debug/FillingColumn.exe
  47. BIN
      FillingColumn/obj/Debug/FillingColumn.g.resources
  48. BIN
      FillingColumn/obj/Debug/FillingColumn.pdb
  49. 20 0
      FillingColumn/obj/Debug/FillingColumn_MarkupCompile.cache
  50. 20 0
      FillingColumn/obj/Debug/FillingColumn_MarkupCompile.i.cache
  51. 5 0
      FillingColumn/obj/Debug/FillingColumn_MarkupCompile.i.lref
  52. 7 0
      FillingColumn/obj/Debug/FillingColumn_MarkupCompile.lref
  53. BIN
      FillingColumn/obj/Debug/MainWindow.baml
  54. 112 0
      FillingColumn/obj/Debug/MainWindow.g.cs
  55. 112 0
      FillingColumn/obj/Debug/MainWindow.g.i.cs
  56. BIN
      FillingColumn/obj/Debug/RefuelingPage.baml
  57. 252 0
      FillingColumn/obj/Debug/RefuelingPage.g.cs
  58. 252 0
      FillingColumn/obj/Debug/RefuelingPage.g.i.cs
  59. BIN
      FillingColumn/obj/Debug/StartWorkPage.baml
  60. 106 0
      FillingColumn/obj/Debug/StartWorkPage.g.cs
  61. 106 0
      FillingColumn/obj/Debug/StartWorkPage.g.i.cs
  62. BIN
      FillingColumn/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
  63. 4 0
      FillingColumn/packages.config
  64. BIN
      packages/Newtonsoft.Json.12.0.3/.signature.p7s
  65. 20 0
      packages/Newtonsoft.Json.12.0.3/LICENSE.md
  66. BIN
      packages/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg
  67. BIN
      packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll
  68. 10298 0
      packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.xml
  69. BIN
      packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll
  70. 9446 0
      packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.xml
  71. BIN
      packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll
  72. 9646 0
      packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.xml
  73. BIN
      packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll
  74. 11262 0
      packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml
  75. BIN
      packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll
  76. 10950 0
      packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.xml
  77. BIN
      packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll
  78. 11072 0
      packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.xml
  79. BIN
      packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll
  80. 11237 0
      packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.xml
  81. BIN
      packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
  82. 9010 0
      packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml
  83. BIN
      packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
  84. 10950 0
      packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml
  85. BIN
      packages/Newtonsoft.Json.12.0.3/packageIcon.png

+ 25 - 0
FillingColumn.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29102.190
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FillingColumn", "FillingColumn\FillingColumn.csproj", "{9585D0E4-9EB1-47A1-AF3F-B4E6EEC0A035}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{9585D0E4-9EB1-47A1-AF3F-B4E6EEC0A035}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{9585D0E4-9EB1-47A1-AF3F-B4E6EEC0A035}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{9585D0E4-9EB1-47A1-AF3F-B4E6EEC0A035}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{9585D0E4-9EB1-47A1-AF3F-B4E6EEC0A035}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {47DEDF5C-C694-4CA5-81BE-EEAEBB5B203C}
+	EndGlobalSection
+EndGlobal

+ 36 - 0
FillingColumn/AddDataOfCardWindow.xaml

@@ -0,0 +1,36 @@
+<Window x:Class="FillingColumn.AddDataOfCardWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:FillingColumn"
+        mc:Ignorable="d"
+        Title="Добавление данных карты" Height="300" Width="600">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition/>
+            <RowDefinition Height="2*"/>
+        </Grid.RowDefinitions>
+        <TextBlock  VerticalAlignment="Bottom" Margin="20,0,0,0">Номер карты</TextBlock>
+        <TextBox x:Name="TxtCardNumber" VerticalAlignment="Bottom" MaxLength="19" Margin="120,0,50,0"></TextBox>
+        <Grid Grid.Row="1">
+            <Grid.RowDefinitions>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+            </Grid.RowDefinitions>
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition Width="3*"/>
+                <ColumnDefinition Width="2*"/>
+                <ColumnDefinition Width="2*"/>
+            </Grid.ColumnDefinitions>
+            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">Держатель карты</TextBlock>
+            <TextBox Grid.Row="1" Margin="20" Name="TxtCardHolder" VerticalAlignment="Center"></TextBox>
+            <TextBlock HorizontalAlignment="Center" Grid.Column="3" VerticalAlignment="Center">Платёжная система</TextBlock>
+            <TextBox x:Name="TxtCardExpDate" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center"></TextBox>
+            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1">Дата годности</TextBlock>
+            <ComboBox Grid.Row="1" Grid.Column="3" Margin="15" Name="CmbCardIssuer" SelectedIndex="0" DisplayMemberPath="NameCardIssuer"></ComboBox>
+            <Button Grid.ColumnSpan="3" Grid.Row="2" Margin="150,15,150,15" Content="Добавить" Name="BtnAddCardData" Click="BtnAddCardData_Click"></Button>
+        </Grid>
+    </Grid>
+</Window>

+ 58 - 0
FillingColumn/AddDataOfCardWindow.xaml.cs

@@ -0,0 +1,58 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace FillingColumn
+{
+    /// <summary>
+    /// Логика взаимодействия для AddDataOfCardWindow.xaml
+    /// </summary>
+    public partial class AddDataOfCardWindow : Window
+    {
+        public AddDataOfCardWindow()
+        {
+            InitializeComponent();
+            List<CardIssuer> CardIssuer = new List<CardIssuer>();
+            CardIssuer.Add(new CardIssuer { NameCardIssuer = "Visa", CardIssuerID = 2});
+            CardIssuer.Add(new CardIssuer { NameCardIssuer = "Master Card", CardIssuerID = 1 });
+            CmbCardIssuer.ItemsSource = CardIssuer;
+        }
+
+        private void BtnAddCardData_Click(object sender, RoutedEventArgs e)
+        {
+            if (string.IsNullOrEmpty(TxtCardNumber.Text) || TxtCardNumber.Text.All(char.IsDigit) == false)
+            {
+                MessageBox.Show("Не корректный номер карты", "Ошибка", MessageBoxButton.OK, MessageBoxImage.Error);
+                return;
+            }
+            if (string.IsNullOrEmpty(TxtCardHolder.Text))
+            {
+                MessageBox.Show("Не указан держатель карты", "Ошибка", MessageBoxButton.OK, MessageBoxImage.Error);
+                return;
+            }
+            RootDataOfCard bankCard = new RootDataOfCard()
+            {
+                CardHolder = TxtCardHolder.Text,
+                NumberCard = TxtCardNumber.Text,
+                IDCardIssuer = (CmbCardIssuer.SelectedItem as CardIssuer).CardIssuerID,
+                CardExpDate = TxtCardExpDate.Text,
+                IDCardType = 2,
+                Balance = 100000
+            };
+            Helper.EnterBankCard = bankCard;
+            MessageBox.Show("Данные добавлены", "Информация", MessageBoxButton.OK, MessageBoxImage.Information);
+            this.Close();
+
+        }
+    }
+}

+ 6 - 0
FillingColumn/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

+ 11 - 0
FillingColumn/App.xaml

@@ -0,0 +1,11 @@
+<Application x:Class="FillingColumn.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:FillingColumn"
+             StartupUri="MainWindow.xaml">
+    <Application.Resources>
+        <Style TargetType="TextBlock">
+            <Setter Property="FontSize" Value="15"></Setter>
+        </Style>
+    </Application.Resources>
+</Application>

+ 17 - 0
FillingColumn/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace FillingColumn
+{
+    /// <summary>
+    /// Логика взаимодействия для App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 14 - 0
FillingColumn/CardIssuer.cs

@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+   public class CardIssuer
+    {
+        public int CardIssuerID { get; set; }
+        public string NameCardIssuer { get; set; }
+    }
+}

+ 17 - 0
FillingColumn/DataFromCamera.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+    public class DataFromCamera
+    {
+        public int DataFromCameraID { get; set; }
+        public DateTime Date { get; set; }
+        public bool Status { get; set; }
+        public string CarNumber { get; set; }
+        public string NameImage { get; set; }
+    }
+}

+ 131 - 0
FillingColumn/FillingColumn.csproj

@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{9585D0E4-9EB1-47A1-AF3F-B4E6EEC0A035}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>FillingColumn</RootNamespace>
+    <AssemblyName>FillingColumn</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <WarningLevel>4</WarningLevel>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
+      <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xaml">
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Compile Include="AddDataOfCardWindow.xaml.cs">
+      <DependentUpon>AddDataOfCardWindow.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="CardIssuer.cs" />
+    <Compile Include="DataFromCamera.cs" />
+    <Compile Include="Helper.cs" />
+    <Compile Include="ManagerFrame.cs" />
+    <Compile Include="RefuelingPage.xaml.cs">
+      <DependentUpon>RefuelingPage.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="RootDataOfCar.cs" />
+    <Compile Include="RootDataOfCard.cs" />
+    <Compile Include="RootDataOfGasStation.cs" />
+    <Compile Include="StartWorkPage.xaml.cs">
+      <DependentUpon>StartWorkPage.xaml</DependentUpon>
+    </Compile>
+    <Page Include="AddDataOfCardWindow.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="MainWindow.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="FuelInCurrentGasStation.cs" />
+    <Compile Include="MainWindow.xaml.cs">
+      <DependentUpon>MainWindow.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Page Include="RefuelingPage.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="StartWorkPage.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <None Include="packages.config" />
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 22 - 0
FillingColumn/FuelInCurrentGasStation.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+    public class FuelInCurrentGasStation
+    {
+        public int IDFuelType { get; set; }
+        public string NameFuelType { get; set; }
+        public double Price { get; set; }
+        public int AmountOfFuel { get; set; }
+        public string NameAndPriceFuel {
+            get
+            {
+                return NameFuelType + " - " + Price.ToString("F2")+" руб.";
+            }
+        }
+    }
+}

+ 17 - 0
FillingColumn/Helper.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+    public class Helper
+    {
+        public static RootDataOfGasStation CurrentGasStation;
+        public static string KeySession;
+        public static RootDataOfCar FindCar;
+        public static RootDataOfCard EnterBankCard;
+
+    }
+}

+ 17 - 0
FillingColumn/MainWindow.xaml

@@ -0,0 +1,17 @@
+<Window x:Class="FillingColumn.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:FillingColumn"
+        mc:Ignorable="d"
+        Title="{Binding ElementName=MainFrame, Path=Content.Title}" Height="450" Width="800" WindowStartupLocation="CenterScreen">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="50"/>
+            <RowDefinition/>
+        </Grid.RowDefinitions>
+        <Button x:Name="BtnBack" Visibility="Collapsed" Content="Назад" HorizontalAlignment="Right" VerticalAlignment="Center" Click="BtnBack_Click" Width="80" Height="30" Margin="0,0,20,0"></Button>
+        <Frame x:Name="MainFrame" Grid.Row="1" NavigationUIVisibility="Hidden" ContentRendered="MainFrame_ContentRendered"></Frame>
+    </Grid>
+</Window>

+ 56 - 0
FillingColumn/MainWindow.xaml.cs

@@ -0,0 +1,56 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Net.Sockets;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace FillingColumn
+{
+    /// <summary>
+    /// Логика взаимодействия для MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        public MainWindow()
+        {
+            InitializeComponent();
+            ManagerFrame.MainFrame = this.MainFrame;
+            ManagerFrame.MainFrame.Navigate(new StartWorkPage());
+            GenerateKeySession();
+        }
+
+        public void GenerateKeySession()
+        {
+            string Alf = "qwertyuiopasdfghjklzxcvbnm1234567890";
+            string KeySession = "";
+            Random random = new Random();
+            for (int i = 0; i < 12; i++)
+            {
+                KeySession += Alf[random.Next(0, Alf.Length)];
+            }
+            Helper.KeySession = KeySession;
+        }
+
+        private void BtnBack_Click(object sender, RoutedEventArgs e)
+        {
+            ManagerFrame.MainFrame.GoBack();
+        }
+
+        private void MainFrame_ContentRendered(object sender, EventArgs e)
+        {
+            BtnBack.Visibility = ManagerFrame.MainFrame.CanGoBack ? Visibility.Visible : Visibility.Hidden;
+        }
+    }
+}

+ 14 - 0
FillingColumn/ManagerFrame.cs

@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Controls;
+
+namespace FillingColumn
+{
+    public class ManagerFrame
+    {
+        public static Frame MainFrame;
+    }
+}

+ 55 - 0
FillingColumn/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
+// связанные со сборкой.
+[assembly: AssemblyTitle("FillingColumn")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FillingColumn")]
+[assembly: AssemblyCopyright("Copyright ©  2021")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// из модели COM, установите атрибут ComVisible для этого типа в значение true.
+[assembly: ComVisible(false)]
+
+//Чтобы начать создание локализуемых приложений, задайте
+//<UICulture>CultureYouAreCodingWith</UICulture> в файле .csproj
+//в <PropertyGroup>. Например, при использовании английского (США)
+//в своих исходных файлах установите <UICulture> в en-US.  Затем отмените преобразование в комментарий
+//атрибута NeutralResourceLanguage ниже.  Обновите "en-US" в
+//строка внизу для обеспечения соответствия настройки UICulture в файле проекта.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам
+                                     //(используется, если ресурс не найден на странице,
+                                     // или в словарях ресурсов приложения)
+    ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов
+                                              //(используется, если ресурс не найден на странице,
+                                              // в приложении или в каких-либо словарях ресурсов для конкретной темы)
+)]
+
+
+// Сведения о версии для сборки включают четыре следующих значения:
+//
+//      Основной номер версии
+//      Дополнительный номер версии
+//      Номер сборки
+//      Номер редакции
+//
+// Можно задать все значения или принять номера сборки и редакции по умолчанию 
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
FillingColumn/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код был создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace FillingColumn.Properties
+{
+
+
+    /// <summary>
+    ///   Класс ресурсов со строгим типом для поиска локализованных строк и пр.
+    /// </summary>
+    // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
+    // класс с помощью таких средств, как ResGen или Visual Studio.
+    // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
+    // с параметром /str или заново постройте свой VS-проект.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FillingColumn.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Переопределяет свойство CurrentUICulture текущего потока для всех
+        ///   подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
FillingColumn/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
FillingColumn/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace FillingColumn.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
FillingColumn/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

+ 60 - 0
FillingColumn/RefuelingPage.xaml

@@ -0,0 +1,60 @@
+<Page x:Class="FillingColumn.RefuelingPage"
+      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+      xmlns:local="clr-namespace:FillingColumn"
+      mc:Ignorable="d" 
+      d:DesignHeight="450" d:DesignWidth="800"
+      Title="Работа с колонкой">
+
+    <Grid>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition/>
+            <ColumnDefinition/>
+        </Grid.ColumnDefinitions>
+
+        <Grid>
+            <Grid.RowDefinitions>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+            </Grid.RowDefinitions>
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition/>
+                <ColumnDefinition Width="2*"/>
+            </Grid.ColumnDefinitions>
+            <TextBlock x:Name="TxtDataOfCamera" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <TextBlock Text="Тип топлива" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <ComboBox SelectedIndex="0" Name="CmbTypeOfFuel" Grid.Row="1" DisplayMemberPath="NameAndPriceFuel" Grid.Column="1" Margin="10,20,10,20" SelectionChanged="CmbTypeOfFuel_SelectionChanged"></ComboBox>
+            <TextBlock Text="Режим заправки" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <ComboBox Name="CmbTypeOfRefueling" Grid.Column="1" Grid.Row="2" Margin="10,20,10,20" SelectedIndex="0" SelectionChanged="CmbTypeOfRefueling_SelectionChanged"></ComboBox>
+            <TextBlock Text="Способ оплаты" Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <ComboBox Name="CmbTypeOfPayment" SelectedIndex="0" Grid.Column="2" Grid.Row="3" Margin="10,20,10,20" SelectionChanged="CmbTypeOfPayment_SelectionChanged"></ComboBox>
+            <TextBlock x:Name="TxtCardNumber" Visibility="Hidden" Grid.Row="4" Grid.ColumnSpan="2" VerticalAlignment="Top"></TextBlock>
+            <Button Name="BtnEnterDataOfCard" Click="BtnEnterDataOfCard_Click" Visibility="Hidden" VerticalAlignment="Bottom" Grid.Row="4" Grid.ColumnSpan="2" Margin="20" Content="Ввод данных карты"></Button>
+        </Grid>
+        <Grid Grid.Column="1">
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition/>
+                <ColumnDefinition Width="2*"/>
+            </Grid.ColumnDefinitions>
+            <Grid.RowDefinitions>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+                <RowDefinition/>
+            </Grid.RowDefinitions>
+            <TextBlock x:Name="TxtErroreMessage" Foreground="Red" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <TextBlock Text="Количество" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <TextBlock x:Name="TxtAmount" Grid.Row="1" VerticalAlignment="Center" Visibility="Collapsed" Grid.Column="1"></TextBlock>
+            <TextBox x:Name="TbAmount" Grid.Row="1" TextChanged="TbAmount_TextChanged" Visibility="Collapsed" Margin="10,30,10,30" Grid.Column="1"></TextBox>
+            <TextBlock Text="Стоимость"  Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
+            <TextBlock x:Name="TxtCost" VerticalAlignment="Center"  Grid.Row="2" Visibility="Collapsed" Grid.Column="1"></TextBlock>
+            <TextBox x:Name="TbCost" TextChanged="TbCost_TextChanged"  Grid.Row="2" Visibility="Collapsed" Margin="10,30,10,30" Grid.Column="1"></TextBox>
+            <Button Grid.Row="3" Grid.ColumnSpan="2" Margin="30" Name="BtnPayment" Click="BtnPayment_Click" Content="Оплатить"></Button>
+        </Grid>
+    </Grid>
+</Page>

+ 222 - 0
FillingColumn/RefuelingPage.xaml.cs

@@ -0,0 +1,222 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Net.Http;
+using System.Net.Sockets;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+
+namespace FillingColumn
+{
+    /// <summary>
+    /// Логика взаимодействия для RefuelingPage.xaml
+    /// </summary>
+    public partial class RefuelingPage : Page
+    {
+
+        public RefuelingPage()
+        {
+            InitializeComponent();
+            var timer = new DispatcherTimer();
+            timer.Interval = new TimeSpan(0, 0, 5);
+            timer.IsEnabled = true;
+            timer.Tick += Timer_Tick;
+            timer.Start();
+            AddTypeOFRefueling();
+            CmbTypeOfFuel.ItemsSource = Helper.CurrentGasStation.FuelInCurrentGasStation;
+            Title = $"Работа с колонкой на АЗС {Helper.CurrentGasStation.GasStationID}";
+        }
+
+        //Событие таймера
+        private async void Timer_Tick(object sender, EventArgs e)
+        {
+            try
+            {
+                HttpClient client = new HttpClient();
+                var response = await client.GetAsync("http://127.0.0.1:7070/getDataFromCamera/");
+                var Body = await response.Content.ReadAsStringAsync();
+                DataFromCamera dataFromCamera = JsonConvert.DeserializeObject<DataFromCamera>(Body);
+                TxtDataOfCamera.Text = "Гос. номер распознан: " + dataFromCamera.CarNumber;
+                FindCar(Body);
+            }
+            catch (Exception)
+            {
+                TxtDataOfCamera.Text = "Нет ответа от камеры";
+                Helper.FindCar = null;
+            }
+        }
+
+        public async void FindCar(string JsonDataOfCamera)
+        {
+            string IDGasStation = Helper.CurrentGasStation.GasStationID.ToString();
+            if (IDGasStation.Length == 1)
+            {
+                IDGasStation = IDGasStation.Insert(0, "0");
+            }
+            string port = "102" + IDGasStation;
+            IPEndPoint IpPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), Convert.ToInt32(port));
+            Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
+            socket.Connect(IpPoint);
+            //Отправка данных с камеры на сервер АЗС
+            string request = "POST data of camera=" + JsonDataOfCamera;
+            byte[] data = Encoding.UTF8.GetBytes(request);
+            socket.Send(data);
+            //Получение ответа от сервера АЗС
+            data = new byte[256]; // буфер для ответа
+            StringBuilder builder = new StringBuilder();
+            int bytes = 0; // количество полученных байт
+            do
+            {
+                bytes = socket.Receive(data, data.Length, 0);
+                builder.Append(Encoding.UTF8.GetString(data, 0, bytes));
+            }
+            while (socket.Available > 0);
+
+            //Десериализация данных о машине
+            Helper.FindCar = JsonConvert.DeserializeObject<RootDataOfCar>(builder.ToString());
+            AddTypeOFRefueling();
+            // закрываем сокет
+            socket.Shutdown(SocketShutdown.Both);
+            socket.Close();
+        }
+
+        public void AddTypeOFRefueling()
+        {
+
+            List<string> TypeOfRefueling = new List<string>();
+            TypeOfRefueling.Add("Фиксированный объем");
+            TypeOfRefueling.Add("Фиксированная цена");
+            List<string> TypeOfPayment = new List<string>();
+            TypeOfPayment.Add("Банковской картой");
+
+            if (Helper.FindCar != null)
+            {
+                if (Helper.FindCar.VolumeTank != null)
+                {
+                    TypeOfRefueling.Add("До полного бака с ограничением по объему");
+                }
+                if (Helper.FindCar.CardOfCars.FirstOrDefault(x=>x.IDCardType == 3) != null)
+                {
+                    TypeOfPayment.Add("Накопительной картой");
+                }
+                if (Helper.FindCar.CardOfCars.FirstOrDefault(x => x.IDCardType == 2) != null)
+                {
+                    TypeOfPayment.Add("Кредитной картой");
+                }
+            }
+            CmbTypeOfPayment.ItemsSource = TypeOfPayment;
+            CmbTypeOfRefueling.ItemsSource = TypeOfRefueling;
+        }
+
+
+        private void BtnEnterDataOfCard_Click(object sender, RoutedEventArgs e)
+        {
+            AddDataOfCardWindow addDataOfCardWindow = new AddDataOfCardWindow();
+            addDataOfCardWindow.ShowDialog();
+        }
+
+
+        private void BtnPayment_Click(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        
+        private void CmbTypeOfRefueling_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            if (CmbTypeOfRefueling.SelectedIndex == 0)
+            {
+                TbAmount.Visibility = Visibility.Visible;
+                TxtAmount.Visibility = Visibility.Hidden;
+                TbCost.Visibility = Visibility.Hidden;
+                TxtCost.Visibility = Visibility.Visible;
+            }
+            if (CmbTypeOfRefueling.SelectedIndex == 1)
+            {
+                TbAmount.Visibility = Visibility.Hidden;
+                TxtAmount.Visibility = Visibility.Visible;
+
+                TbCost.Visibility = Visibility.Visible;
+                TxtCost.Visibility = Visibility.Hidden;
+            }
+        }
+
+        private void TbAmount_TextChanged(object sender, TextChangedEventArgs e)
+        {
+            if (TbAmount.Text.Length == 0)
+            {
+                TxtErroreMessage.Visibility = Visibility.Hidden;
+                TxtCost.Text = string.Empty;
+                return;
+            }
+            if (TbAmount.Text.All(char.IsDigit) == true)
+            {
+                TxtErroreMessage.Visibility = Visibility.Hidden;
+                var CurrentFuel = CmbTypeOfFuel.SelectedItem as FuelInCurrentGasStation;
+                double cost = Convert.ToInt32(TbAmount.Text) * CurrentFuel.Price;
+                TxtCost.Text = cost.ToString("F2") + " руб.";
+            }
+            else
+            {
+                TxtErroreMessage.Text = "Не корректное количество!";
+                TxtErroreMessage.Visibility = Visibility.Visible;
+            }
+
+        }
+
+        private void TbCost_TextChanged(object sender, TextChangedEventArgs e)
+        {
+            if (TbCost.Text.Length == 0)
+            {
+                TxtErroreMessage.Visibility = Visibility.Hidden;
+                TxtAmount.Text = string.Empty;
+                return;
+            }
+            if (TbCost.Text.All(char.IsDigit) == true)
+            {
+                TxtErroreMessage.Visibility = Visibility.Hidden;
+                var CurrentFuel = CmbTypeOfFuel.SelectedItem as FuelInCurrentGasStation;
+                double Amount = Convert.ToDouble(TbCost.Text) / CurrentFuel.Price;
+                TxtAmount.Text = Amount.ToString("F2") + " л.";
+            }
+            else
+            {
+                TxtErroreMessage.Text = "Не корректная сумма!";
+                TxtErroreMessage.Visibility = Visibility.Visible;
+            }
+        }
+
+        private void CmbTypeOfPayment_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            if (CmbTypeOfPayment.SelectedValue.ToString() == "Банковской картой")
+            {
+                BtnEnterDataOfCard.Visibility = Visibility.Visible;
+            }
+            else
+            {
+                BtnEnterDataOfCard.Visibility = Visibility.Hidden;
+            }
+
+        }
+
+        private void CmbTypeOfFuel_SelectionChanged(object sender, SelectionChangedEventArgs e)
+        {
+            TxtAmount.Text = "";
+            TbAmount.Text = "";
+            TxtCost.Text = "";
+            TbCost.Text = "";
+        }
+    }
+}

+ 18 - 0
FillingColumn/RootDataOfCar.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+    public class RootDataOfCar
+    {
+        public int CarID { get; set; }
+        public string CarNumber { get; set; }
+        public Nullable<int> VolumeTank { get; set; }
+        public List<RootDataOfCard> CardOfCars { get; set; }
+
+
+    }
+}

+ 19 - 0
FillingColumn/RootDataOfCard.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+    public class RootDataOfCard
+    {
+        public int CardID { get; set; }
+        public string NumberCard { get; set; }
+        public string CardExpDate { get; set; }
+        public decimal Balance { get; set; }
+        public int IDCardType { get; set; }
+        public Nullable<int> IDCardIssuer { get; set; }
+        public string CardHolder { get; set; }
+    }
+}

+ 16 - 0
FillingColumn/RootDataOfGasStation.cs

@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace FillingColumn
+{
+    public class RootDataOfGasStation
+    {
+        public int GasStationID { get; set; }
+        public string Address { get; set; }
+        public List<FuelInCurrentGasStation> FuelInCurrentGasStation { get; set; }
+    }
+
+}

+ 23 - 0
FillingColumn/StartWorkPage.xaml

@@ -0,0 +1,23 @@
+<Page x:Class="FillingColumn.StartWorkPage"
+      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+      xmlns:local="clr-namespace:FillingColumn"
+      mc:Ignorable="d" 
+      d:DesignHeight="450" d:DesignWidth="800"
+      Title="Заправочная колонка - Начало работы">
+
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition/>
+            <RowDefinition/>
+        </Grid.RowDefinitions>
+        <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Center">
+            <TextBlock Text="STATION_ID АЗС:" VerticalAlignment="Center"></TextBlock>
+            <TextBox x:Name="TxtIDStation" Margin="5" Width="100" Height="20"></TextBox>
+        </StackPanel>
+
+        <Button x:Name="BtnConnectToStation" Content="Начать работу" VerticalAlignment="Top" Grid.Row="1" Margin="300,70,300,70" Click="BtnConnectToStation_Click"></Button>
+    </Grid>
+</Page>

+ 77 - 0
FillingColumn/StartWorkPage.xaml.cs

@@ -0,0 +1,77 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Net.Sockets;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace FillingColumn
+{
+    /// <summary>
+    /// Логика взаимодействия для StartWorkPage.xaml
+    /// </summary>
+    public partial class StartWorkPage : Page
+    {
+        public StartWorkPage()
+        {
+            InitializeComponent();
+        }
+
+        public async void ConnectToServer(string IDGasStation)
+        {
+            try
+            {
+                if (IDGasStation.Length == 1)
+                {
+                    IDGasStation = IDGasStation.Insert(0, "0");
+                }
+                string port = "102" + IDGasStation;
+                IPEndPoint IpPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), Convert.ToInt32(port));
+                Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
+                socket.Connect(IpPoint);
+                //Отправка запроса на сервер АЗС
+                string request = "GetDataOfGasStation";
+                byte[] data = Encoding.UTF8.GetBytes(request);
+                socket.Send(data);
+                //Получение ответа от сервера АЗС
+                data = new byte[256]; // буфер для ответа
+                StringBuilder builder = new StringBuilder();
+                int bytes = 0; // количество полученных байт
+                do
+                {
+                    bytes = socket.Receive(data, data.Length, 0);
+                    builder.Append(Encoding.UTF8.GetString(data, 0, bytes));
+                }
+                while (socket.Available > 0);
+
+                Helper.CurrentGasStation = JsonConvert.DeserializeObject<RootDataOfGasStation>(builder.ToString());
+
+                // закрываем сокет
+                socket.Shutdown(SocketShutdown.Both);
+                socket.Close();
+                ManagerFrame.MainFrame.Navigate(new RefuelingPage());
+            }
+            catch (Exception)
+            {
+                MessageBox.Show("Нет ответа от АЗС", "Ошибка", MessageBoxButton.OK, MessageBoxImage.Error);
+            }
+         
+        }
+
+        private void BtnConnectToStation_Click(object sender, RoutedEventArgs e)
+        {
+            ConnectToServer(TxtIDStation.Text);
+        }
+    }
+}

BIN
FillingColumn/bin/Debug/FillingColumn.exe


+ 6 - 0
FillingColumn/bin/Debug/FillingColumn.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

BIN
FillingColumn/bin/Debug/FillingColumn.pdb


BIN
FillingColumn/bin/Debug/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 11262 - 0
FillingColumn/bin/Debug/Newtonsoft.Json.xml


BIN
FillingColumn/obj/Debug/AddDataOfCardWindow.baml


+ 139 - 0
FillingColumn/obj/Debug/AddDataOfCardWindow.g.cs

@@ -0,0 +1,139 @@
+#pragma checksum "..\..\AddDataOfCardWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2ACF45CF77663F1FDB9EB80DD6155E7D2D151A6851F7CDB4112B94CA80914EC6"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// AddDataOfCardWindow
+    /// </summary>
+    public partial class AddDataOfCardWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 15 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtCardNumber;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 28 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtCardHolder;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtCardExpDate;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 32 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbCardIssuer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnAddCardData;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/adddataofcardwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\AddDataOfCardWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TxtCardNumber = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 2:
+            this.TxtCardHolder = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.TxtCardExpDate = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.CmbCardIssuer = ((System.Windows.Controls.ComboBox)(target));
+            return;
+            case 5:
+            this.BtnAddCardData = ((System.Windows.Controls.Button)(target));
+            
+            #line 33 "..\..\AddDataOfCardWindow.xaml"
+            this.BtnAddCardData.Click += new System.Windows.RoutedEventHandler(this.BtnAddCardData_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 139 - 0
FillingColumn/obj/Debug/AddDataOfCardWindow.g.i.cs

@@ -0,0 +1,139 @@
+#pragma checksum "..\..\AddDataOfCardWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2ACF45CF77663F1FDB9EB80DD6155E7D2D151A6851F7CDB4112B94CA80914EC6"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// AddDataOfCardWindow
+    /// </summary>
+    public partial class AddDataOfCardWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 15 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtCardNumber;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 28 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtCardHolder;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 30 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtCardExpDate;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 32 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbCardIssuer;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\AddDataOfCardWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnAddCardData;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/adddataofcardwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\AddDataOfCardWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TxtCardNumber = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 2:
+            this.TxtCardHolder = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.TxtCardExpDate = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.CmbCardIssuer = ((System.Windows.Controls.ComboBox)(target));
+            return;
+            case 5:
+            this.BtnAddCardData = ((System.Windows.Controls.Button)(target));
+            
+            #line 33 "..\..\AddDataOfCardWindow.xaml"
+            this.BtnAddCardData.Click += new System.Windows.RoutedEventHandler(this.BtnAddCardData_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
FillingColumn/obj/Debug/App.baml


+ 83 - 0
FillingColumn/obj/Debug/App.g.cs

@@ -0,0 +1,83 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3723DC500440055247F72B965002DC06D9C72215D5C66CE8FE0190C3C377ABE3"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/app.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\App.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            FillingColumn.App app = new FillingColumn.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 83 - 0
FillingColumn/obj/Debug/App.g.i.cs

@@ -0,0 +1,83 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3723DC500440055247F72B965002DC06D9C72215D5C66CE8FE0190C3C377ABE3"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/app.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\App.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            FillingColumn.App app = new FillingColumn.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
FillingColumn/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
FillingColumn/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
FillingColumn/obj/Debug/FillingColumn.Properties.Resources.resources


+ 0 - 0
FillingColumn/obj/Debug/FillingColumn.csproj.CopyComplete


+ 1 - 0
FillingColumn/obj/Debug/FillingColumn.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+617114e0de0a07763e3be8baa5b76c598356c395

+ 46 - 0
FillingColumn/obj/Debug/FillingColumn.csproj.FileListAbsolute.txt

@@ -0,0 +1,46 @@
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\bin\Debug\FillingColumn.exe.config
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\bin\Debug\FillingColumn.exe
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\bin\Debug\FillingColumn.pdb
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csprojAssemblyReference.cache
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\MainWindow.g.cs
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\App.g.cs
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn_MarkupCompile.cache
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn_MarkupCompile.lref
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\MainWindow.baml
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.g.resources
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.Properties.Resources.resources
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csproj.GenerateResource.cache
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csproj.CoreCompileInputs.cache
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.exe
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.pdb
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\bin\Debug\Newtonsoft.Json.dll
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\bin\Debug\Newtonsoft.Json.xml
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\StartWorkPage.g.cs
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\App.baml
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\StartWorkPage.baml
+C:\Users\gr672_pgv\source\repos\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csproj.CopyComplete
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csprojAssemblyReference.cache
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\MainWindow.g.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\RefuelingPage.g.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\StartWorkPage.g.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\App.g.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn_MarkupCompile.cache
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn_MarkupCompile.lref
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.exe
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.pdb
+Z:\WSR\FillingColumn\FillingColumn\bin\Debug\FillingColumn.exe.config
+Z:\WSR\FillingColumn\FillingColumn\bin\Debug\FillingColumn.exe
+Z:\WSR\FillingColumn\FillingColumn\bin\Debug\FillingColumn.pdb
+Z:\WSR\FillingColumn\FillingColumn\bin\Debug\Newtonsoft.Json.dll
+Z:\WSR\FillingColumn\FillingColumn\bin\Debug\Newtonsoft.Json.xml
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\App.baml
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\MainWindow.baml
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\RefuelingPage.baml
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\StartWorkPage.baml
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.g.resources
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.Properties.Resources.resources
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csproj.GenerateResource.cache
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csproj.CoreCompileInputs.cache
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\FillingColumn.csproj.CopyComplete
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\AddDataOfCardWindow.g.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\AddDataOfCardWindow.baml

BIN
FillingColumn/obj/Debug/FillingColumn.csproj.GenerateResource.cache


BIN
FillingColumn/obj/Debug/FillingColumn.csprojAssemblyReference.cache


BIN
FillingColumn/obj/Debug/FillingColumn.exe


BIN
FillingColumn/obj/Debug/FillingColumn.g.resources


BIN
FillingColumn/obj/Debug/FillingColumn.pdb


+ 20 - 0
FillingColumn/obj/Debug/FillingColumn_MarkupCompile.cache

@@ -0,0 +1,20 @@
+FillingColumn
+
+
+winexe
+C#
+.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\
+FillingColumn
+none
+false
+DEBUG;TRACE
+Z:\WSR\FillingColumn\FillingColumn\App.xaml
+4915611580
+
+16-1868983636
+14-1072283763
+AddDataOfCardWindow.xaml;MainWindow.xaml;RefuelingPage.xaml;StartWorkPage.xaml;
+
+False
+

+ 20 - 0
FillingColumn/obj/Debug/FillingColumn_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+FillingColumn
+
+
+winexe
+C#
+.cs
+Z:\WSR\FillingColumn\FillingColumn\obj\Debug\
+FillingColumn
+none
+false
+DEBUG;TRACE
+Z:\WSR\FillingColumn\FillingColumn\App.xaml
+4915611580
+
+171223055212
+14-1072283763
+AddDataOfCardWindow.xaml;MainWindow.xaml;RefuelingPage.xaml;StartWorkPage.xaml;
+
+True
+

+ 5 - 0
FillingColumn/obj/Debug/FillingColumn_MarkupCompile.i.lref

@@ -0,0 +1,5 @@
+
+
+FZ:\WSR\FillingColumn\FillingColumn\AddDataOfCardWindow.xaml;;
+FZ:\WSR\FillingColumn\FillingColumn\RefuelingPage.xaml;;
+

+ 7 - 0
FillingColumn/obj/Debug/FillingColumn_MarkupCompile.lref

@@ -0,0 +1,7 @@
+
+FZ:\WSR\FillingColumn\FillingColumn\App.xaml;;
+FZ:\WSR\FillingColumn\FillingColumn\MainWindow.xaml;;
+FZ:\WSR\FillingColumn\FillingColumn\RefuelingPage.xaml;;
+FZ:\WSR\FillingColumn\FillingColumn\StartWorkPage.xaml;;
+FZ:\WSR\FillingColumn\FillingColumn\AddDataOfCardWindow.xaml;;
+

BIN
FillingColumn/obj/Debug/MainWindow.baml


+ 112 - 0
FillingColumn/obj/Debug/MainWindow.g.cs

@@ -0,0 +1,112 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0D95E3055E6B1D0027876E43FFF88EE485F2ECF006D6A65961B78E6623410B1D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 14 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnBack;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Frame MainFrame;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.BtnBack = ((System.Windows.Controls.Button)(target));
+            
+            #line 14 "..\..\MainWindow.xaml"
+            this.BtnBack.Click += new System.Windows.RoutedEventHandler(this.BtnBack_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            
+            #line 15 "..\..\MainWindow.xaml"
+            this.MainFrame.ContentRendered += new System.EventHandler(this.MainFrame_ContentRendered);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 112 - 0
FillingColumn/obj/Debug/MainWindow.g.i.cs

@@ -0,0 +1,112 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0D95E3055E6B1D0027876E43FFF88EE485F2ECF006D6A65961B78E6623410B1D"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 14 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnBack;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 15 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Frame MainFrame;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.BtnBack = ((System.Windows.Controls.Button)(target));
+            
+            #line 14 "..\..\MainWindow.xaml"
+            this.BtnBack.Click += new System.Windows.RoutedEventHandler(this.BtnBack_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.MainFrame = ((System.Windows.Controls.Frame)(target));
+            
+            #line 15 "..\..\MainWindow.xaml"
+            this.MainFrame.ContentRendered += new System.EventHandler(this.MainFrame_ContentRendered);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
FillingColumn/obj/Debug/RefuelingPage.baml


+ 252 - 0
FillingColumn/obj/Debug/RefuelingPage.g.cs

@@ -0,0 +1,252 @@
+#pragma checksum "..\..\RefuelingPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "440C15607B9DCCC0765FCE1CD4F6B56127F24E79996BA90E07582221141C64ED"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// RefuelingPage
+    /// </summary>
+    public partial class RefuelingPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 29 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtDataOfCamera;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 31 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbTypeOfFuel;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbTypeOfRefueling;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbTypeOfPayment;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 36 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtCardNumber;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 37 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnEnterDataOfCard;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 50 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtErroreMessage;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 52 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtAmount;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 53 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbAmount;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 55 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtCost;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 56 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbCost;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 57 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnPayment;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/refuelingpage.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\RefuelingPage.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TxtDataOfCamera = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 2:
+            this.CmbTypeOfFuel = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 31 "..\..\RefuelingPage.xaml"
+            this.CmbTypeOfFuel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTypeOfFuel_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.CmbTypeOfRefueling = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 33 "..\..\RefuelingPage.xaml"
+            this.CmbTypeOfRefueling.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTypeOfRefueling_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.CmbTypeOfPayment = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 35 "..\..\RefuelingPage.xaml"
+            this.CmbTypeOfPayment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTypeOfPayment_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.TxtCardNumber = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 6:
+            this.BtnEnterDataOfCard = ((System.Windows.Controls.Button)(target));
+            
+            #line 37 "..\..\RefuelingPage.xaml"
+            this.BtnEnterDataOfCard.Click += new System.Windows.RoutedEventHandler(this.BtnEnterDataOfCard_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 7:
+            this.TxtErroreMessage = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 8:
+            this.TxtAmount = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 9:
+            this.TbAmount = ((System.Windows.Controls.TextBox)(target));
+            
+            #line 53 "..\..\RefuelingPage.xaml"
+            this.TbAmount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TbAmount_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 10:
+            this.TxtCost = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 11:
+            this.TbCost = ((System.Windows.Controls.TextBox)(target));
+            
+            #line 56 "..\..\RefuelingPage.xaml"
+            this.TbCost.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TbCost_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 12:
+            this.BtnPayment = ((System.Windows.Controls.Button)(target));
+            
+            #line 57 "..\..\RefuelingPage.xaml"
+            this.BtnPayment.Click += new System.Windows.RoutedEventHandler(this.BtnPayment_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 252 - 0
FillingColumn/obj/Debug/RefuelingPage.g.i.cs

@@ -0,0 +1,252 @@
+#pragma checksum "..\..\RefuelingPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "440C15607B9DCCC0765FCE1CD4F6B56127F24E79996BA90E07582221141C64ED"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// RefuelingPage
+    /// </summary>
+    public partial class RefuelingPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 29 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtDataOfCamera;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 31 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbTypeOfFuel;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 33 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbTypeOfRefueling;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 35 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.ComboBox CmbTypeOfPayment;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 36 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtCardNumber;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 37 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnEnterDataOfCard;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 50 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtErroreMessage;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 52 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtAmount;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 53 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbAmount;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 55 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock TxtCost;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 56 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TbCost;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 57 "..\..\RefuelingPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnPayment;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/refuelingpage.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\RefuelingPage.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TxtDataOfCamera = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 2:
+            this.CmbTypeOfFuel = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 31 "..\..\RefuelingPage.xaml"
+            this.CmbTypeOfFuel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTypeOfFuel_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.CmbTypeOfRefueling = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 33 "..\..\RefuelingPage.xaml"
+            this.CmbTypeOfRefueling.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTypeOfRefueling_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.CmbTypeOfPayment = ((System.Windows.Controls.ComboBox)(target));
+            
+            #line 35 "..\..\RefuelingPage.xaml"
+            this.CmbTypeOfPayment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTypeOfPayment_SelectionChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.TxtCardNumber = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 6:
+            this.BtnEnterDataOfCard = ((System.Windows.Controls.Button)(target));
+            
+            #line 37 "..\..\RefuelingPage.xaml"
+            this.BtnEnterDataOfCard.Click += new System.Windows.RoutedEventHandler(this.BtnEnterDataOfCard_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 7:
+            this.TxtErroreMessage = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 8:
+            this.TxtAmount = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 9:
+            this.TbAmount = ((System.Windows.Controls.TextBox)(target));
+            
+            #line 53 "..\..\RefuelingPage.xaml"
+            this.TbAmount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TbAmount_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 10:
+            this.TxtCost = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 11:
+            this.TbCost = ((System.Windows.Controls.TextBox)(target));
+            
+            #line 56 "..\..\RefuelingPage.xaml"
+            this.TbCost.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TbCost_TextChanged);
+            
+            #line default
+            #line hidden
+            return;
+            case 12:
+            this.BtnPayment = ((System.Windows.Controls.Button)(target));
+            
+            #line 57 "..\..\RefuelingPage.xaml"
+            this.BtnPayment.Click += new System.Windows.RoutedEventHandler(this.BtnPayment_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
FillingColumn/obj/Debug/StartWorkPage.baml


+ 106 - 0
FillingColumn/obj/Debug/StartWorkPage.g.cs

@@ -0,0 +1,106 @@
+#pragma checksum "..\..\StartWorkPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E4041F72C68F6252CB5438172144194F9F325CB03ABEC189C79420EA3C624750"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// StartWorkPage
+    /// </summary>
+    public partial class StartWorkPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\StartWorkPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtIDStation;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\StartWorkPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnConnectToStation;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/startworkpage.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\StartWorkPage.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TxtIDStation = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 2:
+            this.BtnConnectToStation = ((System.Windows.Controls.Button)(target));
+            
+            #line 21 "..\..\StartWorkPage.xaml"
+            this.BtnConnectToStation.Click += new System.Windows.RoutedEventHandler(this.BtnConnectToStation_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 106 - 0
FillingColumn/obj/Debug/StartWorkPage.g.i.cs

@@ -0,0 +1,106 @@
+#pragma checksum "..\..\StartWorkPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E4041F72C68F6252CB5438172144194F9F325CB03ABEC189C79420EA3C624750"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using FillingColumn;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace FillingColumn {
+    
+    
+    /// <summary>
+    /// StartWorkPage
+    /// </summary>
+    public partial class StartWorkPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 18 "..\..\StartWorkPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox TxtIDStation;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\StartWorkPage.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button BtnConnectToStation;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/FillingColumn;component/startworkpage.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\StartWorkPage.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.TxtIDStation = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 2:
+            this.BtnConnectToStation = ((System.Windows.Controls.Button)(target));
+            
+            #line 21 "..\..\StartWorkPage.xaml"
+            this.BtnConnectToStation.Click += new System.Windows.RoutedEventHandler(this.BtnConnectToStation_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
FillingColumn/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll


+ 4 - 0
FillingColumn/packages.config

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+  <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
+</packages>

BIN
packages/Newtonsoft.Json.12.0.3/.signature.p7s


+ 20 - 0
packages/Newtonsoft.Json.12.0.3/LICENSE.md

@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2007 James Newton-King
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

BIN
packages/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg


BIN
packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 10298 - 0
packages/Newtonsoft.Json.12.0.3/lib/net20/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 9446 - 0
packages/Newtonsoft.Json.12.0.3/lib/net35/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 9646 - 0
packages/Newtonsoft.Json.12.0.3/lib/net40/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 11262 - 0
packages/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 10950 - 0
packages/Newtonsoft.Json.12.0.3/lib/netstandard1.0/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 11072 - 0
packages/Newtonsoft.Json.12.0.3/lib/netstandard1.3/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 11237 - 0
packages/Newtonsoft.Json.12.0.3/lib/netstandard2.0/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 9010 - 0
packages/Newtonsoft.Json.12.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 10950 - 0
packages/Newtonsoft.Json.12.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml


BIN
packages/Newtonsoft.Json.12.0.3/packageIcon.png