//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace Saving.WcfSSOService {
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="StateFrame", Namespace="http://schemas.datacontract.org/2004/07/SingleSignOn")]
[System.SerializableAttribute()]
public partial class StateFrame : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ApplicationNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string CoopNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string CoopNameEngField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsCloseDayField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsCloseMonthField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsCloseYearField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsReadableField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool IsWritableField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PageNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ToolbarField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string UserFullNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int UserLevelField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int UserTypeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.DateTime WorkDateField;
[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 ApplicationName {
get {
return this.ApplicationNameField;
}
set {
if ((object.ReferenceEquals(this.ApplicationNameField, value) != true)) {
this.ApplicationNameField = value;
this.RaisePropertyChanged("ApplicationName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CoopName {
get {
return this.CoopNameField;
}
set {
if ((object.ReferenceEquals(this.CoopNameField, value) != true)) {
this.CoopNameField = value;
this.RaisePropertyChanged("CoopName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CoopNameEng {
get {
return this.CoopNameEngField;
}
set {
if ((object.ReferenceEquals(this.CoopNameEngField, value) != true)) {
this.CoopNameEngField = value;
this.RaisePropertyChanged("CoopNameEng");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsCloseDay {
get {
return this.IsCloseDayField;
}
set {
if ((this.IsCloseDayField.Equals(value) != true)) {
this.IsCloseDayField = value;
this.RaisePropertyChanged("IsCloseDay");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsCloseMonth {
get {
return this.IsCloseMonthField;
}
set {
if ((this.IsCloseMonthField.Equals(value) != true)) {
this.IsCloseMonthField = value;
this.RaisePropertyChanged("IsCloseMonth");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsCloseYear {
get {
return this.IsCloseYearField;
}
set {
if ((this.IsCloseYearField.Equals(value) != true)) {
this.IsCloseYearField = value;
this.RaisePropertyChanged("IsCloseYear");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsReadable {
get {
return this.IsReadableField;
}
set {
if ((this.IsReadableField.Equals(value) != true)) {
this.IsReadableField = value;
this.RaisePropertyChanged("IsReadable");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool IsWritable {
get {
return this.IsWritableField;
}
set {
if ((this.IsWritableField.Equals(value) != true)) {
this.IsWritableField = value;
this.RaisePropertyChanged("IsWritable");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string PageName {
get {
return this.PageNameField;
}
set {
if ((object.ReferenceEquals(this.PageNameField, value) != true)) {
this.PageNameField = value;
this.RaisePropertyChanged("PageName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Toolbar {
get {
return this.ToolbarField;
}
set {
if ((object.ReferenceEquals(this.ToolbarField, value) != true)) {
this.ToolbarField = value;
this.RaisePropertyChanged("Toolbar");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string UserFullName {
get {
return this.UserFullNameField;
}
set {
if ((object.ReferenceEquals(this.UserFullNameField, value) != true)) {
this.UserFullNameField = value;
this.RaisePropertyChanged("UserFullName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int UserLevel {
get {
return this.UserLevelField;
}
set {
if ((this.UserLevelField.Equals(value) != true)) {
this.UserLevelField = value;
this.RaisePropertyChanged("UserLevel");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int UserType {
get {
return this.UserTypeField;
}
set {
if ((this.UserTypeField.Equals(value) != true)) {
this.UserTypeField = value;
this.RaisePropertyChanged("UserType");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime WorkDate {
get {
return this.WorkDateField;
}
set {
if ((this.WorkDateField.Equals(value) != true)) {
this.WorkDateField = value;
this.RaisePropertyChanged("WorkDate");
}
}
}
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="Token", Namespace="http://schemas.datacontract.org/2004/07/SingleSignOn")]
[System.SerializableAttribute()]
public partial class Token : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ApplicationField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ClientIpField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int ConIndexField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string CoopControlField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string CoopIdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.DateTime CreateTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.DateTime LastTryField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string PasswordField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string TokenIdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string UsernameField;
[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 Application {
get {
return this.ApplicationField;
}
set {
if ((object.ReferenceEquals(this.ApplicationField, value) != true)) {
this.ApplicationField = value;
this.RaisePropertyChanged("Application");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ClientIp {
get {
return this.ClientIpField;
}
set {
if ((object.ReferenceEquals(this.ClientIpField, value) != true)) {
this.ClientIpField = value;
this.RaisePropertyChanged("ClientIp");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int ConIndex {
get {
return this.ConIndexField;
}
set {
if ((this.ConIndexField.Equals(value) != true)) {
this.ConIndexField = value;
this.RaisePropertyChanged("ConIndex");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CoopControl {
get {
return this.CoopControlField;
}
set {
if ((object.ReferenceEquals(this.CoopControlField, value) != true)) {
this.CoopControlField = value;
this.RaisePropertyChanged("CoopControl");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string CoopId {
get {
return this.CoopIdField;
}
set {
if ((object.ReferenceEquals(this.CoopIdField, value) != true)) {
this.CoopIdField = value;
this.RaisePropertyChanged("CoopId");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime CreateTime {
get {
return this.CreateTimeField;
}
set {
if ((this.CreateTimeField.Equals(value) != true)) {
this.CreateTimeField = value;
this.RaisePropertyChanged("CreateTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime LastTry {
get {
return this.LastTryField;
}
set {
if ((this.LastTryField.Equals(value) != true)) {
this.LastTryField = value;
this.RaisePropertyChanged("LastTry");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Password {
get {
return this.PasswordField;
}
set {
if ((object.ReferenceEquals(this.PasswordField, value) != true)) {
this.PasswordField = value;
this.RaisePropertyChanged("Password");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string TokenId {
get {
return this.TokenIdField;
}
set {
if ((object.ReferenceEquals(this.TokenIdField, value) != true)) {
this.TokenIdField = value;
this.RaisePropertyChanged("TokenId");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Username {
get {
return this.UsernameField;
}
set {
if ((object.ReferenceEquals(this.UsernameField, value) != true)) {
this.UsernameField = value;
this.RaisePropertyChanged("Username");
}
}
}
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(ConfigurationName="WcfSSOService.ISSOService")]
public interface ISSOService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/GetCoopControlData", ReplyAction="http://tempuri.org/ISSOService/GetCoopControlDataResponse")]
System.Data.DataTable GetCoopControlData(string wsPass, int conIndex);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/GetCoopIdData", ReplyAction="http://tempuri.org/ISSOService/GetCoopIdDataResponse")]
System.Data.DataTable GetCoopIdData(string wsPass, int conIndex, string coopControl);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/GetMenuData", ReplyAction="http://tempuri.org/ISSOService/GetMenuDataResponse")]
System.Data.DataTable[] GetMenuData(string wsPass, int conIndex, string coopControl, string username, string application, string gId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/VerifyLogin", ReplyAction="http://tempuri.org/ISSOService/VerifyLoginResponse")]
bool VerifyLogin(string wsPass, int conIndex, string coopControl, string username, string password);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/WebSheetDetail", ReplyAction="http://tempuri.org/ISSOService/WebSheetDetailResponse")]
void WebSheetDetail(string wsPass, int conIndex, string coopControl, string username, string application, string win_object, string window_id, ref string pageThaiName, ref bool isRedable, ref bool isWritable);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/GetStateFrameDetail", ReplyAction="http://tempuri.org/ISSOService/GetStateFrameDetailResponse")]
Saving.WcfSSOService.StateFrame GetStateFrameDetail(string wsPass, int conIndex, string coopControl, string coopId, string username, string application, string win_object, string window_id);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/GetToken", ReplyAction="http://tempuri.org/ISSOService/GetTokenResponse")]
Saving.WcfSSOService.Token[] GetToken(string wsPass, int conIndex, string tokenIdEn, string application);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/TestDbConnectable", ReplyAction="http://tempuri.org/ISSOService/TestDbConnectableResponse")]
bool TestDbConnectable(string wsPass, int conIndex);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/GetStatusApplicationData", ReplyAction="http://tempuri.org/ISSOService/GetStatusApplicationDataResponse")]
System.Data.DataTable GetStatusApplicationData(string wsPass, int conIndex, string coopControl, string username);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISSOService/zTestConnection", ReplyAction="http://tempuri.org/ISSOService/zTestConnectionResponse")]
System.Data.DataTable zTestConnection(int conIndex, string username);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ISSOServiceChannel : Saving.WcfSSOService.ISSOService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class SSOServiceClient : System.ServiceModel.ClientBase, Saving.WcfSSOService.ISSOService {
public SSOServiceClient() {
}
public SSOServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public SSOServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SSOServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SSOServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public System.Data.DataTable GetCoopControlData(string wsPass, int conIndex) {
return base.Channel.GetCoopControlData(wsPass, conIndex);
}
public System.Data.DataTable GetCoopIdData(string wsPass, int conIndex, string coopControl) {
return base.Channel.GetCoopIdData(wsPass, conIndex, coopControl);
}
public System.Data.DataTable[] GetMenuData(string wsPass, int conIndex, string coopControl, string username, string application, string gId) {
return base.Channel.GetMenuData(wsPass, conIndex, coopControl, username, application, gId);
}
public bool VerifyLogin(string wsPass, int conIndex, string coopControl, string username, string password) {
return base.Channel.VerifyLogin(wsPass, conIndex, coopControl, username, password);
}
public void WebSheetDetail(string wsPass, int conIndex, string coopControl, string username, string application, string win_object, string window_id, ref string pageThaiName, ref bool isRedable, ref bool isWritable) {
base.Channel.WebSheetDetail(wsPass, conIndex, coopControl, username, application, win_object, window_id, ref pageThaiName, ref isRedable, ref isWritable);
}
public Saving.WcfSSOService.StateFrame GetStateFrameDetail(string wsPass, int conIndex, string coopControl, string coopId, string username, string application, string win_object, string window_id) {
return base.Channel.GetStateFrameDetail(wsPass, conIndex, coopControl, coopId, username, application, win_object, window_id);
}
public Saving.WcfSSOService.Token[] GetToken(string wsPass, int conIndex, string tokenIdEn, string application) {
return base.Channel.GetToken(wsPass, conIndex, tokenIdEn, application);
}
public bool TestDbConnectable(string wsPass, int conIndex) {
return base.Channel.TestDbConnectable(wsPass, conIndex);
}
public System.Data.DataTable GetStatusApplicationData(string wsPass, int conIndex, string coopControl, string username) {
return base.Channel.GetStatusApplicationData(wsPass, conIndex, coopControl, username);
}
public System.Data.DataTable zTestConnection(int conIndex, string username) {
return base.Channel.zTestConnection(conIndex, username);
}
}
}