//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.33440
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace Saving.WcfCommon {
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="str_rptexcel", Namespace="http://schemas.datacontract.org/2004/07/pbservice")]
[System.SerializableAttribute()]
public partial struct str_rptexcel : System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument01Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument02Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument03Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument04Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument05Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument06Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument07Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument08Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument09Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument10Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument11Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument12Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument13Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument14Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument15Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument16Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument17Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument18Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument19Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_argument20Field;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_dwobjectField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_pathField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_savetypeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string as_xmldwField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument01 {
get {
return this.as_argument01Field;
}
set {
if ((object.ReferenceEquals(this.as_argument01Field, value) != true)) {
this.as_argument01Field = value;
this.RaisePropertyChanged("as_argument01");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument02 {
get {
return this.as_argument02Field;
}
set {
if ((object.ReferenceEquals(this.as_argument02Field, value) != true)) {
this.as_argument02Field = value;
this.RaisePropertyChanged("as_argument02");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument03 {
get {
return this.as_argument03Field;
}
set {
if ((object.ReferenceEquals(this.as_argument03Field, value) != true)) {
this.as_argument03Field = value;
this.RaisePropertyChanged("as_argument03");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument04 {
get {
return this.as_argument04Field;
}
set {
if ((object.ReferenceEquals(this.as_argument04Field, value) != true)) {
this.as_argument04Field = value;
this.RaisePropertyChanged("as_argument04");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument05 {
get {
return this.as_argument05Field;
}
set {
if ((object.ReferenceEquals(this.as_argument05Field, value) != true)) {
this.as_argument05Field = value;
this.RaisePropertyChanged("as_argument05");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument06 {
get {
return this.as_argument06Field;
}
set {
if ((object.ReferenceEquals(this.as_argument06Field, value) != true)) {
this.as_argument06Field = value;
this.RaisePropertyChanged("as_argument06");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument07 {
get {
return this.as_argument07Field;
}
set {
if ((object.ReferenceEquals(this.as_argument07Field, value) != true)) {
this.as_argument07Field = value;
this.RaisePropertyChanged("as_argument07");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument08 {
get {
return this.as_argument08Field;
}
set {
if ((object.ReferenceEquals(this.as_argument08Field, value) != true)) {
this.as_argument08Field = value;
this.RaisePropertyChanged("as_argument08");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument09 {
get {
return this.as_argument09Field;
}
set {
if ((object.ReferenceEquals(this.as_argument09Field, value) != true)) {
this.as_argument09Field = value;
this.RaisePropertyChanged("as_argument09");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument10 {
get {
return this.as_argument10Field;
}
set {
if ((object.ReferenceEquals(this.as_argument10Field, value) != true)) {
this.as_argument10Field = value;
this.RaisePropertyChanged("as_argument10");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument11 {
get {
return this.as_argument11Field;
}
set {
if ((object.ReferenceEquals(this.as_argument11Field, value) != true)) {
this.as_argument11Field = value;
this.RaisePropertyChanged("as_argument11");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument12 {
get {
return this.as_argument12Field;
}
set {
if ((object.ReferenceEquals(this.as_argument12Field, value) != true)) {
this.as_argument12Field = value;
this.RaisePropertyChanged("as_argument12");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument13 {
get {
return this.as_argument13Field;
}
set {
if ((object.ReferenceEquals(this.as_argument13Field, value) != true)) {
this.as_argument13Field = value;
this.RaisePropertyChanged("as_argument13");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument14 {
get {
return this.as_argument14Field;
}
set {
if ((object.ReferenceEquals(this.as_argument14Field, value) != true)) {
this.as_argument14Field = value;
this.RaisePropertyChanged("as_argument14");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument15 {
get {
return this.as_argument15Field;
}
set {
if ((object.ReferenceEquals(this.as_argument15Field, value) != true)) {
this.as_argument15Field = value;
this.RaisePropertyChanged("as_argument15");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument16 {
get {
return this.as_argument16Field;
}
set {
if ((object.ReferenceEquals(this.as_argument16Field, value) != true)) {
this.as_argument16Field = value;
this.RaisePropertyChanged("as_argument16");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument17 {
get {
return this.as_argument17Field;
}
set {
if ((object.ReferenceEquals(this.as_argument17Field, value) != true)) {
this.as_argument17Field = value;
this.RaisePropertyChanged("as_argument17");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument18 {
get {
return this.as_argument18Field;
}
set {
if ((object.ReferenceEquals(this.as_argument18Field, value) != true)) {
this.as_argument18Field = value;
this.RaisePropertyChanged("as_argument18");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument19 {
get {
return this.as_argument19Field;
}
set {
if ((object.ReferenceEquals(this.as_argument19Field, value) != true)) {
this.as_argument19Field = value;
this.RaisePropertyChanged("as_argument19");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_argument20 {
get {
return this.as_argument20Field;
}
set {
if ((object.ReferenceEquals(this.as_argument20Field, value) != true)) {
this.as_argument20Field = value;
this.RaisePropertyChanged("as_argument20");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_dwobject {
get {
return this.as_dwobjectField;
}
set {
if ((object.ReferenceEquals(this.as_dwobjectField, value) != true)) {
this.as_dwobjectField = value;
this.RaisePropertyChanged("as_dwobject");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_path {
get {
return this.as_pathField;
}
set {
if ((object.ReferenceEquals(this.as_pathField, value) != true)) {
this.as_pathField = value;
this.RaisePropertyChanged("as_path");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_savetype {
get {
return this.as_savetypeField;
}
set {
if ((object.ReferenceEquals(this.as_savetypeField, value) != true)) {
this.as_savetypeField = value;
this.RaisePropertyChanged("as_savetype");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string as_xmldw {
get {
return this.as_xmldwField;
}
set {
if ((object.ReferenceEquals(this.as_xmldwField, value) != true)) {
this.as_xmldwField = value;
this.RaisePropertyChanged("as_xmldw");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
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(ConfigurationName="WcfCommon.ICommon")]
public interface ICommon {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/EncryptAscii", ReplyAction="http://tempuri.org/ICommon/EncryptAsciiResponse")]
string EncryptAscii(string wsPass, string text);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/DecryptAscii", ReplyAction="http://tempuri.org/ICommon/DecryptAsciiResponse")]
string DecryptAscii(string wsPass, string text);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetDataTable", ReplyAction="http://tempuri.org/ICommon/GetDataTableResponse")]
System.Data.DataTable GetDataTable(string wsPass, string keyWord, string tName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetNewDocNo", ReplyAction="http://tempuri.org/ICommon/GetNewDocNoResponse")]
string GetNewDocNo(string wsPass, string docCode);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetStatusApplication", ReplyAction="http://tempuri.org/ICommon/GetStatusApplicationResponse")]
string GetStatusApplication(string wsPass);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetStatusApplicationData", ReplyAction="http://tempuri.org/ICommon/GetStatusApplicationDataResponse")]
System.Data.DataTable GetStatusApplicationData(string wsPass);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetApplicationThai", ReplyAction="http://tempuri.org/ICommon/GetApplicationThaiResponse")]
string GetApplicationThai(string wsPass, string app);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/BaseFormatMemberNo", ReplyAction="http://tempuri.org/ICommon/BaseFormatMemberNoResponse")]
string BaseFormatMemberNo(string wsPass, string memberNo);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetDDDWXml", ReplyAction="http://tempuri.org/ICommon/GetDDDWXmlResponse")]
string GetDDDWXml(string wsPass, string ddwobj);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetXmlDataStore", ReplyAction="http://tempuri.org/ICommon/GetXmlDataStoreResponse")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(Saving.WcfCommon.str_rptexcel))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
string GetXmlDataStore(string wsPass, string application, string libralyList, string dwobjectName, object[] ArgsList);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetProcessStatus", ReplyAction="http://tempuri.org/ICommon/GetProcessStatusResponse")]
string GetProcessStatus(string wspass, string application, string w_sheet_id);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/RemoveProcess", ReplyAction="http://tempuri.org/ICommon/RemoveProcessResponse")]
string RemoveProcess(string wsPass, string application, string w_sheet_id);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/ReadThaiBath", ReplyAction="http://tempuri.org/ICommon/ReadThaiBathResponse")]
string ReadThaiBath(string wsPass, decimal number);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/LastDayOfmonth", ReplyAction="http://tempuri.org/ICommon/LastDayOfmonthResponse")]
System.DateTime LastDayOfmonth(string wsPass, System.DateTime date);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/InsertDataWindow", ReplyAction="http://tempuri.org/ICommon/InsertDataWindowResponse")]
int InsertDataWindow(string wsPass, string xmlData, string pblName, string table, string dwObjectName, string application, int[] rows);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/UpdateDataWindow", ReplyAction="http://tempuri.org/ICommon/UpdateDataWindowResponse")]
int UpdateDataWindow(string wsPass, string xmlData, string pblName, string table, string dwObjectName, string application, int[] rows);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/SaveReportExcel", ReplyAction="http://tempuri.org/ICommon/SaveReportExcelResponse")]
int SaveReportExcel(string wsPass, Saving.WcfCommon.str_rptexcel astr_rptexcel);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/SaveReportExcelEtn", ReplyAction="http://tempuri.org/ICommon/SaveReportExcelEtnResponse")]
int SaveReportExcelEtn(string wsPass, Saving.WcfCommon.str_rptexcel astr_rptexcel);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/ExeDataSourceTools", ReplyAction="http://tempuri.org/ICommon/ExeDataSourceToolsResponse")]
int ExeDataSourceTools(string wsPass, string[] list);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/GetNextWorkDay", ReplyAction="http://tempuri.org/ICommon/GetNextWorkDayResponse")]
int GetNextWorkDay(string wsPass, System.DateTime adtm_fromdate, ref System.DateTime adtm_nextworkdate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICommon/of_isworkingdate", ReplyAction="http://tempuri.org/ICommon/of_isworkingdateResponse")]
bool of_isworkingdate(string wsPass, System.DateTime adtm_checkdate);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ICommonChannel : Saving.WcfCommon.ICommon, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class CommonClient : System.ServiceModel.ClientBase, Saving.WcfCommon.ICommon {
public CommonClient() {
}
public CommonClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public CommonClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public CommonClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public CommonClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public string EncryptAscii(string wsPass, string text) {
return base.Channel.EncryptAscii(wsPass, text);
}
public string DecryptAscii(string wsPass, string text) {
return base.Channel.DecryptAscii(wsPass, text);
}
public System.Data.DataTable GetDataTable(string wsPass, string keyWord, string tName) {
return base.Channel.GetDataTable(wsPass, keyWord, tName);
}
public string GetNewDocNo(string wsPass, string docCode) {
return base.Channel.GetNewDocNo(wsPass, docCode);
}
public string GetStatusApplication(string wsPass) {
return base.Channel.GetStatusApplication(wsPass);
}
public System.Data.DataTable GetStatusApplicationData(string wsPass) {
return base.Channel.GetStatusApplicationData(wsPass);
}
public string GetApplicationThai(string wsPass, string app) {
return base.Channel.GetApplicationThai(wsPass, app);
}
public string BaseFormatMemberNo(string wsPass, string memberNo) {
return base.Channel.BaseFormatMemberNo(wsPass, memberNo);
}
public string GetDDDWXml(string wsPass, string ddwobj) {
return base.Channel.GetDDDWXml(wsPass, ddwobj);
}
public string GetXmlDataStore(string wsPass, string application, string libralyList, string dwobjectName, object[] ArgsList) {
return base.Channel.GetXmlDataStore(wsPass, application, libralyList, dwobjectName, ArgsList);
}
public string GetProcessStatus(string wspass, string application, string w_sheet_id) {
return base.Channel.GetProcessStatus(wspass, application, w_sheet_id);
}
public string RemoveProcess(string wsPass, string application, string w_sheet_id) {
return base.Channel.RemoveProcess(wsPass, application, w_sheet_id);
}
public string ReadThaiBath(string wsPass, decimal number) {
return base.Channel.ReadThaiBath(wsPass, number);
}
public System.DateTime LastDayOfmonth(string wsPass, System.DateTime date) {
return base.Channel.LastDayOfmonth(wsPass, date);
}
public int InsertDataWindow(string wsPass, string xmlData, string pblName, string table, string dwObjectName, string application, int[] rows) {
return base.Channel.InsertDataWindow(wsPass, xmlData, pblName, table, dwObjectName, application, rows);
}
public int UpdateDataWindow(string wsPass, string xmlData, string pblName, string table, string dwObjectName, string application, int[] rows) {
return base.Channel.UpdateDataWindow(wsPass, xmlData, pblName, table, dwObjectName, application, rows);
}
public int SaveReportExcel(string wsPass, Saving.WcfCommon.str_rptexcel astr_rptexcel) {
return base.Channel.SaveReportExcel(wsPass, astr_rptexcel);
}
public int SaveReportExcelEtn(string wsPass, Saving.WcfCommon.str_rptexcel astr_rptexcel) {
return base.Channel.SaveReportExcelEtn(wsPass, astr_rptexcel);
}
public int ExeDataSourceTools(string wsPass, string[] list) {
return base.Channel.ExeDataSourceTools(wsPass, list);
}
public int GetNextWorkDay(string wsPass, System.DateTime adtm_fromdate, ref System.DateTime adtm_nextworkdate) {
return base.Channel.GetNextWorkDay(wsPass, adtm_fromdate, ref adtm_nextworkdate);
}
public bool of_isworkingdate(string wsPass, System.DateTime adtm_checkdate) {
return base.Channel.of_isworkingdate(wsPass, adtm_checkdate);
}
}
}