initial
This commit is contained in:
commit
10216cf559
|
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Express 2012 for Windows Desktop
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AquaparkMonitor", "AquaparkMonitor\AquaparkMonitor.csproj", "{1F09E7B4-7955-450A-8112-B8D8A95471B0}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{1F09E7B4-7955-450A-8112-B8D8A95471B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{1F09E7B4-7955-450A-8112-B8D8A95471B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{1F09E7B4-7955-450A-8112-B8D8A95471B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{1F09E7B4-7955-450A-8112-B8D8A95471B0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
|
||||||
|
<supportedRuntime version="v2.0.50727"/></startup>
|
||||||
|
</configuration>
|
||||||
|
|
@ -0,0 +1,132 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" 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>{1F09E7B4-7955-450A-8112-B8D8A95471B0}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>AquaparkMonitor</RootNamespace>
|
||||||
|
<AssemblyName>AquaparkMonitor</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</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>
|
||||||
|
<PropertyGroup>
|
||||||
|
<StartupObject />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="MiniHttpd, Version=1.2.0.3504, Culture=neutral">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>Properties\MiniHttpd.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="ConsoleWriter.cs" />
|
||||||
|
<Compile Include="AquaparkmonitForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="AquaparkmonitForm.Designer.cs">
|
||||||
|
<DependentUpon>AquaparkmonitForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="AquaparkmonitForm.resx">
|
||||||
|
<DependentUpon>AquaparkmonitForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="favicon.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||||
|
<InstallUrlHistory />
|
||||||
|
<SupportUrlHistory />
|
||||||
|
<UpdateUrlHistory />
|
||||||
|
<BootstrapperUrlHistory />
|
||||||
|
<ErrorReportUrlHistory />
|
||||||
|
<FallbackCulture>en-US</FallbackCulture>
|
||||||
|
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -0,0 +1,100 @@
|
||||||
|
namespace AquaparkMonitor
|
||||||
|
{
|
||||||
|
partial class Aquamonit
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Aquamonit));
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.monitor_timer = new System.Windows.Forms.Timer(this.components);
|
||||||
|
this.ntp_timer = new System.Windows.Forms.Timer(this.components);
|
||||||
|
this.clock_timer = new System.Windows.Forms.Timer(this.components);
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(58, 41);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 0;
|
||||||
|
this.button1.Text = "button1";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(58, 126);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "label1";
|
||||||
|
//
|
||||||
|
// monitor_timer
|
||||||
|
//
|
||||||
|
this.monitor_timer.Enabled = true;
|
||||||
|
this.monitor_timer.Interval = 10000;
|
||||||
|
//
|
||||||
|
// ntp_timer
|
||||||
|
//
|
||||||
|
this.ntp_timer.Enabled = true;
|
||||||
|
this.ntp_timer.Interval = 100000;
|
||||||
|
//
|
||||||
|
// clock_timer
|
||||||
|
//
|
||||||
|
this.clock_timer.Enabled = true;
|
||||||
|
this.clock_timer.Interval = 1000;
|
||||||
|
//
|
||||||
|
// Aquamonit
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(284, 262);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.Name = "Aquamonit";
|
||||||
|
this.Text = "Aquapark Monitor";
|
||||||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Timer monitor_timer;
|
||||||
|
private System.Windows.Forms.Timer ntp_timer;
|
||||||
|
private System.Windows.Forms.Timer clock_timer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,246 @@
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Xml;
|
||||||
|
using System.Runtime.Serialization.Formatters.Binary;
|
||||||
|
using MiniHttpd;
|
||||||
|
namespace AquaparkMonitor
|
||||||
|
{
|
||||||
|
public partial class Aquamonit : Form
|
||||||
|
{
|
||||||
|
|
||||||
|
// server settings
|
||||||
|
string sServerSettingsXML = "MiniHttpdSettings.xml"; //plik XML dla serwera HTTP
|
||||||
|
int iServerPort = 3400;
|
||||||
|
string sHostName = "aquapark_monitor";
|
||||||
|
|
||||||
|
// app settings
|
||||||
|
string sSettingsAppFile = "settings.xml";
|
||||||
|
string sEsokDir = "C:\\esok_file\\"; //katalog pliku ESOK
|
||||||
|
string sNTPServer = "pl.pool.ntp.org";
|
||||||
|
string sEsokFilename = "statystyka_esok.xml";
|
||||||
|
|
||||||
|
int iIntervalSek = 10; // czas odswierzania danych w monitoringu w sekundach
|
||||||
|
int iTempDzie = 20;
|
||||||
|
int iTempRek = 20;
|
||||||
|
|
||||||
|
|
||||||
|
// serwer
|
||||||
|
HttpWebServer server = new HttpWebServer();
|
||||||
|
BasicAuthenticator auth = new BasicAuthenticator();
|
||||||
|
string sRootPath = Path.GetDirectoryName(Application.ExecutablePath) + "\\server\\";
|
||||||
|
|
||||||
|
// Load App Start Settings
|
||||||
|
private void LoadAppSettings()
|
||||||
|
{
|
||||||
|
XmlDocument doc;
|
||||||
|
XmlElement docElement;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
doc = new XmlDocument();
|
||||||
|
doc.Load(sSettingsAppFile);
|
||||||
|
|
||||||
|
docElement = doc.DocumentElement;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Load Server HTTP Settings
|
||||||
|
private void LoadSettings()
|
||||||
|
{
|
||||||
|
XmlDocument doc;
|
||||||
|
XmlElement docElement;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
doc = new XmlDocument();
|
||||||
|
doc.Load(sServerSettingsXML);
|
||||||
|
|
||||||
|
docElement = doc.DocumentElement;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.Port = int.Parse(docElement["Port"].InnerText);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.HostName = docElement["HostName"].InnerText;
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
foreach (XmlElement user in docElement["Users"].ChildNodes)
|
||||||
|
{
|
||||||
|
auth.AddUserByHash(user["Name"].InnerText, user["Password"].InnerText);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//catch { }
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//zapis ustawien serwera do pliku
|
||||||
|
void SaveSettings()
|
||||||
|
{
|
||||||
|
if (InvokeRequired)
|
||||||
|
{
|
||||||
|
Invoke(new MethodInvoker(SaveSettings));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
XmlDocument doc = new XmlDocument();
|
||||||
|
doc.AppendChild(doc.CreateElement("MiniHttpdSettings"));
|
||||||
|
XmlElement element;
|
||||||
|
XmlElement docElement = doc.DocumentElement;
|
||||||
|
|
||||||
|
element = doc.CreateElement("Port");
|
||||||
|
docElement.AppendChild(element);
|
||||||
|
element.InnerText = iServerPort.ToString();
|
||||||
|
|
||||||
|
element = doc.CreateElement("HostName");
|
||||||
|
docElement.AppendChild(element);
|
||||||
|
element.InnerText = sHostName;
|
||||||
|
|
||||||
|
element = doc.CreateElement("Users");
|
||||||
|
docElement.AppendChild(element);
|
||||||
|
if (auth.Users != null)
|
||||||
|
foreach (string username in auth.Users)
|
||||||
|
{
|
||||||
|
XmlElement user = doc.CreateElement("User");
|
||||||
|
XmlElement nameElement = doc.CreateElement("Name");
|
||||||
|
XmlElement passwordElement = doc.CreateElement("Password");
|
||||||
|
|
||||||
|
nameElement.InnerText = username;
|
||||||
|
passwordElement.InnerText = auth.GetPasswordHash(username);
|
||||||
|
|
||||||
|
user.AppendChild(nameElement);
|
||||||
|
user.AppendChild(passwordElement);
|
||||||
|
element.AppendChild(user);
|
||||||
|
}
|
||||||
|
|
||||||
|
doc.Save(sServerSettingsXML);
|
||||||
|
}
|
||||||
|
catch(Exception e)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Error saving server settings:");
|
||||||
|
Console.WriteLine(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Aquamonit()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
server.Authenticator = auth;
|
||||||
|
server.RequireAuthentication = true;
|
||||||
|
server.Root = new DriveDirectory(sRootPath);
|
||||||
|
server.RequestReceived += server_RequestReceived;
|
||||||
|
//auth.AddUser("user", "user123");
|
||||||
|
//SaveSettings();
|
||||||
|
LoadSettings();
|
||||||
|
//start serwera
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.Start();
|
||||||
|
}
|
||||||
|
catch (Exception e2)
|
||||||
|
{
|
||||||
|
Console.Error.WriteLine(e2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void server_RequestReceived(object sender, RequestEventArgs e)
|
||||||
|
{
|
||||||
|
HttpRequest request = e.Request;
|
||||||
|
|
||||||
|
switch (request.Method)
|
||||||
|
{
|
||||||
|
case "GET":
|
||||||
|
//Otwieramy plik i podmieniamy pola
|
||||||
|
break;
|
||||||
|
case "POST":
|
||||||
|
|
||||||
|
MemoryStream stream = request.PostData;
|
||||||
|
stream.Position = 0;
|
||||||
|
var sr = new StreamReader(stream);
|
||||||
|
string data = sr.ReadToEnd(); // POST data
|
||||||
|
// wykonujemy zapis danych do zmiennych
|
||||||
|
string post_data = Uri.UnescapeDataString(data);
|
||||||
|
string[] elements = post_data.Split('&'); //tworzymy tablice z elementami formularza
|
||||||
|
// iterujemy po wszystkich elementach
|
||||||
|
foreach (string ele in elements)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(ele))
|
||||||
|
{
|
||||||
|
//kazdy element rozdzielamy na dwa
|
||||||
|
string[] in_el = ele.Split('=');
|
||||||
|
switch (in_el[0])
|
||||||
|
{
|
||||||
|
case "temp_dzie":
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "temp_rek":
|
||||||
|
break;
|
||||||
|
case "interval":
|
||||||
|
break;
|
||||||
|
case "esok_dir":
|
||||||
|
break;
|
||||||
|
case "server_ntp":
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// ... i wywolujemy zapis do pliku z ustawieniami
|
||||||
|
|
||||||
|
//Console.WriteLine(Uri.UnescapeDataString(data));
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
server.Stop();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,154 @@
|
||||||
|
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<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" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</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" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</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>
|
||||||
|
<metadata name="monitor_timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="ntp_timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>146, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="clock_timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>250, 17</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAABMLAAATCwAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAAAAAAAA6KQAkuikAPzopABjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAOikAHfopAD/6KQA8uikABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADopABZ6KQA/+ikAP/opACJAAAAAAAAAAAAAAAAAAAAAOik
|
||||||
|
ABTopABk6KQAIwAAAAAAAAAAAAAAAAAAAAAAAAAA6KQAP+ikAP/opAD/6KQA+OikADQAAAAA6KQAPOik
|
||||||
|
AJXopADl6KQA/+ikAHMAAAAAAAAAAAAAAAAAAAAAAAAAAOikACPopAD+6KQA/+ikAP/opAD36KQA3uik
|
||||||
|
APbopAD/6KQA/+ikAPnopAAiAAAAAAAAAAAAAAAAAAAAAAAAAADopAAZ6KQA+OikAP/opAD/6KQA/+ik
|
||||||
|
AP/opAD/6KQA/+ikAP/opAB6AAAAAAAAAADopAAZ6KQAaOikAIfopACa6KQA4OikAP/opAD/6KQA/+ik
|
||||||
|
AP/opAD/6KQA/+ikAP/opADF6KQAAgAAAAAAAAAA6KQAzeikAP/opAD/6KQA/+ikAP/opAD/6KQA/+ik
|
||||||
|
AP/opAD/6KQA/+ikAP/opAD/6KQAVAAAAAAAAAAAAAAAAOikAHnopADU6KQA++ikAP/opAD/6KQA/+ik
|
||||||
|
AP/opAD/6KQA/+ikAP/opAD/6KQA/+ikAIUAAAAAAAAAAAAAAAAAAAAA6KQAAuikADzopACZ6KQA5uik
|
||||||
|
AP/opAD/6KQA/+ikAP/opAD/6KQA/+ikAP/opAD66KQARwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOik
|
||||||
|
ABXopADR6KQA/+ikAP/opAD/6KQA/+ikAP/opAD/6KQA/+ikAPbopAA4AAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAA6KQAhOikAP/opAD/6KQA/+ikAOTopAC06KQA6+ikAP/opAD/6KQAxgAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAOikAIXopAD/6KQA/+ikAMLopAAKAAAAAOikAAPopABH6KQAoeikAIcAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAADopACs6KQA/+ikAOvopAAWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAAAAAAAA6KQA2+ikAP/opABeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAOikAMnopACp6KQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
AAAAAAAA8f9tcPD/ZW7w8VxJ8EE7Q/ABUHLwA3JhAANGaQAHcyAABzg2gANJbvABbFz4AXRl+CFSKfh/
|
||||||
|
YW74/2Vt+P90IA==
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace AquaparkMonitor
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Summary description for ConsoleWriter.
|
||||||
|
/// </summary>
|
||||||
|
public class ConsoleWriter : TextWriter
|
||||||
|
{
|
||||||
|
|
||||||
|
public override System.Text.Encoding Encoding
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return System.Text.Encoding.Default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Write(char[] buffer, int index, int count)
|
||||||
|
{
|
||||||
|
if(OnWrite != null)
|
||||||
|
OnWrite(buffer, index, count);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Write(char value)
|
||||||
|
{
|
||||||
|
Write(new char[] {value}, 0, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public delegate void WriteEventHandler(char[] buffer, int index, int count);
|
||||||
|
public event WriteEventHandler OnWrite;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,88 @@
|
||||||
|
namespace AquaparkMonitor
|
||||||
|
{
|
||||||
|
partial class Form1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(58, 41);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button1.TabIndex = 0;
|
||||||
|
this.button1.Text = "button1";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(58, 126);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "label1";
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(167, 84);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.button2.TabIndex = 2;
|
||||||
|
this.button2.Text = "button2";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(284, 262);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Name = "Form1";
|
||||||
|
this.Text = "Form1";
|
||||||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,271 @@
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Xml;
|
||||||
|
using System.Runtime.Serialization.Formatters.Binary;
|
||||||
|
using MiniHttpd;
|
||||||
|
namespace AquaparkMonitor
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
string sServerSettingsXML = "MiniHttpdSettings.xml";
|
||||||
|
string sServerLogFile = "MiniHttpdlog.log";
|
||||||
|
// serwer
|
||||||
|
HttpWebServer server = new HttpWebServer();
|
||||||
|
|
||||||
|
|
||||||
|
bool autoStart = true;
|
||||||
|
|
||||||
|
bool logToScreen = true;
|
||||||
|
StreamWriter logWriter;
|
||||||
|
|
||||||
|
bool silent = false;
|
||||||
|
|
||||||
|
string rootPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
|
||||||
|
MemoryStream serializedVirtualRoot;
|
||||||
|
|
||||||
|
public enum DirectoryType
|
||||||
|
{
|
||||||
|
Drive,
|
||||||
|
Virtual
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ToogleRootFolderType()
|
||||||
|
{
|
||||||
|
if (server.Root is VirtualDirectory)
|
||||||
|
{
|
||||||
|
BinaryFormatter formatter = new BinaryFormatter();
|
||||||
|
serializedVirtualRoot = new MemoryStream();
|
||||||
|
formatter.Serialize(serializedVirtualRoot, server.Root);
|
||||||
|
server.Root = new DriveDirectory(rootPath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (serializedVirtualRoot == null)
|
||||||
|
server.Root = new VirtualDirectory();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
BinaryFormatter formatter = new BinaryFormatter();
|
||||||
|
serializedVirtualRoot.Seek(0, SeekOrigin.Begin);
|
||||||
|
server.Root = formatter.Deserialize(serializedVirtualRoot) as VirtualDirectory;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void writer_OnWrite(char[] buffer, int index, int count)
|
||||||
|
{
|
||||||
|
string text = new string(buffer, index, count);
|
||||||
|
|
||||||
|
if (logToScreen)
|
||||||
|
Console.Write(text);
|
||||||
|
|
||||||
|
if (logWriter != null)
|
||||||
|
logWriter.Write(text);
|
||||||
|
}
|
||||||
|
private void LoadSettings()
|
||||||
|
{
|
||||||
|
XmlDocument doc;
|
||||||
|
XmlElement docElement;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
doc = new XmlDocument();
|
||||||
|
doc.Load(sServerSettingsXML);
|
||||||
|
|
||||||
|
docElement = doc.DocumentElement;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
rootPath = Path.GetDirectoryName(Application.ExecutablePath);//docElement["RootFolder"].InnerText;
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
DirectoryType type = (DirectoryType)Enum.Parse(typeof(DirectoryType), docElement["RootType"].InnerText);
|
||||||
|
if ((server.Root is VirtualDirectory && type == DirectoryType.Drive) ||
|
||||||
|
server.Root is DriveDirectory && type == DirectoryType.Virtual)
|
||||||
|
ToogleRootFolderType();
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
serializedVirtualRoot = new MemoryStream(Convert.FromBase64String(docElement["VirtualDir"].InnerText));
|
||||||
|
if (server.Root is VirtualDirectory)
|
||||||
|
{
|
||||||
|
BinaryFormatter formatter = new BinaryFormatter();
|
||||||
|
serializedVirtualRoot.Seek(0, SeekOrigin.Begin);
|
||||||
|
server.Root = formatter.Deserialize(serializedVirtualRoot) as VirtualDirectory;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.Port = int.Parse(docElement["Port"].InnerText);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
autoStart = bool.Parse(docElement["AutoStart"].InnerText);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.LogConnections = bool.Parse(docElement["LogConnections"].InnerText);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.LogRequests = bool.Parse(docElement["LogRequests"].InnerText);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ToggleLogWriter(bool.Parse(docElement["LogToFile"].InnerText));
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
logToScreen = bool.Parse(docElement["LogToScreen"].InnerText);
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.HostName = docElement["HostName"].InnerText;
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
foreach (XmlElement user in docElement["Users"].ChildNodes)
|
||||||
|
{
|
||||||
|
logWriter.Write(user["Name"].InnerText);
|
||||||
|
logWriter.Write(user["Password"].InnerText);
|
||||||
|
(server.Authenticator as BasicAuthenticator).AddUserByHash(user["Name"].InnerText, user["Password"].InnerText);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//catch { }
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ToggleLogWriter()
|
||||||
|
{
|
||||||
|
if (logWriter != null)
|
||||||
|
ToggleLogWriter(false);
|
||||||
|
else
|
||||||
|
ToggleLogWriter(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ToggleLogWriter(bool logToFile)
|
||||||
|
{
|
||||||
|
if (logToFile)
|
||||||
|
{
|
||||||
|
if (logWriter == null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
FileStream stream = new FileStream(sServerLogFile, FileMode.Append, FileAccess.Write, FileShare.Read, 128);
|
||||||
|
logWriter = new StreamWriter(stream);
|
||||||
|
logWriter.AutoFlush = true;
|
||||||
|
|
||||||
|
logWriter.WriteLine("-------------------------------------------------------");
|
||||||
|
logWriter.WriteLine("* Beginning log at " + DateTime.Now);
|
||||||
|
logWriter.WriteLine("-------------------------------------------------------");
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (logWriter != null)
|
||||||
|
{
|
||||||
|
logWriter.Close();
|
||||||
|
logWriter = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ConsoleWriter writer = new ConsoleWriter();
|
||||||
|
server.Log = writer;
|
||||||
|
server.RequireAuthentication = true;
|
||||||
|
writer.OnWrite += new ConsoleWriter.WriteEventHandler(writer_OnWrite);
|
||||||
|
ToggleLogWriter(true);
|
||||||
|
|
||||||
|
LoadSettings();
|
||||||
|
|
||||||
|
if (silent)
|
||||||
|
{
|
||||||
|
Console.SetOut(System.IO.TextWriter.Null);
|
||||||
|
Console.SetError(System.IO.TextWriter.Null);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.Start();
|
||||||
|
while (server.IsRunning)
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
catch (Exception e1)
|
||||||
|
{
|
||||||
|
Console.Error.WriteLine(e1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (autoStart)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
server.Start();
|
||||||
|
Console.WriteLine();
|
||||||
|
}
|
||||||
|
catch (Exception e2)
|
||||||
|
{
|
||||||
|
Console.Error.WriteLine(e2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
|
{
|
||||||
|
server.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,120 @@
|
||||||
|
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<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" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</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" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace AquaparkMonitor
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The main entry point for the application.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new Aquamonit());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("AquaparkMonitor")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("AquaparkMonitor")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2015")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
|
// to COM components. If you need to access a type in this assembly from
|
||||||
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
[assembly: Guid("1c8f2751-e2e6-4665-b2ce-0220738e7180")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.34209
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace AquaparkMonitor.Properties {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
|
/// </summary>
|
||||||
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||||
|
// class via a tool like ResGen or Visual Studio.
|
||||||
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
|
// with the /str option, or rebuild your VS project.
|
||||||
|
[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>
|
||||||
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
|
get {
|
||||||
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AquaparkMonitor.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Overrides the current thread's CurrentUICulture property for all
|
||||||
|
/// resource lookups using this strongly typed resource class.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
|
get {
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.34209
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace AquaparkMonitor.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
Odczyt i zapis pliku settings.xml
|
||||||
|
podmiana index.html z server_back
|
||||||
|
|
||||||
|
Odczyt uzytkownika i hasła z MiniHttpdSettigs.xml
|
||||||
|
logo dorzucić do pliku
|
||||||
|
wyglšd monitora
|
||||||
|
NTP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
|
||||||
|
<supportedRuntime version="v2.0.50727"/></startup>
|
||||||
|
</configuration>
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
|
||||||
|
<supportedRuntime version="v2.0.50727"/></startup>
|
||||||
|
</configuration>
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||||
|
</requestedPrivileges>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
</assembly>
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,10 @@
|
||||||
|
<MiniHttpdSettings>
|
||||||
|
<Port>3400</Port>
|
||||||
|
<HostName>aquapark_monitor</HostName>
|
||||||
|
<Users>
|
||||||
|
<User>
|
||||||
|
<Name>user</Name>
|
||||||
|
<Password>6AD14BA9986E3615423DFCA256D04E3F</Password>
|
||||||
|
</User>
|
||||||
|
</Users>
|
||||||
|
</MiniHttpdSettings>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
-------------------------------------------------------
|
||||||
|
* Beginning log at 2015-03-17 13:47:11
|
||||||
|
-------------------------------------------------------
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -0,0 +1,5 @@
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
Hello World
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -0,0 +1,54 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<title>Aquapark Monitor Konfiguracja</title>
|
||||||
|
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: #0080FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-family: "Times New Roman";
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<center>
|
||||||
|
<h1>Konfiguracja dla Monitoringu</h1>
|
||||||
|
<br />
|
||||||
|
<form action="#" method="post">
|
||||||
|
<p></p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th colspan="2">Temperatura wody w basenach</th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td>dziecięcym:</td><td><input type="text" name="temp_dzie" id="temp_dzie" value="20" /></td></tr>
|
||||||
|
<tr><td>rekreacyjnym:</td><td><input type="text" name="temp_rek" id="temp_rek" value="21" /></td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th colspan="2">Ustawienia Monitoringu</th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td>Czas odświerzania (sek):</td><td><input type="text" name="interval" id="interval" value="10" /></td></tr>
|
||||||
|
<tr><td>Katalog z plikiem ESOK:</td><td><input type="text" name="esok_dir" id="esok_dir" value="c:\esok_file" style="width:300px" /></td></tr>
|
||||||
|
<tr><td>Serwer NTP:</td><td><input type="text" name="server_ntp" id="server_ntp" value="pl.pool.ntp.org" style="width:250px" /></td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
<input type="submit" value="Zapisz">
|
||||||
|
</form>
|
||||||
|
</center>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -0,0 +1,54 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<title>Aquapark Monitor Konfiguracja</title>
|
||||||
|
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: #89BCC9;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-family: "Times New Roman";
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<center>
|
||||||
|
<h1>Konfiguracja dla Monitoringu</h1>
|
||||||
|
<br />
|
||||||
|
<form action="#" method="post">
|
||||||
|
<p></p>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th colspan="2">Temperatura wody w basenach</th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td>dziecięcym:</td><td><input type="text" name="temp_dzie" id="temp_dzie" value="{temp_dzie}" /></td></tr>
|
||||||
|
<tr><td>rekreacyjnym:</td><td><input type="text" name="temp_rek" id="temp_rek" value="{temp_rek}" /></td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th colspan="2">Ustawienia Monitoringu</th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td>Czas odświerzania (sek):</td><td><input type="text" name="interval" id="interval" value="{interval}" /></td></tr>
|
||||||
|
<tr><td>Katalog z plikiem ESOK:</td><td><input type="text" name="esok_dir" id="esok_dir" value="{esok_dir}" style="width:300px" /></td></tr>
|
||||||
|
<tr><td>Serwer NTP:</td><td><input type="text" name="server_ntp" id="server_ntp" value="{server_ntp}" style="width:250px" /></td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
<input type="submit" value="Zapisz">
|
||||||
|
</form>
|
||||||
|
</center>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Settings>
|
||||||
|
<EsokDir>C:\esok_file</EsokDir>
|
||||||
|
<NTP>3400</NTP>
|
||||||
|
<TempDziec>21</TempDziec>
|
||||||
|
<TempRek>22</TempRek>
|
||||||
|
<Interval>10</Interval>
|
||||||
|
</Settings>
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
|
||||||
|
<supportedRuntime version="v2.0.50727"/></startup>
|
||||||
|
</configuration>
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
|
||||||
|
<supportedRuntime version="v2.0.50727"/></startup>
|
||||||
|
</configuration>
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||||
|
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||||
|
<security>
|
||||||
|
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||||
|
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||||
|
</requestedPrivileges>
|
||||||
|
</security>
|
||||||
|
</trustInfo>
|
||||||
|
</assembly>
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,13 @@
|
||||||
|
<MiniHttpdSettings>
|
||||||
|
<VirtualDir>AAEAAAD/////AQAAAAAAAAAMAgAAAENNaW5pSHR0cGQsIFZlcnNpb249MS4yLjAuMTE4NCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1udWxsBQEAAAAaTWluaUh0dHBkLlZpcnR1YWxEaXJlY3RvcnkEAAAAC2RpcmVjdG9yaWVzBWZpbGVzBG5hbWUGcGFyZW50AwMBBBxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlHFN5c3RlbS5Db2xsZWN0aW9ucy5IYXNodGFibGUUTWluaUh0dHBkLklEaXJlY3RvcnkCAAAAAgAAAAkDAAAACQQAAAAGBQAAAAEvCgQDAAAAHFN5c3RlbS5Db2xsZWN0aW9ucy5IYXNodGFibGUHAAAACkxvYWRGYWN0b3IHVmVyc2lvbghDb21wYXJlchBIYXNoQ29kZVByb3ZpZGVyCEhhc2hTaXplBEtleXMGVmFsdWVzAAADAwAFBQsIHFN5c3RlbS5Db2xsZWN0aW9ucy5JQ29tcGFyZXIkU3lzdGVtLkNvbGxlY3Rpb25zLklIYXNoQ29kZVByb3ZpZGVyCOxROD8AAAAACgoLAAAACQYAAAAJBwAAAAEEAAAAAwAAAOxROD8BAAAACgoLAAAACQgAAAAJCQAAABAGAAAAAAAAABAHAAAAAAAAABAIAAAAAQAAAAYKAAAACmluZGV4Lmh0bWwQCQAAAAEAAAAJCwAAAAULAAAAE01pbmlIdHRwZC5Ecml2ZUZpbGUDAAAABHBhdGgEbmFtZQZwYXJlbnQBAQQaTWluaUh0dHBkLlZpcnR1YWxEaXJlY3RvcnkCAAAAAgAAAAYMAAAAG2Q6XFByb2pla3R5XGNzc3lcaW5kZXguaHRtbAkKAAAACQEAAAAL</VirtualDir>
|
||||||
|
<RootFolder>C:\Users\oem\Documents</RootFolder>
|
||||||
|
<RootType>Virtual</RootType>
|
||||||
|
<Port>3300</Port>
|
||||||
|
<AutoStart>True</AutoStart>
|
||||||
|
<LogConnections>False</LogConnections>
|
||||||
|
<LogRequests>False</LogRequests>
|
||||||
|
<LogToFile>True</LogToFile>
|
||||||
|
<LogToScreen>True</LogToScreen>
|
||||||
|
<HostName>oem-komputer</HostName>
|
||||||
|
<IndexPageStyle>Basic</IndexPageStyle>
|
||||||
|
</MiniHttpdSettings>
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Settings>
|
||||||
|
<EsokDir>C:\esok_file</EsokDir>
|
||||||
|
<NTP>3400</NTP>
|
||||||
|
<TempDziec>21</TempDziec>
|
||||||
|
<TempRek>22</TempRek>
|
||||||
|
<Interval>10</Interval>
|
||||||
|
</Settings>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,30 @@
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.exe.config
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.exe
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.pdb
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\bin\Debug\MiniHttpd.dll
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.csprojResolveAssemblyReference.cache
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.Form1.resources
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.Properties.Resources.resources
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.csproj.GenerateResource.Cache
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.exe
|
||||||
|
c:\users\oem\documents\visual studio 2012\Projects\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.pdb
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.exe.config
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.exe
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.pdb
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.exe
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.pdb
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\MiniHttpd.dll
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.csprojResolveAssemblyReference.cache
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.Properties.Resources.resources
|
||||||
|
c:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.csproj.GenerateResource.Cache
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.Aquamonit.resources
|
||||||
|
d:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.exe.config
|
||||||
|
d:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.exe
|
||||||
|
d:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.pdb
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.csprojResolveAssemblyReference.cache
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.Aquamonit.resources
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.Properties.Resources.resources
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Debug\AquaparkMonitor.csproj.GenerateResource.Cache
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.exe
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\AquaparkMonitor.pdb
|
||||||
|
D:\Projekty\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Debug\MiniHttpd.dll
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,9 @@
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Release\AquaparkMonitor.exe.config
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Release\AquaparkMonitor.exe
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Release\AquaparkMonitor.pdb
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\bin\Release\MiniHttpd.dll
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Release\AquaparkMonitor.Aquamonit.resources
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Release\AquaparkMonitor.Properties.Resources.resources
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Release\AquaparkMonitor.csproj.GenerateResource.Cache
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Release\AquaparkMonitor.exe
|
||||||
|
C:\C-sharp\AquaparkMonitor\AquaparkMonitor\obj\Release\AquaparkMonitor.pdb
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue