//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.34011
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Update.WeighTerminalService {
|
|
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="ClientCar", Namespace="http://schemas.datacontract.org/2004/07/TSingSoft.ChickFeed2.Breed.WCF_")]
|
|
[System.SerializableAttribute()]
|
|
public partial class ClientCar : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private long Car_IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string Car_NameField;
|
|
|
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
get {
|
|
return this.extensionDataField;
|
|
}
|
|
set {
|
|
this.extensionDataField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public long Car_ID {
|
|
get {
|
|
return this.Car_IDField;
|
|
}
|
|
set {
|
|
if ((this.Car_IDField.Equals(value) != true)) {
|
|
this.Car_IDField = value;
|
|
this.RaisePropertyChanged("Car_ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string Car_Name {
|
|
get {
|
|
return this.Car_NameField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.Car_NameField, value) != true)) {
|
|
this.Car_NameField = value;
|
|
this.RaisePropertyChanged("Car_Name");
|
|
}
|
|
}
|
|
}
|
|
|
|
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="ClientAccountingUnit", Namespace="http://schemas.datacontract.org/2004/07/TSingSoft.ChickFeed2.Breed.WCF_")]
|
|
[System.SerializableAttribute()]
|
|
public partial class ClientAccountingUnit : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private long AccountingUnit_IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string AccountingUnit_NameField;
|
|
|
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
get {
|
|
return this.extensionDataField;
|
|
}
|
|
set {
|
|
this.extensionDataField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public long AccountingUnit_ID {
|
|
get {
|
|
return this.AccountingUnit_IDField;
|
|
}
|
|
set {
|
|
if ((this.AccountingUnit_IDField.Equals(value) != true)) {
|
|
this.AccountingUnit_IDField = value;
|
|
this.RaisePropertyChanged("AccountingUnit_ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string AccountingUnit_Name {
|
|
get {
|
|
return this.AccountingUnit_NameField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.AccountingUnit_NameField, value) != true)) {
|
|
this.AccountingUnit_NameField = value;
|
|
this.RaisePropertyChanged("AccountingUnit_Name");
|
|
}
|
|
}
|
|
}
|
|
|
|
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="ClientWeigh", Namespace="http://schemas.datacontract.org/2004/07/TSingSoft.ChickFeed2.Breed.WCF_")]
|
|
[System.SerializableAttribute()]
|
|
public partial class ClientWeigh : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private long AccountingUnit_IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private System.Nullable<int> CarNumberField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private long Car_IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private System.Nullable<int> NumberField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string TerminalUser_NameField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private long TerminalWeigh_IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private long Terminal_IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private System.Nullable<System.DateTime> WeighTimeField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private System.Nullable<decimal> WeightField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string WorkshopField;
|
|
|
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
get {
|
|
return this.extensionDataField;
|
|
}
|
|
set {
|
|
this.extensionDataField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public long AccountingUnit_ID {
|
|
get {
|
|
return this.AccountingUnit_IDField;
|
|
}
|
|
set {
|
|
if ((this.AccountingUnit_IDField.Equals(value) != true)) {
|
|
this.AccountingUnit_IDField = value;
|
|
this.RaisePropertyChanged("AccountingUnit_ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public System.Nullable<int> CarNumber {
|
|
get {
|
|
return this.CarNumberField;
|
|
}
|
|
set {
|
|
if ((this.CarNumberField.Equals(value) != true)) {
|
|
this.CarNumberField = value;
|
|
this.RaisePropertyChanged("CarNumber");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public long Car_ID {
|
|
get {
|
|
return this.Car_IDField;
|
|
}
|
|
set {
|
|
if ((this.Car_IDField.Equals(value) != true)) {
|
|
this.Car_IDField = value;
|
|
this.RaisePropertyChanged("Car_ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public System.Nullable<int> Number {
|
|
get {
|
|
return this.NumberField;
|
|
}
|
|
set {
|
|
if ((this.NumberField.Equals(value) != true)) {
|
|
this.NumberField = value;
|
|
this.RaisePropertyChanged("Number");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string TerminalUser_Name {
|
|
get {
|
|
return this.TerminalUser_NameField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.TerminalUser_NameField, value) != true)) {
|
|
this.TerminalUser_NameField = value;
|
|
this.RaisePropertyChanged("TerminalUser_Name");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public long TerminalWeigh_ID {
|
|
get {
|
|
return this.TerminalWeigh_IDField;
|
|
}
|
|
set {
|
|
if ((this.TerminalWeigh_IDField.Equals(value) != true)) {
|
|
this.TerminalWeigh_IDField = value;
|
|
this.RaisePropertyChanged("TerminalWeigh_ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public long Terminal_ID {
|
|
get {
|
|
return this.Terminal_IDField;
|
|
}
|
|
set {
|
|
if ((this.Terminal_IDField.Equals(value) != true)) {
|
|
this.Terminal_IDField = value;
|
|
this.RaisePropertyChanged("Terminal_ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public System.Nullable<System.DateTime> WeighTime {
|
|
get {
|
|
return this.WeighTimeField;
|
|
}
|
|
set {
|
|
if ((this.WeighTimeField.Equals(value) != true)) {
|
|
this.WeighTimeField = value;
|
|
this.RaisePropertyChanged("WeighTime");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public System.Nullable<decimal> Weight {
|
|
get {
|
|
return this.WeightField;
|
|
}
|
|
set {
|
|
if ((this.WeightField.Equals(value) != true)) {
|
|
this.WeightField = value;
|
|
this.RaisePropertyChanged("Weight");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string Workshop {
|
|
get {
|
|
return this.WorkshopField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.WorkshopField, value) != true)) {
|
|
this.WorkshopField = value;
|
|
this.RaisePropertyChanged("Workshop");
|
|
}
|
|
}
|
|
}
|
|
|
|
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="WeighTerminalService.IWeighTerminalService")]
|
|
public interface IWeighTerminalService {
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/GetTerminalID", ReplyAction="http://tempuri.org/IWeighTerminalService/GetTerminalIDResponse")]
|
|
long GetTerminalID(string ticket, string terminalMessage);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/StartQueryCar", ReplyAction="http://tempuri.org/IWeighTerminalService/StartQueryCarResponse")]
|
|
void StartQueryCar(string ticket);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/GetCarPageCount", ReplyAction="http://tempuri.org/IWeighTerminalService/GetCarPageCountResponse")]
|
|
int GetCarPageCount(string ticket);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/GetCarList", ReplyAction="http://tempuri.org/IWeighTerminalService/GetCarListResponse")]
|
|
Update.WeighTerminalService.ClientCar[] GetCarList(string ticket, int pageIndex);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/FinishCar", ReplyAction="http://tempuri.org/IWeighTerminalService/FinishCarResponse")]
|
|
void FinishCar(string ticket);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/StartQueryAccountingUnit", ReplyAction="http://tempuri.org/IWeighTerminalService/StartQueryAccountingUnitResponse")]
|
|
void StartQueryAccountingUnit(string ticket);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/GetAccountingUnitPageCount", ReplyAction="http://tempuri.org/IWeighTerminalService/GetAccountingUnitPageCountResponse")]
|
|
int GetAccountingUnitPageCount(string ticket);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/GetAccountingUnitList", ReplyAction="http://tempuri.org/IWeighTerminalService/GetAccountingUnitListResponse")]
|
|
Update.WeighTerminalService.ClientAccountingUnit[] GetAccountingUnitList(string ticket, int pageIndex);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/FinishAccountingUnit", ReplyAction="http://tempuri.org/IWeighTerminalService/FinishAccountingUnitResponse")]
|
|
void FinishAccountingUnit(string ticket);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/InsertWeigh", ReplyAction="http://tempuri.org/IWeighTerminalService/InsertWeighResponse")]
|
|
long InsertWeigh(string ticket, Update.WeighTerminalService.ClientWeigh clientWeigh);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/GetSystemWeighID", ReplyAction="http://tempuri.org/IWeighTerminalService/GetSystemWeighIDResponse")]
|
|
long GetSystemWeighID(string ticket, long terminalID, long terminalWeighID, System.DateTime weighTime);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/DeleteWeigh", ReplyAction="http://tempuri.org/IWeighTerminalService/DeleteWeighResponse")]
|
|
int DeleteWeigh(string ticket, long weighID);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWeighTerminalService/CheckTerminalUser", ReplyAction="http://tempuri.org/IWeighTerminalService/CheckTerminalUserResponse")]
|
|
bool CheckTerminalUser(string ticket, string terminalUserName);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface IWeighTerminalServiceChannel : Update.WeighTerminalService.IWeighTerminalService, System.ServiceModel.IClientChannel {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public partial class WeighTerminalServiceClient : System.ServiceModel.ClientBase<Update.WeighTerminalService.IWeighTerminalService>, Update.WeighTerminalService.IWeighTerminalService {
|
|
|
|
public WeighTerminalServiceClient() {
|
|
}
|
|
|
|
public WeighTerminalServiceClient(string endpointConfigurationName) :
|
|
base(endpointConfigurationName) {
|
|
}
|
|
|
|
public WeighTerminalServiceClient(string endpointConfigurationName, string remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public WeighTerminalServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public WeighTerminalServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress) {
|
|
}
|
|
|
|
public long GetTerminalID(string ticket, string terminalMessage) {
|
|
return base.Channel.GetTerminalID(ticket, terminalMessage);
|
|
}
|
|
|
|
public void StartQueryCar(string ticket) {
|
|
base.Channel.StartQueryCar(ticket);
|
|
}
|
|
|
|
public int GetCarPageCount(string ticket) {
|
|
return base.Channel.GetCarPageCount(ticket);
|
|
}
|
|
|
|
public Update.WeighTerminalService.ClientCar[] GetCarList(string ticket, int pageIndex) {
|
|
return base.Channel.GetCarList(ticket, pageIndex);
|
|
}
|
|
|
|
public void FinishCar(string ticket) {
|
|
base.Channel.FinishCar(ticket);
|
|
}
|
|
|
|
public void StartQueryAccountingUnit(string ticket) {
|
|
base.Channel.StartQueryAccountingUnit(ticket);
|
|
}
|
|
|
|
public int GetAccountingUnitPageCount(string ticket) {
|
|
return base.Channel.GetAccountingUnitPageCount(ticket);
|
|
}
|
|
|
|
public Update.WeighTerminalService.ClientAccountingUnit[] GetAccountingUnitList(string ticket, int pageIndex) {
|
|
return base.Channel.GetAccountingUnitList(ticket, pageIndex);
|
|
}
|
|
|
|
public void FinishAccountingUnit(string ticket) {
|
|
base.Channel.FinishAccountingUnit(ticket);
|
|
}
|
|
|
|
public long InsertWeigh(string ticket, Update.WeighTerminalService.ClientWeigh clientWeigh) {
|
|
return base.Channel.InsertWeigh(ticket, clientWeigh);
|
|
}
|
|
|
|
public long GetSystemWeighID(string ticket, long terminalID, long terminalWeighID, System.DateTime weighTime) {
|
|
return base.Channel.GetSystemWeighID(ticket, terminalID, terminalWeighID, weighTime);
|
|
}
|
|
|
|
public int DeleteWeigh(string ticket, long weighID) {
|
|
return base.Channel.DeleteWeigh(ticket, weighID);
|
|
}
|
|
|
|
public bool CheckTerminalUser(string ticket, string terminalUserName) {
|
|
return base.Channel.CheckTerminalUser(ticket, terminalUserName);
|
|
}
|
|
}
|
|
}
|