Skip to content

Commit

Permalink
Update receive func
Browse files Browse the repository at this point in the history
  • Loading branch information
VNovytskyi committed Mar 12, 2020
1 parent 5053cf3 commit 186f225
Show file tree
Hide file tree
Showing 26 changed files with 901 additions and 2 deletions.
Binary file modified WpfApp1/.vs/WpfApp1/v16/.suo
Binary file not shown.
Binary file modified WpfApp1/.vs/WpfApp1/v16/Server/sqlite3/storage.ide
Binary file not shown.
5 changes: 3 additions & 2 deletions WpfApp1/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,8 @@ private void ReceiverDataFunc()

try
{
str += serialPort.ReadExisting();
//str += serialPort.ReadExisting();
str += serialPort.ReadLine();
}
catch (Exception e)
{
Expand All @@ -494,7 +495,7 @@ private void ReceiverDataFunc()
});


Thread.Sleep(100);
Thread.Sleep(10);
}
}

Expand Down
Binary file modified WpfApp1/bin/Debug/WpfApp1.exe
Binary file not shown.
Binary file modified WpfApp1/bin/Debug/WpfApp1.pdb
Binary file not shown.
Binary file added WpfApp1/bin/Release/WpfApp1.exe
Binary file not shown.
6 changes: 6 additions & 0 deletions WpfApp1/bin/Release/WpfApp1.exe.config
Original file line number Diff line number Diff line change
@@ -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>
Binary file added WpfApp1/bin/Release/WpfApp1.pdb
Binary file not shown.
Binary file modified WpfApp1/obj/Debug/WpfApp1.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified WpfApp1/obj/Debug/WpfApp1.exe
Binary file not shown.
Binary file modified WpfApp1/obj/Debug/WpfApp1.pdb
Binary file not shown.
70 changes: 70 additions & 0 deletions WpfApp1/obj/Release/App.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "70691D25E8ED7D02D8E3A8944032595E276B439C79B7B88F62E20E6FDABEEE0D"
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------

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;
using WpfApp1;


namespace WpfApp1 {


/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {

/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {

#line 5 "..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);

#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() {
WpfApp1.App app = new WpfApp1.App();
app.InitializeComponent();
app.Run();
}
}
}

70 changes: 70 additions & 0 deletions WpfApp1/obj/Release/App.g.i.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "70691D25E8ED7D02D8E3A8944032595E276B439C79B7B88F62E20E6FDABEEE0D"
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------

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;
using WpfApp1;


namespace WpfApp1 {


/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {

/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {

#line 5 "..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);

#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() {
WpfApp1.App app = new WpfApp1.App();
app.InitializeComponent();
app.Run();
}
}
}

Binary file added WpfApp1/obj/Release/MainWindow.baml
Binary file not shown.
Loading

0 comments on commit 186f225

Please sign in to comment.