//------------------------------------------------------------------------------
//
// 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.
//
//------------------------------------------------------------------------------
namespace ENI2.LockingServiceReference {
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="CoreLock", Namespace="http://schemas.datacontract.org/2004/07/bsmd.LockingService")]
[System.SerializableAttribute()]
public partial class CoreLock : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.Guid CoreIdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.Guid UserIdField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid CoreId {
get {
return this.CoreIdField;
}
set {
if ((this.CoreIdField.Equals(value) != true)) {
this.CoreIdField = value;
this.RaisePropertyChanged("CoreId");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid UserId {
get {
return this.UserIdField;
}
set {
if ((this.UserIdField.Equals(value) != true)) {
this.UserIdField = value;
this.RaisePropertyChanged("UserId");
}
}
}
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="ServerStatus", Namespace="http://schemas.datacontract.org/2004/07/bsmd.LockingService")]
[System.SerializableAttribute()]
public partial class ServerStatus : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string[] CORRUPTFilesField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int ExcelField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string[] IMPFilesField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string[] READYFilesField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int ReportField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int TransmitterField;
[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[] CORRUPTFiles {
get {
return this.CORRUPTFilesField;
}
set {
if ((object.ReferenceEquals(this.CORRUPTFilesField, value) != true)) {
this.CORRUPTFilesField = value;
this.RaisePropertyChanged("CORRUPTFiles");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int Excel {
get {
return this.ExcelField;
}
set {
if ((this.ExcelField.Equals(value) != true)) {
this.ExcelField = value;
this.RaisePropertyChanged("Excel");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string[] IMPFiles {
get {
return this.IMPFilesField;
}
set {
if ((object.ReferenceEquals(this.IMPFilesField, value) != true)) {
this.IMPFilesField = value;
this.RaisePropertyChanged("IMPFiles");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string[] READYFiles {
get {
return this.READYFilesField;
}
set {
if ((object.ReferenceEquals(this.READYFilesField, value) != true)) {
this.READYFilesField = value;
this.RaisePropertyChanged("READYFiles");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int Report {
get {
return this.ReportField;
}
set {
if ((this.ReportField.Equals(value) != true)) {
this.ReportField = value;
this.RaisePropertyChanged("Report");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int Transmitter {
get {
return this.TransmitterField;
}
set {
if ((this.TransmitterField.Equals(value) != true)) {
this.TransmitterField = value;
this.RaisePropertyChanged("Transmitter");
}
}
}
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="LockingServiceReference.IService")]
public interface IService {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Lock", ReplyAction="http://tempuri.org/IService/LockResponse")]
System.Guid Lock(System.Guid messageCoreId, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Lock", ReplyAction="http://tempuri.org/IService/LockResponse")]
System.Threading.Tasks.Task LockAsync(System.Guid messageCoreId, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Unlock", ReplyAction="http://tempuri.org/IService/UnlockResponse")]
void Unlock(System.Guid messageCoreId, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Unlock", ReplyAction="http://tempuri.org/IService/UnlockResponse")]
System.Threading.Tasks.Task UnlockAsync(System.Guid messageCoreId, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetLocks", ReplyAction="http://tempuri.org/IService/GetLocksResponse")]
ENI2.LockingServiceReference.CoreLock[] GetLocks();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetLocks", ReplyAction="http://tempuri.org/IService/GetLocksResponse")]
System.Threading.Tasks.Task GetLocksAsync();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/LockRefresh", ReplyAction="http://tempuri.org/IService/LockRefreshResponse")]
void LockRefresh(System.Guid[] currentLocks, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/LockRefresh", ReplyAction="http://tempuri.org/IService/LockRefreshResponse")]
System.Threading.Tasks.Task LockRefreshAsync(System.Guid[] currentLocks, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Log", ReplyAction="http://tempuri.org/IService/LogResponse")]
void Log(string msg, string host, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/Log", ReplyAction="http://tempuri.org/IService/LogResponse")]
System.Threading.Tasks.Task LogAsync(string msg, string host, System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetStatus", ReplyAction="http://tempuri.org/IService/GetStatusResponse")]
ENI2.LockingServiceReference.ServerStatus GetStatus();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IService/GetStatus", ReplyAction="http://tempuri.org/IService/GetStatusResponse")]
System.Threading.Tasks.Task GetStatusAsync();
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IServiceChannel : ENI2.LockingServiceReference.IService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class ServiceClient : System.ServiceModel.ClientBase, ENI2.LockingServiceReference.IService {
public ServiceClient() {
}
public ServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public ServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public ServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public ServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public System.Guid Lock(System.Guid messageCoreId, System.Guid userId) {
return base.Channel.Lock(messageCoreId, userId);
}
public System.Threading.Tasks.Task LockAsync(System.Guid messageCoreId, System.Guid userId) {
return base.Channel.LockAsync(messageCoreId, userId);
}
public void Unlock(System.Guid messageCoreId, System.Guid userId) {
base.Channel.Unlock(messageCoreId, userId);
}
public System.Threading.Tasks.Task UnlockAsync(System.Guid messageCoreId, System.Guid userId) {
return base.Channel.UnlockAsync(messageCoreId, userId);
}
public ENI2.LockingServiceReference.CoreLock[] GetLocks() {
return base.Channel.GetLocks();
}
public System.Threading.Tasks.Task GetLocksAsync() {
return base.Channel.GetLocksAsync();
}
public void LockRefresh(System.Guid[] currentLocks, System.Guid userId) {
base.Channel.LockRefresh(currentLocks, userId);
}
public System.Threading.Tasks.Task LockRefreshAsync(System.Guid[] currentLocks, System.Guid userId) {
return base.Channel.LockRefreshAsync(currentLocks, userId);
}
public void Log(string msg, string host, System.Guid userId) {
base.Channel.Log(msg, host, userId);
}
public System.Threading.Tasks.Task LogAsync(string msg, string host, System.Guid userId) {
return base.Channel.LogAsync(msg, host, userId);
}
public ENI2.LockingServiceReference.ServerStatus GetStatus() {
return base.Channel.GetStatus();
}
public System.Threading.Tasks.Task GetStatusAsync() {
return base.Channel.GetStatusAsync();
}
}
}