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.
447 lines
19 KiB
447 lines
19 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
//
|
|
// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.42000.
|
|
//
|
|
#pragma warning disable 1591
|
|
|
|
namespace WcfControlMonitorLib.ManageService {
|
|
using System;
|
|
using System.Web.Services;
|
|
using System.Diagnostics;
|
|
using System.Web.Services.Protocols;
|
|
using System.Xml.Serialization;
|
|
using System.ComponentModel;
|
|
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Web.Services.WebServiceBindingAttribute(Name="BasicHttpBinding_I_ManageService", Namespace="http://tempuri.org/")]
|
|
public partial class S_ManageService : System.Web.Services.Protocols.SoapHttpClientProtocol {
|
|
|
|
private System.Threading.SendOrPostCallback ControlTranslateOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback RecordCreateOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback StationPickCompleteOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback ManageTypeParamGetListOperationCompleted;
|
|
|
|
private bool useDefaultCredentialsSetExplicitly;
|
|
|
|
/// <remarks/>
|
|
public S_ManageService() {
|
|
this.Url = global::WcfControlMonitorLib.Properties.Settings.Default.WcfControlMonitorLib_ManageService_S_ManageService;
|
|
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
|
|
this.UseDefaultCredentials = true;
|
|
this.useDefaultCredentialsSetExplicitly = false;
|
|
}
|
|
else {
|
|
this.useDefaultCredentialsSetExplicitly = true;
|
|
}
|
|
}
|
|
|
|
public new string Url {
|
|
get {
|
|
return base.Url;
|
|
}
|
|
set {
|
|
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
|
|
&& (this.useDefaultCredentialsSetExplicitly == false))
|
|
&& (this.IsLocalFileSystemWebService(value) == false))) {
|
|
base.UseDefaultCredentials = false;
|
|
}
|
|
base.Url = value;
|
|
}
|
|
}
|
|
|
|
public new bool UseDefaultCredentials {
|
|
get {
|
|
return base.UseDefaultCredentials;
|
|
}
|
|
set {
|
|
base.UseDefaultCredentials = value;
|
|
this.useDefaultCredentialsSetExplicitly = true;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public event ControlTranslateCompletedEventHandler ControlTranslateCompleted;
|
|
|
|
/// <remarks/>
|
|
public event RecordCreateCompletedEventHandler RecordCreateCompleted;
|
|
|
|
/// <remarks/>
|
|
public event StationPickCompleteCompletedEventHandler StationPickCompleteCompleted;
|
|
|
|
/// <remarks/>
|
|
public event ManageTypeParamGetListCompletedEventHandler ManageTypeParamGetListCompleted;
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/I_ManageService/ControlTranslate", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void ControlTranslate([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string WAREHOUSE) {
|
|
this.Invoke("ControlTranslate", new object[] {
|
|
WAREHOUSE});
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void ControlTranslateAsync(string WAREHOUSE) {
|
|
this.ControlTranslateAsync(WAREHOUSE, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void ControlTranslateAsync(string WAREHOUSE, object userState) {
|
|
if ((this.ControlTranslateOperationCompleted == null)) {
|
|
this.ControlTranslateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnControlTranslateOperationCompleted);
|
|
}
|
|
this.InvokeAsync("ControlTranslate", new object[] {
|
|
WAREHOUSE}, this.ControlTranslateOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnControlTranslateOperationCompleted(object arg) {
|
|
if ((this.ControlTranslateCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.ControlTranslateCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/I_ManageService/RecordCreate", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void RecordCreate(int MANAGE_ID, [System.Xml.Serialization.XmlIgnoreAttribute()] bool MANAGE_IDSpecified, out bool RecordCreateResult, [System.Xml.Serialization.XmlIgnoreAttribute()] out bool RecordCreateResultSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] out string sResult) {
|
|
object[] results = this.Invoke("RecordCreate", new object[] {
|
|
MANAGE_ID,
|
|
MANAGE_IDSpecified});
|
|
RecordCreateResult = ((bool)(results[0]));
|
|
RecordCreateResultSpecified = ((bool)(results[1]));
|
|
sResult = ((string)(results[2]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RecordCreateAsync(int MANAGE_ID, bool MANAGE_IDSpecified) {
|
|
this.RecordCreateAsync(MANAGE_ID, MANAGE_IDSpecified, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RecordCreateAsync(int MANAGE_ID, bool MANAGE_IDSpecified, object userState) {
|
|
if ((this.RecordCreateOperationCompleted == null)) {
|
|
this.RecordCreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRecordCreateOperationCompleted);
|
|
}
|
|
this.InvokeAsync("RecordCreate", new object[] {
|
|
MANAGE_ID,
|
|
MANAGE_IDSpecified}, this.RecordCreateOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnRecordCreateOperationCompleted(object arg) {
|
|
if ((this.RecordCreateCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.RecordCreateCompleted(this, new RecordCreateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/I_ManageService/StationPickComplete", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void StationPickComplete([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string STATION_CODE, out bool StationPickCompleteResult, [System.Xml.Serialization.XmlIgnoreAttribute()] out bool StationPickCompleteResultSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] out string sResult) {
|
|
object[] results = this.Invoke("StationPickComplete", new object[] {
|
|
STATION_CODE});
|
|
StationPickCompleteResult = ((bool)(results[0]));
|
|
StationPickCompleteResultSpecified = ((bool)(results[1]));
|
|
sResult = ((string)(results[2]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void StationPickCompleteAsync(string STATION_CODE) {
|
|
this.StationPickCompleteAsync(STATION_CODE, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void StationPickCompleteAsync(string STATION_CODE, object userState) {
|
|
if ((this.StationPickCompleteOperationCompleted == null)) {
|
|
this.StationPickCompleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStationPickCompleteOperationCompleted);
|
|
}
|
|
this.InvokeAsync("StationPickComplete", new object[] {
|
|
STATION_CODE}, this.StationPickCompleteOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnStationPickCompleteOperationCompleted(object arg) {
|
|
if ((this.StationPickCompleteCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.StationPickCompleteCompleted(this, new StationPickCompleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/I_ManageService/ManageTypeParamGetList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
[return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
|
|
[return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/SiaSun.LMS.Model")]
|
|
public MANAGE_TYPE_PARAM[] ManageTypeParamGetList(int MANAGE_TYPE_ID, [System.Xml.Serialization.XmlIgnoreAttribute()] bool MANAGE_TYPE_IDSpecified) {
|
|
object[] results = this.Invoke("ManageTypeParamGetList", new object[] {
|
|
MANAGE_TYPE_ID,
|
|
MANAGE_TYPE_IDSpecified});
|
|
return ((MANAGE_TYPE_PARAM[])(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void ManageTypeParamGetListAsync(int MANAGE_TYPE_ID, bool MANAGE_TYPE_IDSpecified) {
|
|
this.ManageTypeParamGetListAsync(MANAGE_TYPE_ID, MANAGE_TYPE_IDSpecified, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void ManageTypeParamGetListAsync(int MANAGE_TYPE_ID, bool MANAGE_TYPE_IDSpecified, object userState) {
|
|
if ((this.ManageTypeParamGetListOperationCompleted == null)) {
|
|
this.ManageTypeParamGetListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnManageTypeParamGetListOperationCompleted);
|
|
}
|
|
this.InvokeAsync("ManageTypeParamGetList", new object[] {
|
|
MANAGE_TYPE_ID,
|
|
MANAGE_TYPE_IDSpecified}, this.ManageTypeParamGetListOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnManageTypeParamGetListOperationCompleted(object arg) {
|
|
if ((this.ManageTypeParamGetListCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.ManageTypeParamGetListCompleted(this, new ManageTypeParamGetListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public new void CancelAsync(object userState) {
|
|
base.CancelAsync(userState);
|
|
}
|
|
|
|
private bool IsLocalFileSystemWebService(string url) {
|
|
if (((url == null)
|
|
|| (url == string.Empty))) {
|
|
return false;
|
|
}
|
|
System.Uri wsUri = new System.Uri(url);
|
|
if (((wsUri.Port >= 1024)
|
|
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")]
|
|
[System.SerializableAttribute()]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/SiaSun.LMS.Model")]
|
|
public partial class MANAGE_TYPE_PARAM {
|
|
|
|
private int mANAGE_TYPE_IDField;
|
|
|
|
private bool mANAGE_TYPE_IDFieldSpecified;
|
|
|
|
private string pARAM_CODEField;
|
|
|
|
private string pARAM_FLAGField;
|
|
|
|
private int pARAM_IDField;
|
|
|
|
private bool pARAM_IDFieldSpecified;
|
|
|
|
private string pARAM_VALUEField;
|
|
|
|
/// <remarks/>
|
|
public int MANAGE_TYPE_ID {
|
|
get {
|
|
return this.mANAGE_TYPE_IDField;
|
|
}
|
|
set {
|
|
this.mANAGE_TYPE_IDField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
|
public bool MANAGE_TYPE_IDSpecified {
|
|
get {
|
|
return this.mANAGE_TYPE_IDFieldSpecified;
|
|
}
|
|
set {
|
|
this.mANAGE_TYPE_IDFieldSpecified = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
|
public string PARAM_CODE {
|
|
get {
|
|
return this.pARAM_CODEField;
|
|
}
|
|
set {
|
|
this.pARAM_CODEField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
|
public string PARAM_FLAG {
|
|
get {
|
|
return this.pARAM_FLAGField;
|
|
}
|
|
set {
|
|
this.pARAM_FLAGField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public int PARAM_ID {
|
|
get {
|
|
return this.pARAM_IDField;
|
|
}
|
|
set {
|
|
this.pARAM_IDField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
|
public bool PARAM_IDSpecified {
|
|
get {
|
|
return this.pARAM_IDFieldSpecified;
|
|
}
|
|
set {
|
|
this.pARAM_IDFieldSpecified = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
|
|
public string PARAM_VALUE {
|
|
get {
|
|
return this.pARAM_VALUEField;
|
|
}
|
|
set {
|
|
this.pARAM_VALUEField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
public delegate void ControlTranslateCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
public delegate void RecordCreateCompletedEventHandler(object sender, RecordCreateCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class RecordCreateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal RecordCreateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool RecordCreateResult {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool RecordCreateResultSpecified {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[1]));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string sResult {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[2]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
public delegate void StationPickCompleteCompletedEventHandler(object sender, StationPickCompleteCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class StationPickCompleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal StationPickCompleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool StationPickCompleteResult {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool StationPickCompleteResultSpecified {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[1]));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string sResult {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[2]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
public delegate void ManageTypeParamGetListCompletedEventHandler(object sender, ManageTypeParamGetListCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class ManageTypeParamGetListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal ManageTypeParamGetListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public MANAGE_TYPE_PARAM[] Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((MANAGE_TYPE_PARAM[])(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591
|