diff --git a/ToolProject/TestForm/TestForm/App.config b/ToolProject/TestForm/TestForm/App.config
index 9b634119..1c883a5f 100644
--- a/ToolProject/TestForm/TestForm/App.config
+++ b/ToolProject/TestForm/TestForm/App.config
@@ -10,6 +10,12 @@
+
+
+
+
+
+
diff --git a/ToolProject/TestForm/TestForm/Form1.Designer.cs b/ToolProject/TestForm/TestForm/Form1.Designer.cs
index 529cfea6..02db917e 100644
--- a/ToolProject/TestForm/TestForm/Form1.Designer.cs
+++ b/ToolProject/TestForm/TestForm/Form1.Designer.cs
@@ -32,6 +32,7 @@
this.button2 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
+ this.button3 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
@@ -70,11 +71,22 @@
this.textBox1.Size = new System.Drawing.Size(96, 21);
this.textBox1.TabIndex = 3;
//
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(114, 82);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(75, 23);
+ this.button3.TabIndex = 4;
+ this.button3.Text = "button3";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(294, 181);
+ this.Controls.Add(this.button3);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.button2);
@@ -92,6 +104,7 @@
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.Button button3;
}
}
diff --git a/ToolProject/TestForm/TestForm/Form1.cs b/ToolProject/TestForm/TestForm/Form1.cs
index ca34a981..5379c101 100644
--- a/ToolProject/TestForm/TestForm/Form1.cs
+++ b/ToolProject/TestForm/TestForm/Form1.cs
@@ -1,4 +1,5 @@
-using D7MqClient;
+
+using DSWeb.Service.Output;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -8,6 +9,8 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+//using D7MqClient;
+
namespace TestForm
{
@@ -20,7 +23,7 @@ namespace TestForm
private void button1_Click(object sender, EventArgs e)
{
- DJYtoD7_OPSTATUS dj = new DJYtoD7_OPSTATUS();
+ //DJYtoD7_OPSTATUS dj = new DJYtoD7_OPSTATUS();
}
private void button2_Click(object sender, EventArgs e)
@@ -36,5 +39,13 @@ namespace TestForm
}
label1.Text = newint.ToString();
}
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ //触发荣圣达读取泛微审核结果逻辑
+
+ JobFanWeiToDS7 jd = new JobFanWeiToDS7();
+ jd.DoWork();
+ }
}
}
diff --git a/ToolProject/TestForm/TestForm/TestForm.csproj b/ToolProject/TestForm/TestForm/TestForm.csproj
index 6b3a6f0b..e0be6c6a 100644
--- a/ToolProject/TestForm/TestForm/TestForm.csproj
+++ b/ToolProject/TestForm/TestForm/TestForm.csproj
@@ -36,12 +36,21 @@
4
+
+ ..\..\..\packages\Common.Logging.3.3.1\lib\net40\Common.Logging.dll
+
+
+ ..\..\..\packages\Common.Logging.Core.3.3.1\lib\net40\Common.Logging.Core.dll
+
..\..\..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll
..\..\..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll
+
+ ..\..\..\packages\Quartz.2.6.2\lib\net40\Quartz.dll
+
@@ -76,6 +85,9 @@
True
Resources.resx
+
+ Designer
+
SettingsSingleFileGenerator
@@ -91,9 +103,9 @@
-
- {f3096387-37a2-403b-b147-64a8b4fc1077}
- D7MqClient
+
+ {fb5f0a53-8aa0-4993-8fb9-2b6c5fac0482}
+ DSWeb.Service.Output
diff --git a/ToolProject/TestForm/TestForm/job_scheduling_data_2_0.xsd b/ToolProject/TestForm/TestForm/job_scheduling_data_2_0.xsd
new file mode 100644
index 00000000..7bff0f0a
--- /dev/null
+++ b/ToolProject/TestForm/TestForm/job_scheduling_data_2_0.xsd
@@ -0,0 +1,364 @@
+
+
+
+
+
+
+ Root level node
+
+
+
+
+
+ Commands to be executed before scheduling the jobs and triggers in this file.
+
+
+
+
+ Directives to be followed while scheduling the jobs and triggers in this file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Version of the XML Schema instance
+
+
+
+
+
+
+
+
+
+ Delete all jobs, if any, in the identified group. "*" can be used to identify all groups. Will also result in deleting all triggers related to the jobs.
+
+
+
+
+ Delete all triggers, if any, in the identified group. "*" can be used to identify all groups. Will also result in deletion of related jobs that are non-durable.
+
+
+
+
+ Delete the identified job if it exists (will also result in deleting all triggers related to it).
+
+
+
+
+
+
+
+
+
+
+ Delete the identified trigger if it exists (will also result in deletion of related jobs that are non-durable).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Whether the existing scheduling data (with same identifiers) will be overwritten. If false, and ignore-duplicates is not false, and jobs or triggers with the same names already exist as those in the file, an error will occur.
+
+
+
+
+ If true (and overwrite-existing-data is false) then any job/triggers encountered in this file that have names that already exist in the scheduler will be ignored, and no error will be produced.
+
+
+
+
+ If true trigger's start time is calculated based on earlier run time instead of fixed value. Trigger's start time must be undefined for this to work.
+
+
+
+
+
+
+
+ Define a JobDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Define a JobDataMap
+
+
+
+
+
+
+
+
+ Define a JobDataMap entry
+
+
+
+
+
+
+
+
+
+ Define a Trigger
+
+
+
+
+
+
+
+
+
+
+ Common Trigger definitions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Define a SimpleTrigger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Define a CronTrigger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Define a DateIntervalTrigger
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cron expression (see JavaDoc for examples)
+
+ Special thanks to Chris Thatcher (thatcher@butterfly.net) for the regular expression!
+
+ Regular expressions are not my strong point but I believe this is complete,
+ with the caveat that order for expressions like 3-0 is not legal but will pass,
+ and month and day names must be capitalized.
+ If you want to examine the correctness look for the [\s] to denote the
+ seperation of individual regular expressions. This is how I break them up visually
+ to examine them:
+
+ SECONDS:
+ (
+ ((([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?,)*([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?)
+ | (([\*]|[0-9]|[0-5][0-9])/([0-9]|[0-5][0-9]))
+ | ([\?])
+ | ([\*])
+ ) [\s]
+ MINUTES:
+ (
+ ((([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?,)*([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?)
+ | (([\*]|[0-9]|[0-5][0-9])/([0-9]|[0-5][0-9]))
+ | ([\?])
+ | ([\*])
+ ) [\s]
+ HOURS:
+ (
+ ((([0-9]|[0-1][0-9]|[2][0-3])(-([0-9]|[0-1][0-9]|[2][0-3]))?,)*([0-9]|[0-1][0-9]|[2][0-3])(-([0-9]|[0-1][0-9]|[2][0-3]))?)
+ | (([\*]|[0-9]|[0-1][0-9]|[2][0-3])/([0-9]|[0-1][0-9]|[2][0-3]))
+ | ([\?])
+ | ([\*])
+ ) [\s]
+ DAY OF MONTH:
+ (
+ ((([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(-([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1]))?,)*([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(-([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1]))?(C)?)
+ | (([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])/([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(C)?)
+ | (L(-[0-9])?)
+ | (L(-[1-2][0-9])?)
+ | (L(-[3][0-1])?)
+ | (LW)
+ | ([1-9]W)
+ | ([1-3][0-9]W)
+ | ([\?])
+ | ([\*])
+ )[\s]
+ MONTH:
+ (
+ ((([1-9]|0[1-9]|1[0-2])(-([1-9]|0[1-9]|1[0-2]))?,)*([1-9]|0[1-9]|1[0-2])(-([1-9]|0[1-9]|1[0-2]))?)
+ | (([1-9]|0[1-9]|1[0-2])/([1-9]|0[1-9]|1[0-2]))
+ | (((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?,)*(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)
+ | ((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)/(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))
+ | ([\?])
+ | ([\*])
+ )[\s]
+ DAY OF WEEK:
+ (
+ (([1-7](-([1-7]))?,)*([1-7])(-([1-7]))?)
+ | ([1-7]/([1-7]))
+ | (((MON|TUE|WED|THU|FRI|SAT|SUN)(-(MON|TUE|WED|THU|FRI|SAT|SUN))?,)*(MON|TUE|WED|THU|FRI|SAT|SUN)(-(MON|TUE|WED|THU|FRI|SAT|SUN))?(C)?)
+ | ((MON|TUE|WED|THU|FRI|SAT|SUN)/(MON|TUE|WED|THU|FRI|SAT|SUN)(C)?)
+ | (([1-7]|(MON|TUE|WED|THU|FRI|SAT|SUN))(L|LW)?)
+ | (([1-7]|MON|TUE|WED|THU|FRI|SAT|SUN)#([1-7])?)
+ | ([\?])
+ | ([\*])
+ )
+ YEAR (OPTIONAL):
+ (
+ [\s]?
+ ([\*])?
+ | ((19[7-9][0-9])|(20[0-9][0-9]))?
+ | (((19[7-9][0-9])|(20[0-9][0-9]))/((19[7-9][0-9])|(20[0-9][0-9])))?
+ | ((((19[7-9][0-9])|(20[0-9][0-9]))(-((19[7-9][0-9])|(20[0-9][0-9])))?,)*((19[7-9][0-9])|(20[0-9][0-9]))(-((19[7-9][0-9])|(20[0-9][0-9])))?)?
+ )
+
+
+
+
+
+
+
+
+
+ Number of times to repeat the Trigger (-1 for indefinite)
+
+
+
+
+
+
+
+
+
+ Simple Trigger Misfire Instructions
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cron Trigger Misfire Instructions
+
+
+
+
+
+
+
+
+
+
+
+ Date Interval Trigger Misfire Instructions
+
+
+
+
+
+
+
+
+
+
+
+ Interval Units
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ToolProject/TestForm/TestForm/packages.config b/ToolProject/TestForm/TestForm/packages.config
index 09a1842d..ae18e20a 100644
--- a/ToolProject/TestForm/TestForm/packages.config
+++ b/ToolProject/TestForm/TestForm/packages.config
@@ -1,4 +1,7 @@
+
+
+
\ No newline at end of file