init manageTools 项目

feat-001
gdxs 2 years ago
commit f8e6f40a80
  1. BIN
      .vs/ManageTools/v16/.suo
  2. BIN
      .vs/ManageTools/v16/Browse.VC.db
  3. 3
      .vs/ProjectSettings.json
  4. BIN
      .vs/slnx.sqlite
  5. BIN
      COMDLG32.OCX
  6. BIN
      MSWINSCK.OCX
  7. BIN
      ManageTools.exe
  8. BIN
      ManageTools.pdb
  9. 20
      ManageTools.sln
  10. BIN
      ManageTools.suo
  11. BIN
      ManageTools.v11.suo
  12. BIN
      ManageTools/2.ico
  13. 44
      ManageTools/ClassDiagram1.cd
  14. 163
      ManageTools/INIFile.cs
  15. 420
      ManageTools/Main.Designer.cs
  16. 1226
      ManageTools/Main.cs
  17. 2177
      ManageTools/Main.en.resx
  18. 3211
      ManageTools/Main.resx
  19. 176
      ManageTools/ManageTools.csproj
  20. 16
      ManageTools/ManageTools.csproj.user
  21. BIN
      ManageTools/ManageTools_TemporaryKey.pfx
  22. 21
      ManageTools/Program.cs
  23. 36
      ManageTools/Properties/AssemblyInfo.cs
  24. 189
      ManageTools/Properties/Resources.Designer.cs
  25. 162
      ManageTools/Properties/Resources.en.resx
  26. 162
      ManageTools/Properties/Resources.resx
  27. 30
      ManageTools/Properties/Settings.Designer.cs
  28. 7
      ManageTools/Properties/Settings.settings
  29. 69
      ManageTools/Properties/app.manifest
  30. 116
      ManageTools/SchTask.cs
  31. 143
      ManageTools/SysEnvironment.cs
  32. 37
      ManageTools/UserControl1.Designer.cs
  33. 19
      ManageTools/UserControl1.cs
  34. 9
      ManageTools/app.config
  35. 4
      ManageTools/obj/x86/Debug/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs
  36. BIN
      ManageTools/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
  37. BIN
      ManageTools/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  38. BIN
      ManageTools/obj/x86/Debug/Interop.TaskScheduler.dll
  39. BIN
      ManageTools/obj/x86/Debug/ManageTools.Main.en.resources
  40. BIN
      ManageTools/obj/x86/Debug/ManageTools.Main.resources
  41. BIN
      ManageTools/obj/x86/Debug/ManageTools.Properties.Resources.en.resources
  42. BIN
      ManageTools/obj/x86/Debug/ManageTools.Properties.Resources.resources
  43. 22
      ManageTools/obj/x86/Debug/ManageTools.application
  44. 0
      ManageTools/obj/x86/Debug/ManageTools.csproj.CopyComplete
  45. 1
      ManageTools/obj/x86/Debug/ManageTools.csproj.CoreCompileInputs.cache
  46. 58
      ManageTools/obj/x86/Debug/ManageTools.csproj.FileListAbsolute.txt
  47. BIN
      ManageTools/obj/x86/Debug/ManageTools.csproj.GenerateResource.cache
  48. BIN
      ManageTools/obj/x86/Debug/ManageTools.csproj.ResolveComReference.cache
  49. BIN
      ManageTools/obj/x86/Debug/ManageTools.csprojAssemblyReference.cache
  50. BIN
      ManageTools/obj/x86/Debug/ManageTools.exe
  51. 123
      ManageTools/obj/x86/Debug/ManageTools.exe.manifest
  52. BIN
      ManageTools/obj/x86/Debug/ManageTools.pdb
  53. BIN
      ManageTools/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll
  54. BIN
      ManageTools/obj/x86/Debug/en/ManageTools.resources.dll
  55. 16
      ManageTools/obj/x86/Debug/system.ini
  56. 4
      ManageTools/obj/x86/Release/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs
  57. BIN
      ManageTools/obj/x86/Release/DesignTimeResolveAssemblyReferences.cache
  58. BIN
      ManageTools/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache
  59. BIN
      ManageTools/obj/x86/Release/Interop.TaskScheduler.dll
  60. BIN
      ManageTools/obj/x86/Release/ManageTools.Main.en.resources
  61. BIN
      ManageTools/obj/x86/Release/ManageTools.Main.resources
  62. BIN
      ManageTools/obj/x86/Release/ManageTools.Properties.Resources.en.resources
  63. BIN
      ManageTools/obj/x86/Release/ManageTools.Properties.Resources.resources
  64. 0
      ManageTools/obj/x86/Release/ManageTools.csproj.CopyComplete
  65. 1
      ManageTools/obj/x86/Release/ManageTools.csproj.CoreCompileInputs.cache
  66. 68
      ManageTools/obj/x86/Release/ManageTools.csproj.FileListAbsolute.txt
  67. BIN
      ManageTools/obj/x86/Release/ManageTools.csproj.GenerateResource.cache
  68. BIN
      ManageTools/obj/x86/Release/ManageTools.csproj.ResolveComReference.cache
  69. BIN
      ManageTools/obj/x86/Release/ManageTools.csprojAssemblyReference.cache
  70. BIN
      ManageTools/obj/x86/Release/ManageTools.csprojResolveAssemblyReference.cache
  71. BIN
      ManageTools/obj/x86/Release/ManageTools.exe
  72. BIN
      ManageTools/obj/x86/Release/ManageTools.pdb
  73. BIN
      ManageTools/obj/x86/Release/TempPE/Properties.Resources.Designer.cs.dll
  74. BIN
      ManageTools/obj/x86/Release/en/ManageTools.resources.dll
  75. 16
      ManageTools/obj/x86/Release/system.ini
  76. 5
      ManageTools/packages.config
  77. BIN
      ManageTools20220606.zip
  78. BIN
      NTSVC.ocx
  79. 40
      bb.bat
  80. BIN
      comdlg32.dll
  81. 4
      conn.properties
  82. BIN
      en/ManageTools.exe
  83. BIN
      en/ManageTools.resources.dll
  84. BIN
      en/ManageTools.resources.rar
  85. BIN
      packages/MySql.Data.6.7.9/.signature.p7s
  86. 123
      packages/MySql.Data.6.7.9/CHANGES
  87. BIN
      packages/MySql.Data.6.7.9/MySql.Data.6.7.9.nupkg
  88. 15
      packages/MySql.Data.6.7.9/Readme.txt
  89. 9
      packages/MySql.Data.6.7.9/content/app.config.transform
  90. 9
      packages/MySql.Data.6.7.9/content/web.config.transform
  91. BIN
      packages/MySql.Data.6.7.9/lib/net20-cf/MySql.Data.CF.dll
  92. BIN
      packages/MySql.Data.6.7.9/lib/net20/MySql.Data.dll
  93. BIN
      packages/MySql.Data.6.7.9/lib/net40/MySql.Data.dll
  94. BIN
      packages/MySql.Data.6.7.9/lib/net45/MySql.Data.dll
  95. BIN
      packages/Newtonsoft.Json.3.5.8/.signature.p7s
  96. BIN
      packages/Newtonsoft.Json.3.5.8/Newtonsoft.Json.3.5.8.nupkg
  97. BIN
      packages/Newtonsoft.Json.3.5.8/lib/20/Newtonsoft.Json.Net20.dll
  98. BIN
      packages/Newtonsoft.Json.3.5.8/lib/20/Newtonsoft.Json.Net20.pdb
  99. 6226
      packages/Newtonsoft.Json.3.5.8/lib/20/Newtonsoft.Json.Net20.xml
  100. BIN
      packages/Newtonsoft.Json.3.5.8/lib/35/Newtonsoft.Json.dll
  101. Some files were not shown because too many files have changed in this diff Show More

Binary file not shown.

Binary file not shown.

@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "无配置"
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManageTools", "ManageTools\ManageTools.csproj", "{DDF6DFF3-E0BA-40B4-A398-3FB56E8D0F9C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DDF6DFF3-E0BA-40B4-A398-3FB56E8D0F9C}.Debug|x86.ActiveCfg = Debug|x86
{DDF6DFF3-E0BA-40B4-A398-3FB56E8D0F9C}.Debug|x86.Build.0 = Debug|x86
{DDF6DFF3-E0BA-40B4-A398-3FB56E8D0F9C}.Release|x86.ActiveCfg = Release|x86
{DDF6DFF3-E0BA-40B4-A398-3FB56E8D0F9C}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="ManageTools.INIFile" Collapsed="true">
<Position X="0.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AgAAAAAAAAAAAAABAAAAQAACACCAwAQAAAAAAQHAAAA=</HashCode>
<FileName>INIFile.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="ManageTools.Main" Collapsed="true">
<Position X="2.25" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>CCWEQgWCIiIAZDUAABjCjBICMPMAoCECBHAIIHEAmAA=</HashCode>
<FileName>Main.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="ManageTools.Program" Collapsed="true">
<Position X="4" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAA=</HashCode>
<FileName>Program.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="ManageTools.SysEnvironment" Collapsed="true">
<Position X="4" Y="1.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAgAAAgAAAAIAAAAIAAAAAIAIAAAABA=</HashCode>
<FileName>SysEnvironment.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="ManageTools.Properties.Resources" Collapsed="true">
<Position X="0.5" Y="1.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAABEAAAAQAAAAAAAAAAAAAAAIA=</HashCode>
</TypeIdentifier>
</Class>
<Class Name="ManageTools.Properties.Settings" Collapsed="true">
<Position X="2.25" Y="1.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAIAAAAAABAAAAAAAAAAAAAAA=</HashCode>
</TypeIdentifier>
</Class>
<Font Name="宋体" Size="9" />
</ClassDiagram>

@ -0,0 +1,163 @@
using System;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
/*
* INI文件操作类
*/
namespace ManageTools
{
public class INIFile
{
public delegate void EventHandler(object sender, EventArgs e);
public event EventHandler IniFileChanged;
public event EventHandler Initialization;
protected string IniFileName;
public INIFile(string FileName)
{
IniFileName = FileName;
}
public string FileName
{
get
{
return IniFileName;
}
set
{
if (value != IniFileName)
{
IniFileName = value;
OnIniFileChanged(new EventArgs());
}
}
}
protected void OnIniFileChanged(EventArgs e)
{
if (IniFileChanged != null)
IniFileChanged(null, e);
}
protected void OnInitialization(EventArgs e)
{
if (Initialization != null)
Initialization(null, e);
}
public void WriteValue(string Section, string Key, string Value)
{
WritePrivateProfileString(Section, Key, Value, this.IniFileName);
}
public string ReadValue(string Section, string Key, string Default)
{
StringBuilder temp = new StringBuilder(500);
int i = GetPrivateProfileString(Section, Key, Default, temp, 500, this.IniFileName);
return temp.ToString();
}
private void NewDirectory(String path)
{
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
}
// 文件尾增加
public void AddNotes(string Notes)
{
string filename = IniFileName;
string path;
path = Directory.GetParent(filename).ToString();
NewDirectory(path);
FileStream fs = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
sw.BaseStream.Seek(0, SeekOrigin.End);
sw.WriteLine(@";" + Notes);
sw.Flush();
sw.Close();
fs.Close();
sw.Dispose();
fs.Dispose();
}
// 文件尾增加
public void AddText(string Text)
{
string filename = IniFileName;
string path;
path = Directory.GetParent(filename).ToString();
NewDirectory(path);
FileStream fs = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
sw.BaseStream.Seek(0, SeekOrigin.End);
sw.WriteLine(Text);
sw.Flush();
sw.Close();
fs.Close();
sw.Dispose();
fs.Dispose();
}
#region 重载
public void WriteValue(string Section, string Key, int Value)
{
WriteValue(Section, Key, Value.ToString());
}
public void WriteValue(string Section, string Key, Boolean Value)
{
WriteValue(Section, Key, Value.ToString());
}
public void WriteValue(string Section, string Key, DateTime Value)
{
WriteValue(Section, Key, Value.ToString());
}
public void WriteValue(string Section, string Key, object Value)
{
WriteValue(Section, Key, Value.ToString());
}
public int ReadValue(string Section, string Key, int Default)
{
return Convert.ToInt32(ReadValue(Section, Key, Default.ToString()));
}
public bool ReadValue(string Section, string Key, bool Default)
{
return Convert.ToBoolean(ReadValue(Section, Key, Default.ToString()));
}
public DateTime ReadValue(string Section, string Key, DateTime Default)
{
return Convert.ToDateTime(ReadValue(Section, Key, Default.ToString()));
}
public string ReadValue(string Section, string Key)
{
return ReadValue(Section, Key, "");
}
#endregion
/*
section:
key: key存在则覆盖写入
val: key所对应的值
filePath: INI文件的完整路径和文件名
*/
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filePath);
/*
section
key:
defVal:
retVal: key所对应的值key不存在则返回空值
size:
filePath: INI文件的完整路径和文件名
*/
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string defVal, System.Text.StringBuilder retVal, int size, string filePath);
}
}

@ -0,0 +1,420 @@
namespace ManageTools
{
partial class Main
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.cb1 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.bt_stop = new System.Windows.Forms.Button();
this.bt_start = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.tb_Host = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.tb_db = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tb_user = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.mtb_pwd = new System.Windows.Forms.MaskedTextBox();
this.bt_test = new System.Windows.Forms.Button();
this.btapply = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.label4 = new System.Windows.Forms.Label();
this.tb_path = new System.Windows.Forms.TextBox();
this.bt_choose = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.dTP_time = new System.Windows.Forms.DateTimePicker();
this.label7 = new System.Windows.Forms.Label();
this.bt_backup = new System.Windows.Forms.Button();
this.bt_createtask = new System.Windows.Forms.Button();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.baseurl_label = new System.Windows.Forms.Label();
this.baseUrl = new System.Windows.Forms.TextBox();
this.cameraUrl_label = new System.Windows.Forms.Label();
this.cameraUrl = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.label10 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.label8 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.gprs_ip = new System.Windows.Forms.TextBox();
this.java_env_setting = new System.Windows.Forms.Button();
this.mysql_install = new System.Windows.Forms.Button();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox2
//
this.groupBox2.Controls.Add(this.cb1);
this.groupBox2.Controls.Add(this.checkBox1);
this.groupBox2.Controls.Add(this.bt_stop);
this.groupBox2.Controls.Add(this.bt_start);
resources.ApplyResources(this.groupBox2, "groupBox2");
this.groupBox2.Name = "groupBox2";
this.groupBox2.TabStop = false;
//
// cb1
//
resources.ApplyResources(this.cb1, "cb1");
this.cb1.Name = "cb1";
this.cb1.UseVisualStyleBackColor = true;
this.cb1.CheckedChanged += new System.EventHandler(this.cb1_CheckedChanged);
//
// checkBox1
//
resources.ApplyResources(this.checkBox1, "checkBox1");
this.checkBox1.Name = "checkBox1";
this.checkBox1.UseVisualStyleBackColor = false;
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click);
//
// bt_stop
//
resources.ApplyResources(this.bt_stop, "bt_stop");
this.bt_stop.Name = "bt_stop";
this.bt_stop.UseVisualStyleBackColor = true;
this.bt_stop.Click += new System.EventHandler(this.bt_stop_Click);
//
// bt_start
//
resources.ApplyResources(this.bt_start, "bt_start");
this.bt_start.Name = "bt_start";
this.bt_start.UseVisualStyleBackColor = true;
this.bt_start.Click += new System.EventHandler(this.bt_start_Click);
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// tb_Host
//
resources.ApplyResources(this.tb_Host, "tb_Host");
this.tb_Host.Name = "tb_Host";
//
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// tb_db
//
resources.ApplyResources(this.tb_db, "tb_db");
this.tb_db.Name = "tb_db";
this.tb_db.TextChanged += new System.EventHandler(this.tb_db_TextChanged);
//
// label3
//
resources.ApplyResources(this.label3, "label3");
this.label3.Name = "label3";
//
// tb_user
//
resources.ApplyResources(this.tb_user, "tb_user");
this.tb_user.Name = "tb_user";
//
// label5
//
resources.ApplyResources(this.label5, "label5");
this.label5.Name = "label5";
//
// mtb_pwd
//
resources.ApplyResources(this.mtb_pwd, "mtb_pwd");
this.mtb_pwd.Name = "mtb_pwd";
this.mtb_pwd.PasswordChar = '*';
this.mtb_pwd.MaskInputRejected += new System.Windows.Forms.MaskInputRejectedEventHandler(this.mtb_pwd_MaskInputRejected);
//
// bt_test
//
resources.ApplyResources(this.bt_test, "bt_test");
this.bt_test.Name = "bt_test";
this.bt_test.UseVisualStyleBackColor = true;
this.bt_test.Click += new System.EventHandler(this.bt_test_Click_1);
//
// btapply
//
resources.ApplyResources(this.btapply, "btapply");
this.btapply.Name = "btapply";
this.btapply.UseVisualStyleBackColor = true;
this.btapply.Click += new System.EventHandler(this.btapply_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btapply);
this.groupBox1.Controls.Add(this.bt_test);
this.groupBox1.Controls.Add(this.mtb_pwd);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.tb_user);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.tb_db);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.tb_Host);
this.groupBox1.Controls.Add(this.label1);
resources.ApplyResources(this.groupBox1, "groupBox1");
this.groupBox1.Name = "groupBox1";
this.groupBox1.TabStop = false;
//
// timer1
//
this.timer1.Interval = 60000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// label4
//
resources.ApplyResources(this.label4, "label4");
this.label4.Name = "label4";
//
// tb_path
//
resources.ApplyResources(this.tb_path, "tb_path");
this.tb_path.Name = "tb_path";
//
// bt_choose
//
resources.ApplyResources(this.bt_choose, "bt_choose");
this.bt_choose.Name = "bt_choose";
this.bt_choose.UseVisualStyleBackColor = true;
this.bt_choose.Click += new System.EventHandler(this.bt_choose_Click_1);
//
// label6
//
resources.ApplyResources(this.label6, "label6");
this.label6.Name = "label6";
//
// dTP_time
//
resources.ApplyResources(this.dTP_time, "dTP_time");
this.dTP_time.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dTP_time.Name = "dTP_time";
//
// label7
//
resources.ApplyResources(this.label7, "label7");
this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.label7.Name = "label7";
//
// bt_backup
//
resources.ApplyResources(this.bt_backup, "bt_backup");
this.bt_backup.Name = "bt_backup";
this.bt_backup.UseVisualStyleBackColor = true;
this.bt_backup.Click += new System.EventHandler(this.bt_backup_Click);
//
// bt_createtask
//
resources.ApplyResources(this.bt_createtask, "bt_createtask");
this.bt_createtask.Name = "bt_createtask";
this.bt_createtask.UseVisualStyleBackColor = true;
this.bt_createtask.Click += new System.EventHandler(this.bt_createtask_Click);
//
// groupBox6
//
this.groupBox6.Controls.Add(this.bt_createtask);
this.groupBox6.Controls.Add(this.bt_backup);
this.groupBox6.Controls.Add(this.label7);
this.groupBox6.Controls.Add(this.dTP_time);
this.groupBox6.Controls.Add(this.label6);
this.groupBox6.Controls.Add(this.bt_choose);
this.groupBox6.Controls.Add(this.tb_path);
this.groupBox6.Controls.Add(this.label4);
resources.ApplyResources(this.groupBox6, "groupBox6");
this.groupBox6.Name = "groupBox6";
this.groupBox6.TabStop = false;
//
// baseurl_label
//
resources.ApplyResources(this.baseurl_label, "baseurl_label");
this.baseurl_label.Name = "baseurl_label";
this.baseurl_label.Click += new System.EventHandler(this.label11_Click);
//
// baseUrl
//
resources.ApplyResources(this.baseUrl, "baseUrl");
this.baseUrl.Name = "baseUrl";
//
// cameraUrl_label
//
resources.ApplyResources(this.cameraUrl_label, "cameraUrl_label");
this.cameraUrl_label.Name = "cameraUrl_label";
//
// cameraUrl
//
resources.ApplyResources(this.cameraUrl, "cameraUrl");
this.cameraUrl.Name = "cameraUrl";
//
// button1
//
resources.ApplyResources(this.button1, "button1");
this.button1.Name = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// groupBox4
//
this.groupBox4.Controls.Add(this.label10);
this.groupBox4.Controls.Add(this.button1);
this.groupBox4.Controls.Add(this.cameraUrl);
this.groupBox4.Controls.Add(this.cameraUrl_label);
this.groupBox4.Controls.Add(this.baseUrl);
this.groupBox4.Controls.Add(this.baseurl_label);
resources.ApplyResources(this.groupBox4, "groupBox4");
this.groupBox4.Name = "groupBox4";
this.groupBox4.TabStop = false;
//
// label10
//
resources.ApplyResources(this.label10, "label10");
this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.label10.Name = "label10";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.label8);
this.groupBox3.Controls.Add(this.button4);
this.groupBox3.Controls.Add(this.gprs_ip);
this.groupBox3.Controls.Add(this.java_env_setting);
this.groupBox3.Controls.Add(this.mysql_install);
resources.ApplyResources(this.groupBox3, "groupBox3");
this.groupBox3.Name = "groupBox3";
this.groupBox3.TabStop = false;
//
// label8
//
resources.ApplyResources(this.label8, "label8");
this.label8.Name = "label8";
this.label8.Click += new System.EventHandler(this.label8_Click);
//
// button4
//
resources.ApplyResources(this.button4, "button4");
this.button4.Name = "button4";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// gprs_ip
//
resources.ApplyResources(this.gprs_ip, "gprs_ip");
this.gprs_ip.Name = "gprs_ip";
this.gprs_ip.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// java_env_setting
//
resources.ApplyResources(this.java_env_setting, "java_env_setting");
this.java_env_setting.Name = "java_env_setting";
this.java_env_setting.UseVisualStyleBackColor = true;
this.java_env_setting.Click += new System.EventHandler(this.button2_Click);
//
// mysql_install
//
resources.ApplyResources(this.mysql_install, "mysql_install");
this.mysql_install.Name = "mysql_install";
this.mysql_install.UseVisualStyleBackColor = true;
this.mysql_install.Click += new System.EventHandler(this.button3_Click_1);
//
// Main
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox6);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.groupBox2);
this.MaximizeBox = false;
this.Name = "Main";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Main_FormClosed);
this.Load += new System.EventHandler(this.Main_Load);
this.Shown += new System.EventHandler(this.Main_Shown);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox6.ResumeLayout(false);
this.groupBox6.PerformLayout();
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button bt_stop;
private System.Windows.Forms.Button bt_start;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tb_Host;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tb_db;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tb_user;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.MaskedTextBox mtb_pwd;
private System.Windows.Forms.Button bt_test;
private System.Windows.Forms.Button btapply;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox cb1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox tb_path;
private System.Windows.Forms.Button bt_choose;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.DateTimePicker dTP_time;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Button bt_backup;
private System.Windows.Forms.Button bt_createtask;
private System.Windows.Forms.GroupBox groupBox6;
private System.Windows.Forms.Label baseurl_label;
private System.Windows.Forms.TextBox baseUrl;
private System.Windows.Forms.Label cameraUrl_label;
private System.Windows.Forms.TextBox cameraUrl;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Button mysql_install;
private System.Windows.Forms.Button java_env_setting;
private System.Windows.Forms.TextBox gprs_ip;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Label label8;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{DDF6DFF3-E0BA-40B4-A398-3FB56E8D0F9C}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ManageTools</RootNamespace>
<AssemblyName>ManageTools</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<IsWebBootstrapper>false</IsWebBootstrapper>
<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>1</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</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|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>2.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>E4E6F3BEEF99B9E0A9B863B8CBCD6BEF9E0CBCF8</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>ManageTools_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
</PropertyGroup>
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="MySql.Data, Version=6.7.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.6.7.9\lib\net40\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.3.5.8\lib\35\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<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="INIFile.cs" />
<Compile Include="Main.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Main.Designer.cs">
<DependentUpon>Main.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SchTask.cs" />
<Compile Include="SysEnvironment.cs" />
<Compile Include="UserControl1.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UserControl1.Designer.cs">
<DependentUpon>UserControl1.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Main.en.resx">
<DependentUpon>Main.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Main.resx">
<DependentUpon>Main.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>
<EmbeddedResource Include="Properties\Resources.en.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<None Include="app.config" />
<None Include="ClassDiagram1.cd" />
<None Include="ManageTools_TemporaryKey.pfx" />
<None Include="packages.config" />
<None Include="Properties\app.manifest" />
<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>
<Content Include="2.ico" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<COMReference Include="TaskScheduler">
<Guid>{E34CB9F1-C7F7-424C-BE29-027DCC09363A}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>False</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</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,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory />
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>zh-CN</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
<PropertyGroup>
<EnableSecurityDebugging>false</EnableSecurityDebugging>
</PropertyGroup>
</Project>

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ManageTools
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Main());
}
}
}

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ManageTools")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("ManageTools")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 使此程序集中的类型
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
// 则将该类型上的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("20615ae5-afcb-4165-8811-55fb3a69dfdd")]
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 内部版本号
// 修订号
//
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

@ -0,0 +1,189 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ManageTools.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </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("ManageTools.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性
/// 重写当前线程的 CurrentUICulture 属性。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// 查找类似 保存前端连接参数成功 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("保存前端连接参数成功", resourceCulture);
}
}
/// <summary>
/// 查找类似 参数已生效 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("参数已生效", resourceCulture);
}
}
/// <summary>
/// 查找类似 提示信息 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("提示信息", resourceCulture);
}
}
/// <summary>
/// 查找类似 数据库备份任务创建成功 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("数据库备份任务创建成功", resourceCulture);
}
}
/// <summary>
/// 查找类似 数据库备份失败 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("数据库备份失败", resourceCulture);
}
}
/// <summary>
/// 查找类似 数据库备份成功 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("数据库备份成功", resourceCulture);
}
}
/// <summary>
/// 查找类似 数据库连接失败 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("数据库连接失败", resourceCulture);
}
}
/// <summary>
/// 查找类似 数据库连接成功 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("数据库连接成功", resourceCulture);
}
}
/// <summary>
/// 查找类似 请确认服务是否已经关闭 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("请确认服务是否已经关闭", resourceCulture);
}
}
/// <summary>
/// 查找类似 请设置服务器地址 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("请设置服务器地址", resourceCulture);
}
}
/// <summary>
/// 查找类似 请设置正确的数据库参数 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("请设置正确的数据库参数", resourceCulture);
}
}
/// <summary>
/// 查找类似 请设置流媒体地址 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("请设置流媒体地址", resourceCulture);
}
}
/// <summary>
/// 查找类似 请重启服务 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("请重启服务", resourceCulture);
}
}
/// <summary>
/// 查找类似 配置抄表服务参数时出现异常 的本地化字符串。
/// </summary>
internal static string {
get {
return ResourceManager.GetString("配置抄表服务参数时出现异常", resourceCulture);
}
}
}
}

@ -0,0 +1,162 @@
<?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>
<data name="保存前端连接参数成功" xml:space="preserve">
<value>The front-end connection parameters are saved successfully</value>
</data>
<data name="参数已生效" xml:space="preserve">
<value>Parameters is valid now</value>
</data>
<data name="提示信息" xml:space="preserve">
<value>Messages</value>
</data>
<data name="数据库备份任务创建成功" xml:space="preserve">
<value>Succeeded in creating task of database backup</value>
</data>
<data name="数据库备份失败" xml:space="preserve">
<value>Failed to backup database</value>
</data>
<data name="数据库备份成功" xml:space="preserve">
<value>Succeeded in backuping database</value>
</data>
<data name="数据库连接失败" xml:space="preserve">
<value>Failed to connect database</value>
</data>
<data name="数据库连接成功" xml:space="preserve">
<value>Succeeded in connecting database</value>
</data>
<data name="请确认服务是否已经关闭" xml:space="preserve">
<value>lease ensure that service is close</value>
</data>
<data name="请设置服务器地址" xml:space="preserve">
<value>Please set the baseUrl address</value>
</data>
<data name="请设置正确的数据库参数" xml:space="preserve">
<value>Please set the correct database parameters</value>
</data>
<data name="请设置流媒体地址" xml:space="preserve">
<value>Please set the cameraUrl address</value>
</data>
<data name="请重启服务" xml:space="preserve">
<value>Please start service again</value>
</data>
<data name="配置抄表服务参数时出现异常" xml:space="preserve">
<value>There is a error in setting reading-meter service parameters</value>
</data>
</root>

@ -0,0 +1,162 @@
<?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>
<data name="保存前端连接参数成功" xml:space="preserve">
<value>保存前端连接参数成功</value>
</data>
<data name="参数已生效" xml:space="preserve">
<value>参数已生效</value>
</data>
<data name="提示信息" xml:space="preserve">
<value>提示信息</value>
</data>
<data name="数据库备份任务创建成功" xml:space="preserve">
<value>数据库备份任务创建成功</value>
</data>
<data name="数据库备份失败" xml:space="preserve">
<value>数据库备份失败</value>
</data>
<data name="数据库备份成功" xml:space="preserve">
<value>数据库备份成功</value>
</data>
<data name="数据库连接失败" xml:space="preserve">
<value>数据库连接失败</value>
</data>
<data name="数据库连接成功" xml:space="preserve">
<value>数据库连接成功</value>
</data>
<data name="请确认服务是否已经关闭" xml:space="preserve">
<value>请确认服务是否已经关闭</value>
</data>
<data name="请设置服务器地址" xml:space="preserve">
<value>请设置服务器地址</value>
</data>
<data name="请设置正确的数据库参数" xml:space="preserve">
<value>请设置正确的数据库参数</value>
</data>
<data name="请设置流媒体地址" xml:space="preserve">
<value>请设置流媒体地址</value>
</data>
<data name="请重启服务" xml:space="preserve">
<value>请重启服务</value>
</data>
<data name="配置抄表服务参数时出现异常" xml:space="preserve">
<value>配置抄表服务参数时出现异常</value>
</data>
</root>

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ManageTools.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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,69 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<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">
<!-- UAC 清单选项
如果想要更改 Windows 用户帐户控制级别,请使用
以下节点之一替换 requestedExecutionLevel 节点。n
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
如果你的应用程序需要此虚拟化来实现向后兼容性,则删除此
元素。
-->
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" Unrestricted="true" />
</applicationRequestMinimum>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
Windows 版本的列表。取消评论适当的元素,
Windows 将自动选择最兼容的环境。 -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- 指示该应用程序可以感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI,无需
选择加入。选择加入此设置的 Windows 窗体应用程序(目标设定为 .NET Framework 4.6 )还应
在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。-->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

@ -0,0 +1,116 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaskScheduler;
namespace ManageTools
{
public class SchTaskExt
{
/// <summary>
/// delete task
/// </summary>
/// <param name="taskName"></param>
private static void DeleteTask(string taskName)
{
TaskSchedulerClass ts = new TaskSchedulerClass();
ts.Connect(null, null, null, null);
ITaskFolder folder = ts.GetFolder("\\");
folder.DeleteTask(taskName, 0);
}
/// <summary>
/// get all tasks
/// </summary>
public static IRegisteredTaskCollection GetAllTasks()
{
TaskSchedulerClass ts = new TaskSchedulerClass();
ts.Connect(null, null, null, null);
ITaskFolder folder = ts.GetFolder("\\");
IRegisteredTaskCollection tasks_exists = folder.GetTasks(1);
return tasks_exists;
}
/// <summary>
/// check task isexists
/// </summary>
/// <param name="taskName"></param>
/// <returns></returns>
public static bool IsExists(string taskName)
{
var isExists = false;
IRegisteredTaskCollection tasks_exists = GetAllTasks();
for (int i = 1; i <= tasks_exists.Count; i++)
{
IRegisteredTask t = tasks_exists[i];
if (t.Name.Equals(taskName))
{
isExists = true;
break;
}
}
return isExists;
}
/// <summary>
/// create task
/// </summary>
/// <param name="creator"></param>
/// <param name="taskName"></param>
/// <param name="path"></param>
/// <param name="interval"></param>
/// <returns>state</returns>
public static _TASK_STATE CreateTaskScheduler(string creator, string taskName, string path, string interval, String startTime)
{
try
{
if (IsExists(taskName))
{
DeleteTask(taskName);
}
//new scheduler
TaskSchedulerClass scheduler = new TaskSchedulerClass();
//pc-name/ip,username,domain,password
scheduler.Connect(null, null, null, null);
//get scheduler folder
ITaskFolder folder = scheduler.GetFolder("\\");
//set base attr
ITaskDefinition task = scheduler.NewTask(0);
task.RegistrationInfo.Author = "McodsAdmin";//creator
task.RegistrationInfo.Description = "...";//description
//set trigger (IDailyTrigger ITimeTrigger)
ITimeTrigger tt = (ITimeTrigger)task.Triggers.Create(_TASK_TRIGGER_TYPE2.TASK_TRIGGER_TIME);
tt.Repetition.Interval = interval;// format PT1H1M==1小时1分钟 设置的值最终都会转成分钟加入到触发器
tt.StartBoundary = startTime;//start time
//set action
IExecAction action = (IExecAction)task.Actions.Create(_TASK_ACTION_TYPE.TASK_ACTION_EXEC);
action.Path = path;
task.Settings.ExecutionTimeLimit = "PT0S"; //运行任务时间超时停止任务吗? PTOS 不开启超时
task.Settings.DisallowStartIfOnBatteries = false;//只有在交流电源下才执行
task.Settings.RunOnlyIfIdle = false;//仅当计算机空闲下才执行
IRegisteredTask regTask = folder.RegisterTaskDefinition(taskName, task,
(int)_TASK_CREATION.TASK_CREATE, null, //user
null, // password
_TASK_LOGON_TYPE.TASK_LOGON_INTERACTIVE_TOKEN,
"");
regTask.Run(null);
return _TASK_STATE.TASK_STATE_RUNNING;
//IRunningTask runTask = regTask.Run(null);
//return runTask.State;
}
catch (Exception ex)
{
throw ex;
}
}
}
}

@ -0,0 +1,143 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
namespace ManageTools
{
class SysEnvironment
{
/// <summary>
/// 获取系统环境变量
/// </summary>
/// <param name="name"></param>
/// <return s></return s>
public string GetSysEnvironmentByName(string name)
{
string result = string.Empty;
try
{
result = OpenSysEnvironment().GetValue(name).ToString();//读取
}
catch (Exception)
{
return string.Empty;
}
return result;
}
/// <summary>
/// 打开系统环境变量注册表
/// </summary>
/// <return s>RegistryKey </return s>
private RegistryKey OpenSysEnvironment()
{
RegistryKey regLocalMachine = Registry.LocalMachine;
RegistryKey regSYSTEM = regLocalMachine.OpenSubKey("SYSTEM", true);//打开HKEY_LOCAL_MACHINE下的SYSTEM
RegistryKey regControlSet001 = regSYSTEM.OpenSubKey("ControlSet001", true);//打开ControlSet001
RegistryKey regControl = regControlSet001.OpenSubKey("Control", true);//打开Control
RegistryKey regManager = regControl.OpenSubKey("Session Manager", true);//打开Control
RegistryKey regEnvironment = regManager.OpenSubKey("Environment", true);
return regEnvironment;
}
/// <summary>
/// 设置系统环境变量
/// </summary>
/// <param name="name">变量名</param>
/// <param name="strValue">值</param>
public void SetSysEnvironment(string name, string strValue)
{
OpenSysEnvironment().SetValue(name, strValue);
}
/// <summary>
/// 检测系统环境变量是否存在
/// </summary>
/// <param name="name"></param>
/// <return s></return s>
public bool CheckSysEnvironmentExist(string name)
{
if (!string.IsNullOrEmpty(GetSysEnvironmentByName(name)))
return true;
else
return false;
}
/// <summary>
/// 添加到PATH环境变量(会检测路径是否存在,存在就不重复)
/// </summary>
/// <param name="strPath"></param>
public void SetPathAfter(string strHome)
{
string pathlist;
pathlist = GetSysEnvironmentByName("PATH");
//检测是否以;结尾
if (pathlist.Substring(pathlist.Length - 1, 1) != ";")
{
SetSysEnvironment("PATH", pathlist + ";");
pathlist = GetSysEnvironmentByName("PATH");
}
string[] list = pathlist.Split(';');
bool isPathExist = false;
foreach (string item in list)
{
if (item == strHome)
isPathExist = true;
}
if (!isPathExist)
{
SetSysEnvironment("PATH", pathlist + strHome + ";");
}
}
public void SetPathBefore(string strHome)
{
string pathlist;
pathlist = GetSysEnvironmentByName("PATH");
string[] list = pathlist.Split(';');
bool isPathExist = false;
foreach (string item in list)
{
if (item == strHome)
isPathExist = true;
}
if (!isPathExist)
{
SetSysEnvironment("PATH", strHome + ";" + pathlist);
}
}
public void SetPath(string strHome)
{
string pathlist;
pathlist = GetSysEnvironmentByName("PATH");
string[] list = pathlist.Split(';');
bool isPathExist = false;
foreach (string item in list)
{
if (item == strHome)
isPathExist = true;
}
if (!isPathExist)
{
SetSysEnvironment("PATH", pathlist + strHome + ";");
}
}
}
}

@ -0,0 +1,37 @@
namespace ManageTools
{
partial class UserControl1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
}
#endregion
}
}

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ManageTools
{
public partial class UserControl1 : UserControl
{
public UserControl1()
{
InitializeComponent();
}
}
}

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.7.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
</configuration>

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0,Profile=Client", FrameworkDisplayName = ".NET Framework 4 Client Profile")]

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="ManageTools.application" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="Microsoft" asmv2:product="ManageTools" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" />
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.0" profile="Client" supportedRuntime="4.0.30319" />
<framework targetVersion="4.0" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="ManageTools.exe.manifest" size="6454">
<assemblyIdentity name="ManageTools.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>rAhAOdwaPOaVfY5a1ps4+9uqDNk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
</asmv1:assembly>

@ -0,0 +1,58 @@
D:\work\web抄表\ManageTools\ManageTools\bin\Debug\ManageTools.exe
D:\work\web抄表\ManageTools\ManageTools\bin\Debug\ManageTools.pdb
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.resources
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.resources
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.GenerateResource.Cache
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Debug\ManageTools.exe
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Debug\ManageTools.pdb
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csprojResolveAssemblyReference.cache
D:\Workspaces\sarm\ManageTools\ManageTools\bin\Debug\ManageTools.exe
D:\Workspaces\sarm\ManageTools\ManageTools\bin\Debug\ManageTools.pdb
D:\Workspaces\sarm\ManageTools\ManageTools\bin\Debug\en\ManageTools.resources.dll
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.en.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.en.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.GenerateResource.Cache
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\en\ManageTools.resources.dll
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.exe
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Debug\ManageTools.pdb
F:\主站\ManageTools\ManageTools\bin\Debug\ManageTools.exe
F:\主站\ManageTools\ManageTools\bin\Debug\ManageTools.pdb
F:\主站\ManageTools\ManageTools\bin\Debug\en\ManageTools.resources.dll
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csprojAssemblyReference.cache
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.resources
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.resources
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.en.resources
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.en.resources
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.GenerateResource.cache
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.CoreCompileInputs.cache
F:\主站\ManageTools\ManageTools\obj\x86\Debug\en\ManageTools.resources.dll
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.exe
F:\主站\ManageTools\ManageTools\obj\x86\Debug\ManageTools.pdb
D:\ManageTools\ManageTools\bin\Debug\ManageTools.exe.config
D:\ManageTools\ManageTools\bin\Debug\ManageTools.exe.manifest
D:\ManageTools\ManageTools\bin\Debug\ManageTools.application
D:\ManageTools\ManageTools\bin\Debug\ManageTools.exe
D:\ManageTools\ManageTools\bin\Debug\ManageTools.pdb
D:\ManageTools\ManageTools\bin\Debug\en\ManageTools.resources.dll
D:\ManageTools\ManageTools\bin\Debug\MySql.Data.dll
D:\ManageTools\ManageTools\bin\Debug\Newtonsoft.Json.dll
D:\ManageTools\ManageTools\bin\Debug\Newtonsoft.Json.pdb
D:\ManageTools\ManageTools\bin\Debug\Newtonsoft.Json.xml
D:\ManageTools\ManageTools\bin\Debug\Interop.TaskScheduler.dll
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csprojAssemblyReference.cache
D:\ManageTools\ManageTools\obj\x86\Debug\Interop.TaskScheduler.dll
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.ResolveComReference.cache
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.resources
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.resources
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Main.en.resources
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.Properties.Resources.en.resources
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.GenerateResource.cache
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.CoreCompileInputs.cache
D:\ManageTools\ManageTools\obj\x86\Debug\en\ManageTools.resources.dll
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.exe.manifest
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.application
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.csproj.CopyComplete
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.exe
D:\ManageTools\ManageTools\obj\x86\Debug\ManageTools.pdb

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="ManageTools.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" />
<description asmv2:iconFile="2.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="ManageTools" version="1.0.0.0" language="neutral" processorArchitecture="x86" />
<commandLine file="ManageTools.exe" parameters="" />
</entryPoint>
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!--
UAC 清单选项
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
如果要利用文件和注册表虚拟化提供
向后兼容性,请删除 requestedExecutionLevel 节点。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Interop.TaskScheduler.dll" size="36352">
<assemblyIdentity name="Interop.TaskScheduler" version="1.0.0.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>P+nQDYxjbkzQjA+Ev3UAdY8i5kM=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ManageTools.exe" size="320000">
<assemblyIdentity name="ManageTools" version="1.0.0.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>CIWvrJH8ZRLKfDv8tp0isgA+Jww=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="en\ManageTools.resources.dll" size="124928">
<assemblyIdentity name="ManageTools.resources" version="1.0.0.0" language="en" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>f5CtB8zouMxPD59FgJeJp5hV3Ug=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="MySql.Data.dll" size="442880">
<assemblyIdentity name="MySql.Data" version="6.7.9.0" publicKeyToken="C5687FC88969C44D" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>4PEeS47q84kFKU/E1MgxIHga8R4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Newtonsoft.Json.dll" size="319488">
<assemblyIdentity name="Newtonsoft.Json" version="3.5.0.0" publicKeyToken="30AD4FE6B2A6AEED" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>lMUDZQ99v/RrkpQKyhDjPA7CXl8=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<file name="2.ico" size="114830">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>VA5Qp4KcAejXlGAum8a2WVc1cYw=</dsig:DigestValue>
</hash>
</file>
<file name="ManageTools.exe.config" size="477">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>EWZylcmVpg/qn57i4oPpEIfediE=</dsig:DigestValue>
</hash>
</file>
</asmv1:assembly>

@ -0,0 +1,16 @@
[config]
autoRun=False
tb_Host=127.0.0.1
tb_db=samr
tb_user=sa
mtb_pwd=sa
tb_path=F:\Ö÷Õ¾\ManageTools\ManageTools\obj\x86\Debug\backup
dTP_time=22:00:00
language=
[runserver]
rmsName=Read-Service
rmsRun64=runJavaApp_64.bat
rmsRun32=runJavaApp_32.bat
GPRSName=GPRS
GPRSRun64=3761.exe
GPRSRun32=3761.exe

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0,Profile=Client", FrameworkDisplayName = ".NET Framework 4 Client Profile")]

@ -0,0 +1,68 @@
D:\work\web抄表\ManageTools\ManageTools\bin\Release\ManageTools.exe
D:\work\web抄表\ManageTools\ManageTools\bin\Release\ManageTools.pdb
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.resources
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.resources
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.GenerateResource.Cache
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Release\ManageTools.exe
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Release\ManageTools.pdb
D:\work\web抄表\ManageTools\ManageTools\obj\x86\Release\ManageTools.csprojResolveAssemblyReference.cache
D:\Workspaces\sarm\ManageTools\ManageTools\bin\Release\ManageTools.exe
D:\Workspaces\sarm\ManageTools\ManageTools\bin\Release\ManageTools.pdb
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.exe
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.pdb
D:\Workspaces\sarm\ManageTools\ManageTools\bin\Release\en\ManageTools.resources.dll
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.en.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.GenerateResource.Cache
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\en\ManageTools.resources.dll
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.en.resources
D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\ManageTools.csprojResolveAssemblyReference.cache
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\ManageTools.exe.config
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\ManageTools.exe.manifest
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\ManageTools.application
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\ManageTools.exe
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\ManageTools.pdb
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\en\ManageTools.resources.dll
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\MySql.Data.dll
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\Newtonsoft.Json.dll
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\Newtonsoft.Json.pdb
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\Newtonsoft.Json.xml
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\bin\Release\Interop.TaskScheduler.dll
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.csprojAssemblyReference.cache
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\Interop.TaskScheduler.dll
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.ResolveComReference.cache
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.resources
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.resources
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.en.resources
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.en.resources
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.GenerateResource.cache
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.CoreCompileInputs.cache
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\en\ManageTools.resources.dll
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.exe.manifest
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.application
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.CopyComplete
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.exe
C:\Users\Administrator\Desktop\LDDQSetUp\ManageTools\ManageTools\obj\x86\Release\ManageTools.pdb
D:\ManageTools\ManageTools\bin\Release\ManageTools.exe.config
D:\ManageTools\ManageTools\bin\Release\ManageTools.exe
D:\ManageTools\ManageTools\bin\Release\ManageTools.pdb
D:\ManageTools\ManageTools\bin\Release\en\ManageTools.resources.dll
D:\ManageTools\ManageTools\bin\Release\MySql.Data.dll
D:\ManageTools\ManageTools\bin\Release\Newtonsoft.Json.dll
D:\ManageTools\ManageTools\bin\Release\Newtonsoft.Json.pdb
D:\ManageTools\ManageTools\bin\Release\Newtonsoft.Json.xml
D:\ManageTools\ManageTools\bin\Release\Interop.TaskScheduler.dll
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.csprojAssemblyReference.cache
D:\ManageTools\ManageTools\obj\x86\Release\Interop.TaskScheduler.dll
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.ResolveComReference.cache
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.resources
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.resources
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.Main.en.resources
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.Properties.Resources.en.resources
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.GenerateResource.cache
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.CoreCompileInputs.cache
D:\ManageTools\ManageTools\obj\x86\Release\en\ManageTools.resources.dll
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.csproj.CopyComplete
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.exe
D:\ManageTools\ManageTools\obj\x86\Release\ManageTools.pdb

@ -0,0 +1,16 @@
[runserver]
rmsName=抄表前置机
rmsRun64=runJavaApp_64.bat
rmsRun32=runJavaApp_32.bat
GPRSName=GPRS
GPRSRun64=3761.exe
GPRSRun32=3761.exe
[config]
autoRun=True
tb_Host=127.0.0.1
tb_db=samr
tb_user=sa
mtb_pwd=sa
tb_path=D:\Workspaces\sarm\ManageTools\ManageTools\obj\x86\Release\backup
dTP_time=22:00:00
language=

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MySql.Data" version="6.7.9" targetFramework="net40-client" />
<package id="Newtonsoft.Json" version="3.5.8" targetFramework="net40-client" />
</packages>

Binary file not shown.

Binary file not shown.

@ -0,0 +1,40 @@
set currentpath=%cd%
@rem Ìæ»»
set path=%currentpath:ManageTools=Java%
set java_home=\jdk1.6.0
set java_home=%path%%java_home%
start reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d %java_home% /f
@reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d "aaaaa" /f
@rem reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d %java_home% /f
@rem reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "X" /t reg_sz /d "Y" /f
@rem REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v "JAVA_HOME" /t reg_sz /d java_home /f
start reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe"
"360sd"="\"D:\\Program Files\\360\\360SD\\360sdrun.exe\""
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\360Disabled]
"HW_OPENEYE_OUC_Mobile Card"="rem \"C:\\Program Files\\Mobile Card\\UpdateDog\\ouc.exe\""
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\AdobeUpdater]

Binary file not shown.

@ -0,0 +1,4 @@
driver = @GJHHNEKHKEJ@LLOJHMLJHCCNIEKFDAIOO@KEKMILBHAMLBFLOPCBFLOEKCIBAN@CJBELOPCBFLOGILMEJPCBFLO@E
url = FBAIOO@KOGHKEJ@LLOJHMLJHCCNIOGMILBHAMLBFLOPCBFLOOGFEFEGONGHLEHGOL@MJEHGBEHMJHLODGOJFIIIIPAAFOBNHOBONOAMKBFIKOBHMBFANLEIAINMOGG@C
user = MGOB@D
pwd = @@

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,123 @@
6.7.9
- Changed handshake process to use bytes instead of encoded strings.
- Added support for Chinese character set gb18030. (Oracle bug # 21098546).
- Added support for Json type. (WL # 8132).
- Added changes for metadata information in generated columns with 5.7 (WL #411)
6.7.8
- Changed default SSL mode to Preferred in connection string. Now the server connections will be using SSL if server allows it by default but it's possible to override this configuration.
6.7.7
- Fix for Exception "The given key was not present in the dictionary" when using utf16le charset in a query. (MySql #72737, Oracle Bug #19355906)
- Fix for Memory leak in a loop opening a connection to the database and executing a command (MySql Bug #73122, Oracle Bug #19467233).
- Fix for Multiple issues caused by trailing and leading white space character in params using MySql Membership Provider (MySql Bug #73411, Oracle Bug #19453313)
- Fix for bad assumption leads to modify query adding CALL statement to the beginning of the sql query even when CommandType.Text is specified (MySql Bug #72736, Oracle Bug #19325120).
- Fix for Incorrect query result with Entity Framework 6 (MySql bug #74918, Oracle bug #20129927).
- Fix for GetTimeZoneOffset to use date and time to calculate timediff (MySQL Bug #74905, Oracle Bug #20065691).
- Fix for Invalid SQL query when eager loading two nested collections (MySQL Bug #70941, Oracle bug #18049862).
- Fix for chinese characters used in the connection string when connecting to MySql Server (MySQL Bug #70041, Oracle Bug #18141356).
6.7.6
- Fix for open sockets connections left when connection open fails, the error happens when the client try to get a connection when the max number of connections is reached in the server. (MySql #72025, Oracle Bug #18665388).
- Fix for Exception of "duplicate entry" in MySqlSessionProvider (MySql Bug #70409, Oracle bug #18657550).
- Fix for Unable to read geometry column when it has been set with a SRID value. (MySql Bug #71869, Oracle Bug #19137999).
- Fix for Error when Calling MySqlConnection.GetSchema("PROCEDURES WITH PARAMETERS", ...) (Oracle bug #19285959).
- Fix for EF provider reports ManifestProviderToken = 5.6 for server 5.7 (Oracle bug #19453814).
- Fix for Fluent API DbModelBuilder.HasColumnType is ignored in EF6 (Oracle bug #19456229).
- Fix for Setting a PK GUID identity in Code First in EF6 no longer works in Server 5.7 (Oracle bug #19456452).
- Non PKs declared as Identity GUID have no GUID autogenerated (Oracle bug #19456415).
- Disabled installation on-demand in Installer (Oracle Bug #19670596).
- Fix for Generated SQL requests column that doesn't exist in LINQ to Entities (MySql bug #72004, Oracle bug #19681348).
- Fix for MySQL Connector/NET generates incorrect SQL for LINQ 'StartsWith' queries (MySql bug #72058, Oracle bug #19680236).
- Fix for Exception when using IEnumerable.Contains(model.property) in Where predicate (MySql bug #73643, Oracle bug #19690370).
- Fix for Generated Sql does not contain ORDER BY statement whose is requested by LINQ (MySql bug #73549, Oracle bug #19698010).
- Fix for Error of "Every derived table must have an alias" in LINQ to Entities when using EF6 + DbFirst + View + Take
(MySql Bug #72148, Oracle bug #19356006).
- Fix for 'the method or operation is not implemented' when using linq with orderby (MySQL Bug #70722, Oracle Bug #19681723).
6.7.5
- Fix for bad query when using LINQ to Entities with a query using Take, OrderBy & Contains in Code First (MySql bug #69751, Oracle bug #17194945).
- Fix for LINQ to Entities error for bad aliasing in column for expression (MySql bug #69922, Oracle bug #17285548).
- Installer adds MySql.Data, MySql.Data.Entity, and MySql.Web to machine.config and into GAC (MySQL Bug #69760, Oracle Bug #17601689).
- Added MySql.Web.dll for .NET Framework 4.5
- Fix for NullReferenceException when try to save entity with TINYINY or BIGINT as PK (MySql bug #70888, Oracle bug #17866076).
- Fix for .Net connector does not add auto_increment to bigint columns (MySql Bug #70602, Oracle Bug #17924407).
- Fix for Entity Framework migration with Foreign Key fails. (MySql Bug #70795, Oracle Bug #17924399).
- Fix for fields of type TIME(3) don't read milliseconds (MySql bug #70377, Oracle Bug #17923814).
- Fix for Wrong milliseconds serialization (MySql bug #70686, Oracle Bug #17924388).
- Fix for Case incorrect on table in SQL queries for MySqlSessionStateStore (MySql bug #69652, Oracle bug #17960855).
- Fix for rename column operation in Entity Framework migrations (MySQL Bug #71102, Oracle Bug #17959787).
- Fix for Entity Framework Inserts broken on tables with unsigned bigint as auto increment (MySql Bug #71242, Oracle Bug #18189217).
- Fix for code To SQL Generation Broken For Foreign Keys/Indexes On Table Create (MySQL #70079, Oracle Bug #18049272)
- Fix for DotNet Connector keepalive in milliseconds instead of seconds (MySql Bug #69484, Oracle Bug #17981275).
- Fix for EF SQL Generator, Union Syntax (Concat operator) is missing required parentheses (may cause semantic changes
when combined with Limit clause (Take operator)) (MySql bug #70828, Oracle bug #18049691).
- Fix for support for Entity Framework 4.3 Code first Identifiers for Migrations & EF6 (MySql Bug #67285, Oracle bug #16286397).
- Added threading and custom failover support for Replication & Load balancing (MySQL Bug #69832, Oracle Bug #18112966).
- Fix for maximumpoolsize and minimumpoolsize as invalid properties in connection string (Oracle Bug #18182246).
- Fix for 'default table cache age' connection string property, set default value to 60 seconds.
- Fix for MySqlDataTime.Millisecond to be a value between 0 and 999.
- Added Microsecond to MySqlDateTime for 6-digit precision support.
- Renamed MySql.Data.Entity.dll to MySql.Data.Entity.EF5.dll for Entity Framework 5 and .NET Framework 4.5 or above.
For EF 5 and .NET Framework 4.0 or below remains the same name.
6.7.4
- Fix for Entity Framework when inserts data having Identity columns (Oracle bug #16494585).
- Fix for Connector/NET cannot read data from a MySql table using UTF-16/UTF-32 (MySql bug #69169, Oracle bug #16776818).
- Fix for Malformed query in Entity Framework when eager loading due to multiple projections (MySql bug #67183, Oracle bug #16872852).
- Fix for database objects with 'dbo' prefix when using automatic migrations in Entity Framework 5.0 (Oracle bug #16909439).
- Fix for bug IIS application pool reset worker process causes website to crash (Oracle bug #16909237, Mysql Bug #67665).
- Fix for bug Error in LINQ to Entities query when using Distinct().Count() (MySql Bug #68513, Oracle bug #16950146).
- Fix for occasionally return no data when socket connection is slow, interrupted or delayed (MySql bug #69039, Oracle bug #16950212).
- Fix for ConstraintException when filling a datatable (MySql bug #65065, Oracle bug #16952323).
- Fix for Data Provider is not found after uninstalling Mysql for visual studio (Oracle bug #16973456).
- Fix for nested sql generated for LINQ to Entities query with Take and Order by (MySql bug #65723, Oracle bug #16973939).
6.7.3
- Fix for bug in Replication & load balancing (Oracle bug #16762427)
- Added support for Entity Framework 5.0 when using .net 4.0 (WorkItem #228).
6.7.2
- Fix for Bug "REPAIR" option on connector/net_installer, raise an exception (Oracle Bug #16630567).
- Fix for Bug Entity Framework 5.0 (.net 4.0) with mysql connector/net 6.7.0 alpha (Oracle Bug #16694050).
- Added WinRT support.
- Fix for Incorrect assemblies runtime version installed (Oracle Bug #16725274).
- Fix for Core assemblies not listed in add reference dialog for .net 4.5 (Oracle Bug #16704115).
6.7.1
- Fix for Bug Assemblies for .net 4.5 are not included in the installation (Oracle Bug #16463655).
- Fix for Bug Geometry Provider Incompatible Exception (Oracle Bug # 16453250).
6.7.0
- Fix for bug Keyword not supported. Parameter name: AttachDbFilename (Mysql bug #66880, Oracle bug #14733472).
- Fix for bug "Unable to connect using IPv6 connections" (MySQL bug #67253, Oracle bug #14835718).
- Added auto-generated values for Guid identity columns (MySql bug #67450, Oracle bug #15834176).
- Fix for method FirstOrDefault not supported in some LINQ to Entities queries (MySql bug #67377, Oracle bug #15856964).
- Fixed missing keywords not working as ids (wihout quoting) in parser: value, status, unknown & some unit tests from Arnaud feedback.
- Fix for Datetime precision doesn't work with code first or model first. (Oracle bug #15972773).
- Fix for Support for current_timestamp as default for datetime with ef for server 5.6 (Oracle bug #15935094).
- Adding support for Geometry type. Unit Tests included. Supporting server 5.1 and further.
- Added support for new connect attributes feature in server 5.6 (Oracle bug #15935112).
- Added protocol support for password expiration (Oracle bug #15935104).
- Added support for password hashing with appropriate strength for server 5.6 (Oracle bug #15935128).
- Added a more friendly message for error when trying to authenticate with old password.
- Fix for GetSchema returning MySqlException instead of ArgumentException when passing an invalid collection name
(Oracle bug #16271425, MySql bug #67901).
- Fix for EF 4.3 failing when FK identifiers are too long (MySql bug #67285, Oracle bug #16286397).
- Fix for race condition on ConnectionStringBuilder when using multiple threads
(MySql bug #68217, Oracle bug #16310698).
- Fix for Specifying delete cascade in EF migrations does not work (MySql bug #68457, Oracle bug #16398432).
- Fix for InvalidCastException thrown when executing an stored function (MySql bug #64633, Oracle bug #13864627).
- Fix for Default Command Timeout not applying for EFMySqlCommand (MySql bug #67171, Oracle bug #14825670).
- Fix for Cannot use geometry function on new instances created with ef code first (Oracle bug #16446399).

@ -0,0 +1,15 @@
Connector/Net 6.7 Release Notes
------------------------------------
Welcome to the release notes for Connector/Net 6.7
What's new in 6.7
--------------------
- WinRT Connector.
- Load Balancing client support.
- Entity Framework 5 support.
- Memcached client.
Be sure and check the documentation for more information on these new features.

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.7.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
</configuration>

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.7.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</DbProviderFactories>
</system.data>
</configuration>

Binary file not shown.

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save