天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

738 lines
28 KiB

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.225
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace QMTask.Client.TaskService {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="TaskInfo", Namespace="http://schemas.datacontract.org/2004/07/QMTask.Core")]
[System.SerializableAttribute()]
public partial class TaskInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string AssemblyFileField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string IsUseField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TaskIDField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TaskNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TaskTypeField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string AssemblyFile {
get {
return this.AssemblyFileField;
}
set {
if ((object.ReferenceEquals(this.AssemblyFileField, value) != true)) {
this.AssemblyFileField = value;
this.RaisePropertyChanged("AssemblyFile");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string IsUse {
get {
return this.IsUseField;
}
set {
if ((object.ReferenceEquals(this.IsUseField, value) != true)) {
this.IsUseField = value;
this.RaisePropertyChanged("IsUse");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaskID {
get {
return this.TaskIDField;
}
set {
if ((object.ReferenceEquals(this.TaskIDField, value) != true)) {
this.TaskIDField = value;
this.RaisePropertyChanged("TaskID");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaskName {
get {
return this.TaskNameField;
}
set {
if ((object.ReferenceEquals(this.TaskNameField, value) != true)) {
this.TaskNameField = value;
this.RaisePropertyChanged("TaskName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaskType {
get {
return this.TaskTypeField;
}
set {
if ((object.ReferenceEquals(this.TaskTypeField, value) != true)) {
this.TaskTypeField = value;
this.RaisePropertyChanged("TaskType");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="PlanInfo", Namespace="http://schemas.datacontract.org/2004/07/QMTask.Core")]
[System.SerializableAttribute()]
public partial class PlanInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string DayEndTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string DayStartTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ExecuteDayField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int IntervalField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string IntervalTypeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string IsUseField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string OnceTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int PeriodField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PeriodTypeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.DateTime PlanEndDateField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PlanIDField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PlanNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.DateTime PlanStartDateField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RemarkField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TaskIDField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string DayEndTime {
get {
return this.DayEndTimeField;
}
set {
if ((object.ReferenceEquals(this.DayEndTimeField, value) != true)) {
this.DayEndTimeField = value;
this.RaisePropertyChanged("DayEndTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string DayStartTime {
get {
return this.DayStartTimeField;
}
set {
if ((object.ReferenceEquals(this.DayStartTimeField, value) != true)) {
this.DayStartTimeField = value;
this.RaisePropertyChanged("DayStartTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ExecuteDay {
get {
return this.ExecuteDayField;
}
set {
if ((object.ReferenceEquals(this.ExecuteDayField, value) != true)) {
this.ExecuteDayField = value;
this.RaisePropertyChanged("ExecuteDay");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int Interval {
get {
return this.IntervalField;
}
set {
if ((this.IntervalField.Equals(value) != true)) {
this.IntervalField = value;
this.RaisePropertyChanged("Interval");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string IntervalType {
get {
return this.IntervalTypeField;
}
set {
if ((object.ReferenceEquals(this.IntervalTypeField, value) != true)) {
this.IntervalTypeField = value;
this.RaisePropertyChanged("IntervalType");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string IsUse {
get {
return this.IsUseField;
}
set {
if ((object.ReferenceEquals(this.IsUseField, value) != true)) {
this.IsUseField = value;
this.RaisePropertyChanged("IsUse");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string OnceTime {
get {
return this.OnceTimeField;
}
set {
if ((object.ReferenceEquals(this.OnceTimeField, value) != true)) {
this.OnceTimeField = value;
this.RaisePropertyChanged("OnceTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int Period {
get {
return this.PeriodField;
}
set {
if ((this.PeriodField.Equals(value) != true)) {
this.PeriodField = value;
this.RaisePropertyChanged("Period");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PeriodType {
get {
return this.PeriodTypeField;
}
set {
if ((object.ReferenceEquals(this.PeriodTypeField, value) != true)) {
this.PeriodTypeField = value;
this.RaisePropertyChanged("PeriodType");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime PlanEndDate {
get {
return this.PlanEndDateField;
}
set {
if ((this.PlanEndDateField.Equals(value) != true)) {
this.PlanEndDateField = value;
this.RaisePropertyChanged("PlanEndDate");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PlanID {
get {
return this.PlanIDField;
}
set {
if ((object.ReferenceEquals(this.PlanIDField, value) != true)) {
this.PlanIDField = value;
this.RaisePropertyChanged("PlanID");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PlanName {
get {
return this.PlanNameField;
}
set {
if ((object.ReferenceEquals(this.PlanNameField, value) != true)) {
this.PlanNameField = value;
this.RaisePropertyChanged("PlanName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime PlanStartDate {
get {
return this.PlanStartDateField;
}
set {
if ((this.PlanStartDateField.Equals(value) != true)) {
this.PlanStartDateField = value;
this.RaisePropertyChanged("PlanStartDate");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Remark {
get {
return this.RemarkField;
}
set {
if ((object.ReferenceEquals(this.RemarkField, value) != true)) {
this.RemarkField = value;
this.RaisePropertyChanged("Remark");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaskID {
get {
return this.TaskIDField;
}
set {
if ((object.ReferenceEquals(this.TaskIDField, value) != true)) {
this.TaskIDField = value;
this.RaisePropertyChanged("TaskID");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="MonitorInfo", Namespace="http://schemas.datacontract.org/2004/07/QMTask.Core")]
[System.SerializableAttribute()]
public partial class MonitorInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ExecuteIntervalField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsNormalField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsUseField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string LastExecuteResultField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.DateTime LastExecuteTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string NormalImageField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PlanIDField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PlanNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RemarkField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool RunningField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TaskIDField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TaskNameField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ExecuteInterval {
get {
return this.ExecuteIntervalField;
}
set {
if ((object.ReferenceEquals(this.ExecuteIntervalField, value) != true)) {
this.ExecuteIntervalField = value;
this.RaisePropertyChanged("ExecuteInterval");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsNormal {
get {
return this.IsNormalField;
}
set {
if ((this.IsNormalField.Equals(value) != true)) {
this.IsNormalField = value;
this.RaisePropertyChanged("IsNormal");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsUse {
get {
return this.IsUseField;
}
set {
if ((this.IsUseField.Equals(value) != true)) {
this.IsUseField = value;
this.RaisePropertyChanged("IsUse");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LastExecuteResult {
get {
return this.LastExecuteResultField;
}
set {
if ((object.ReferenceEquals(this.LastExecuteResultField, value) != true)) {
this.LastExecuteResultField = value;
this.RaisePropertyChanged("LastExecuteResult");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime LastExecuteTime {
get {
return this.LastExecuteTimeField;
}
set {
if ((this.LastExecuteTimeField.Equals(value) != true)) {
this.LastExecuteTimeField = value;
this.RaisePropertyChanged("LastExecuteTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string NormalImage {
get {
return this.NormalImageField;
}
set {
if ((object.ReferenceEquals(this.NormalImageField, value) != true)) {
this.NormalImageField = value;
this.RaisePropertyChanged("NormalImage");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PlanID {
get {
return this.PlanIDField;
}
set {
if ((object.ReferenceEquals(this.PlanIDField, value) != true)) {
this.PlanIDField = value;
this.RaisePropertyChanged("PlanID");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PlanName {
get {
return this.PlanNameField;
}
set {
if ((object.ReferenceEquals(this.PlanNameField, value) != true)) {
this.PlanNameField = value;
this.RaisePropertyChanged("PlanName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Remark {
get {
return this.RemarkField;
}
set {
if ((object.ReferenceEquals(this.RemarkField, value) != true)) {
this.RemarkField = value;
this.RaisePropertyChanged("Remark");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool Running {
get {
return this.RunningField;
}
set {
if ((this.RunningField.Equals(value) != true)) {
this.RunningField = value;
this.RaisePropertyChanged("Running");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaskID {
get {
return this.TaskIDField;
}
set {
if ((object.ReferenceEquals(this.TaskIDField, value) != true)) {
this.TaskIDField = value;
this.RaisePropertyChanged("TaskID");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TaskName {
get {
return this.TaskNameField;
}
set {
if ((object.ReferenceEquals(this.TaskNameField, value) != true)) {
this.TaskNameField = value;
this.RaisePropertyChanged("TaskName");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.ainote.cn", ConfigurationName="TaskService.ITaskService", SessionMode=System.ServiceModel.SessionMode.Required)]
public interface ITaskService {
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/GetTaskList", ReplyAction="http://www.ainote.cn/ITaskService/GetTaskListResponse")]
QMTask.Client.TaskService.TaskInfo[] GetTaskList();
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/GetPlanList", ReplyAction="http://www.ainote.cn/ITaskService/GetPlanListResponse")]
QMTask.Client.TaskService.PlanInfo[] GetPlanList();
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/GetPlanModel", ReplyAction="http://www.ainote.cn/ITaskService/GetPlanModelResponse")]
QMTask.Client.TaskService.PlanInfo GetPlanModel(string PlanID);
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/AddPlan", ReplyAction="http://www.ainote.cn/ITaskService/AddPlanResponse")]
bool AddPlan(QMTask.Client.TaskService.PlanInfo plan);
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/UpdatePlan", ReplyAction="http://www.ainote.cn/ITaskService/UpdatePlanResponse")]
bool UpdatePlan(QMTask.Client.TaskService.PlanInfo plan);
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/DeletePlan", ReplyAction="http://www.ainote.cn/ITaskService/DeletePlanResponse")]
bool DeletePlan(QMTask.Client.TaskService.PlanInfo plan);
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/StartPlan", ReplyAction="http://www.ainote.cn/ITaskService/StartPlanResponse")]
bool StartPlan(QMTask.Client.TaskService.PlanInfo plan);
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/StopPlan", ReplyAction="http://www.ainote.cn/ITaskService/StopPlanResponse")]
bool StopPlan(QMTask.Client.TaskService.PlanInfo plan);
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/GetServerStatus", ReplyAction="http://www.ainote.cn/ITaskService/GetServerStatusResponse")]
bool GetServerStatus();
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/Start", ReplyAction="http://www.ainote.cn/ITaskService/StartResponse")]
void Start();
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/Stop", ReplyAction="http://www.ainote.cn/ITaskService/StopResponse")]
void Stop();
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/GetPlanMonitorInfos", ReplyAction="http://www.ainote.cn/ITaskService/GetPlanMonitorInfosResponse")]
QMTask.Client.TaskService.MonitorInfo[] GetPlanMonitorInfos();
[System.ServiceModel.OperationContractAttribute(Action="http://www.ainote.cn/ITaskService/Login", ReplyAction="http://www.ainote.cn/ITaskService/LoginResponse")]
void Login(string credentialID);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ITaskServiceChannel : QMTask.Client.TaskService.ITaskService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class TaskServiceClient : System.ServiceModel.ClientBase<QMTask.Client.TaskService.ITaskService>, QMTask.Client.TaskService.ITaskService {
public TaskServiceClient() {
}
public TaskServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public TaskServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public TaskServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public TaskServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public QMTask.Client.TaskService.TaskInfo[] GetTaskList() {
return base.Channel.GetTaskList();
}
public QMTask.Client.TaskService.PlanInfo[] GetPlanList() {
return base.Channel.GetPlanList();
}
public QMTask.Client.TaskService.PlanInfo GetPlanModel(string PlanID) {
return base.Channel.GetPlanModel(PlanID);
}
public bool AddPlan(QMTask.Client.TaskService.PlanInfo plan) {
return base.Channel.AddPlan(plan);
}
public bool UpdatePlan(QMTask.Client.TaskService.PlanInfo plan) {
return base.Channel.UpdatePlan(plan);
}
public bool DeletePlan(QMTask.Client.TaskService.PlanInfo plan) {
return base.Channel.DeletePlan(plan);
}
public bool StartPlan(QMTask.Client.TaskService.PlanInfo plan) {
return base.Channel.StartPlan(plan);
}
public bool StopPlan(QMTask.Client.TaskService.PlanInfo plan) {
return base.Channel.StopPlan(plan);
}
public bool GetServerStatus() {
return base.Channel.GetServerStatus();
}
public void Start() {
base.Channel.Start();
}
public void Stop() {
base.Channel.Stop();
}
public QMTask.Client.TaskService.MonitorInfo[] GetPlanMonitorInfos() {
return base.Channel.GetPlanMonitorInfos();
}
public void Login(string credentialID) {
base.Channel.Login(credentialID);
}
}
}