增加控制台输出心跳功能

This commit is contained in:
miuser
2019-04-26 23:40:40 +08:00
parent 58110e1b4b
commit 73c0f1e165
7 changed files with 26 additions and 3 deletions

View File

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

View File

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

View File

@@ -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>

View File

@@ -272,7 +272,7 @@
this.Controls.Add(this.menuStrip1);
this.Controls.Add(this.statusStrip1);
this.Name = "Form1";
this.Text = "UdpPlugWebsocket 0.1";
this.Text = "UdpPlugWebsocket 0.11";
this.Load += new System.EventHandler(this.Form1_Load);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();

View File

@@ -175,7 +175,7 @@ namespace UdpPlugWebsocket
private void tm_HearBeat_Tick(object sender, EventArgs e)
{
Console.Write("Heatbeating " + DateTime.Now.ToShortDateString());
Console.WriteLine("Heatbeating " + DateTime.Now.ToShortTimeString());
}
}
}

View File

@@ -18,7 +18,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<OutputPath>..\bin_UPWS\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

Binary file not shown.