Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
U-JOHNLIU\jonhl committed Apr 5, 2021
0 parents commit 42b0b35
Show file tree
Hide file tree
Showing 15 changed files with 1,850 additions and 0 deletions.
Binary file added .vs/dgiot_dtu/v14/.suo
Binary file not shown.
Binary file added DD-All.ico
Binary file not shown.
486 changes: 486 additions & 0 deletions MainForm.Designer.cs

Large diffs are not rendered by default.

719 changes: 719 additions & 0 deletions MainForm.cs

Large diffs are not rendered by default.

200 changes: 200 additions & 0 deletions MainForm.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
<?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="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 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>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAABILAAASCwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA////AP///wL///8L////Bv///wP///8o////Wf///xr///8E////Ef//
/xP///8L////Bf///wH///8C////BP///wL///8D////Cv///xD///8m////WP///xb///8AAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////JP///4z///9u////Xv///3j///+z////gP//
/07///95////ff///4n///9m////Fv///y////9W////N////0////9p////iP///27///+w////Pv//
/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8x////qf///5P///9z////bP//
/3n///9v////b////47///9a////fv///33///8e////Pv///8f///9f////X////17///9t////XP//
/3f///8l////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///xL///9a////Mf//
/yz///8O////Af///yD///8e////Hf///wP///8C////Lf///wz///8Z////Yf///yj///8B////A///
/wP///8B////Av///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wP///81////Nv//
/zn///86////I////yX///8y////QP///zX///8+////Qf///y7///8o////Mf///yf///8C////H///
/xr///8Z////Mv///yz///82////LP///zP///8C////AAAAAAAAAAAAAAAAAAAAAAD///8A////Af//
/3/////R////sv///4/////F////Yv///3n////d////sP///53////C////Vv///6H////V////pv//
/1z///+e////cf///1L////A////Yv///7X////K////Y////wP///8AAAAAAAAAAAAAAAAAAAAAAP//
/wD///8E////of///7/////A////VP///8H///8h////kP///+f///+Q////nv///9D///9L////lv//
//L///+M////fv///8z///+c////bf///9f///8v////oP///8H///8l////AAAAAAAAAAAAAAAAAAAA
AAAAAAAA////AP///wb///+P////qf///5n///92////zv///0P///+d////z////53///+N////t///
/0T///93////7////3j///+X////oP///2v///8W////wP///2j///+S////tf///5r///8D////AAAA
AAAAAAAAAAAAAAAAAAD///8A////Af///3T////S////pv///4X///+C////dv///53////P////of//
/53////I////T////2T////a////ef///4v///+b////af///xH///+5////df///6z////U////dv//
/wb///8AAAAAAAAAAAAAAAAAAAAAAP///wD///8D////h////8z///+u////t////7v///9p////g///
/9T///97////pP///9L///9T////YP///8v///+J////lf///4////9k////Qv///9n///+G////l///
/8L///9e////BP///wAAAAAAAAAAAAAAAAAAAAAA////AP///wD///8U////O////yH///89////Jv//
/wT///8J////KP///wb///8X////KP///wX///8T////J////yz///8Q////H////xr///8G////LP//
/wz///8Q////I////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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z/7CNPP+6l0P/wZ5Kzr6ZRRi+mUUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADSuF8A0rhfAtK4
XybSuF9d0rlfls6yW6u3kUSrsY09pK+IN3Sqey0xp3QlAqh3KAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA+AAAH/gAAB/4AAAf+AAAP+AAAAfgAAAH4AAAD+AAAAfgAAAH4AAAB+AA
AB/////////////gD///4AP//8AB///gAP//8AD///8Af/4HgH/8A4A//AHAP/wAwD/8AMA//ABgP/wQ
cD/+CDh//gA///8AD///gAf//8AH///gB/8=
</value>
</data>
</root>
20 changes: 20 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace dgiot_dtu
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}
36 changes: 36 additions & 0 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -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("dgiot_dtu")]
[assembly: AssemblyDescription("Serial to TCP Port Fowarder")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("dgiot Ltd")]
[assembly: AssemblyProduct("dgiot_dtu")]
[assembly: AssemblyCopyright("Copyright © dgiot Ltd 2021")]
[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("790e8dc9-9e65-4d33-8e58-1208a764e66a")]

// 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")]
63 changes: 63 additions & 0 deletions Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 42b0b35

Please sign in to comment.