資源簡介
OrayGuard.rar

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?OrayGuard;
namespace?TestProcess
{
????public?partial?class?Form1?:?Form
????{
????????private?bool?bugOccurred?=?false;?//模擬是否已經(jīng)出現(xiàn)了嚴重bug!
????????public?Form1()
????????{
????????????InitializeComponent();
????????????
????????????GuardianProxy.Initialize(9100?20);
????????????this.timer1.Start();
????????????this.label_state.Text?=?“當前狀態(tài):正常服務中“;
????????????this.label_startTime.Text?=?“啟動時間:“?+?DateTime.Now.ToString();
????????}
????????private?void?timer1_Tick(object?sender?EventArgs?e)
????????{
????????????if?(!this.bugOccurred)
????????????{
????????????????GuardianProxy.Activate();
????????????????this.label_heartBeatTime.Text?=?“最后心跳:“?+?DateTime.Now.ToString();
????????????}
????????}
????????private?void?Form1_FormClosing(object?sender?FormClosingEventArgs?e)
????????{
????????????this.timer1.Dispose();
????????????GuardianProxy.Dispose();
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????this.button1.Enabled?=?false;
????????????this.bugOccurred?=?true;
????????????this.label_state.Text?=?“當前狀態(tài):服務停止“;
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????562600??2016-11-01?13:59??OrayGuard\1.OrayGuard守護者\OrayGuard.exe
?????文件????????646??2016-10-31?14:46??OrayGuard\1.OrayGuard守護者\OrayGuard.exe.config
?????文件?????414720??2016-10-27?10:08??OrayGuard\2.SDK\ESBasic.dll
?????文件???????5632??2016-11-01?11:22??OrayGuard\2.SDK\OrayGuard.Core.dll
?????文件???????2282??2016-11-01?11:27??OrayGuard\2.SDK\OrayGuard.Core.xm
?????文件?????414720??2016-10-27?10:08??OrayGuard\TestProcess\SDK\ESBasic.dll
?????文件???????5632??2016-11-01?11:22??OrayGuard\TestProcess\SDK\OrayGuard.Core.dll
?????文件???????2282??2016-11-01?11:27??OrayGuard\TestProcess\SDK\OrayGuard.Core.xm
?????文件?????414720??2016-10-27?10:08??OrayGuard\TestProcess\TestProcess\bin\Debug\ESBasic.dll
?????文件???????5632??2016-11-01?11:22??OrayGuard\TestProcess\TestProcess\bin\Debug\OrayGuard.Core.dll
?????文件???????2282??2016-11-01?11:27??OrayGuard\TestProcess\TestProcess\bin\Debug\OrayGuard.Core.xm
?????文件???????9728??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\bin\Debug\TestProcess.exe
?????文件??????26112??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\bin\Debug\TestProcess.pdb
?????文件??????11608??2016-11-01?11:46??OrayGuard\TestProcess\TestProcess\bin\Debug\TestProcess.vshost.exe
?????文件????????490??2010-03-17?22:39??OrayGuard\TestProcess\TestProcess\bin\Debug\TestProcess.vshost.exe.manifest
?????文件???????1405??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\Form1.cs
?????文件???????4607??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\Form1.Designer.cs
?????文件???????6011??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\Form1.resx
?????文件???????5509??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件???????1048??2016-11-01?11:46??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.csproj.FileListAbsolute.txt
?????文件????????975??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.csproj.GenerateResource.Cache
?????文件??????12898??2016-11-01?11:34??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.csprojResolveAssemblyReference.cache
?????文件???????9728??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.exe
?????文件????????180??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.Form1.resources
?????文件??????26112??2016-11-01?11:38??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.pdb
?????文件????????180??2016-11-01?11:34??OrayGuard\TestProcess\TestProcess\obj\x86\Debug\TestProcess.Properties.Resources.resources
?????文件????????472??2016-11-01?11:24??OrayGuard\TestProcess\TestProcess\Program.cs
?????文件???????1372??2016-11-01?11:24??OrayGuard\TestProcess\TestProcess\Properties\AssemblyInfo.cs
?????文件???????2874??2016-11-01?11:24??OrayGuard\TestProcess\TestProcess\Properties\Resources.Designer.cs
?????文件???????5612??2016-11-01?11:24??OrayGuard\TestProcess\TestProcess\Properties\Resources.resx
............此處省略21個文件信息
評論
共有 條評論