309 lines
15 KiB
C#
309 lines
15 KiB
C#
//------------------------------------------------------------------------------
|
||
// <auto-generated>
|
||
// 此代码由工具生成。
|
||
// 运行时版本:4.0.30319.42000
|
||
//
|
||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||
// 重新生成代码,这些更改将会丢失。
|
||
// </auto-generated>
|
||
//------------------------------------------------------------------------------
|
||
|
||
namespace WinFormTest.syncstatus {
|
||
using System.Data;
|
||
|
||
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.blw.com/", ConfigurationName="syncstatus.syncstatusSoap")]
|
||
public interface syncstatusSoap {
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/GetRoomRecord", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
System.Data.DataSet GetRoomRecord(string code, string roomNumber, string tableName);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/GetRoomCustomer", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
System.Data.DataSet GetRoomCustomer(long checkInID);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/GetHotelCode", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
System.Data.DataSet GetHotelCode();
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/GetHotelByCode", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
System.Data.DataTable GetHotelByCode(string code);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/GetCheckInOrOutRecord", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
System.Data.DataSet GetCheckInOrOutRecord(string code);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/GetDevices", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
System.Data.DataSet GetDevices(string code);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/SaveDevice", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
int SaveDevice(long id, string hotelCode, string roomNumber);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/UpdateCheckInOrOutRecord", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
int UpdateCheckInOrOutRecord(string code, long id, int flag);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/ValidateNumber", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
bool ValidateNumber(int hotelID, string roomNumber, string validateCode);
|
||
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/ValidateNumberByCode", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
bool ValidateNumberByCode(string code, string roomNumber, string validateCode);
|
||
|
||
// CODEGEN: 参数“photo”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/UploadPhoto", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
WinFormTest.syncstatus.UploadPhotoResponse UploadPhoto(WinFormTest.syncstatus.UploadPhotoRequest request);
|
||
|
||
// CODEGEN: 参数“photo”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/FaceMatch", ReplyAction="*")]
|
||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||
WinFormTest.syncstatus.FaceMatchResponse FaceMatch(WinFormTest.syncstatus.FaceMatchRequest request);
|
||
}
|
||
|
||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadPhoto", WrapperNamespace="http://www.blw.com/", IsWrapped=true)]
|
||
public partial class UploadPhotoRequest {
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=0)]
|
||
public int idType;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=1)]
|
||
public string idCard;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=2)]
|
||
public string name;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=3)]
|
||
public int sex;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=4)]
|
||
public string birthday;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=5)]
|
||
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
|
||
public byte[] photo;
|
||
|
||
public UploadPhotoRequest() {
|
||
}
|
||
|
||
public UploadPhotoRequest(int idType, string idCard, string name, int sex, string birthday, byte[] photo) {
|
||
this.idType = idType;
|
||
this.idCard = idCard;
|
||
this.name = name;
|
||
this.sex = sex;
|
||
this.birthday = birthday;
|
||
this.photo = photo;
|
||
}
|
||
}
|
||
|
||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadPhotoResponse", WrapperNamespace="http://www.blw.com/", IsWrapped=true)]
|
||
public partial class UploadPhotoResponse {
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=0)]
|
||
public bool UploadPhotoResult;
|
||
|
||
public UploadPhotoResponse() {
|
||
}
|
||
|
||
public UploadPhotoResponse(bool UploadPhotoResult) {
|
||
this.UploadPhotoResult = UploadPhotoResult;
|
||
}
|
||
}
|
||
|
||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||
[System.ServiceModel.MessageContractAttribute(WrapperName="FaceMatch", WrapperNamespace="http://www.blw.com/", IsWrapped=true)]
|
||
public partial class FaceMatchRequest {
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=0)]
|
||
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
|
||
public byte[] photo;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=1)]
|
||
public int idType;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=2)]
|
||
public string idCard;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=3)]
|
||
public string name;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=4)]
|
||
public int sex;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=5)]
|
||
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
|
||
public byte[] matchPhoto;
|
||
|
||
public FaceMatchRequest() {
|
||
}
|
||
|
||
public FaceMatchRequest(byte[] photo, int idType, string idCard, string name, int sex, byte[] matchPhoto) {
|
||
this.photo = photo;
|
||
this.idType = idType;
|
||
this.idCard = idCard;
|
||
this.name = name;
|
||
this.sex = sex;
|
||
this.matchPhoto = matchPhoto;
|
||
}
|
||
}
|
||
|
||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||
[System.ServiceModel.MessageContractAttribute(WrapperName="FaceMatchResponse", WrapperNamespace="http://www.blw.com/", IsWrapped=true)]
|
||
public partial class FaceMatchResponse {
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=0)]
|
||
public bool FaceMatchResult;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=1)]
|
||
public int idType;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=2)]
|
||
public string idCard;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=3)]
|
||
public string name;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=4)]
|
||
public int sex;
|
||
|
||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.blw.com/", Order=5)]
|
||
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
|
||
public byte[] matchPhoto;
|
||
|
||
public FaceMatchResponse() {
|
||
}
|
||
|
||
public FaceMatchResponse(bool FaceMatchResult, int idType, string idCard, string name, int sex, byte[] matchPhoto) {
|
||
this.FaceMatchResult = FaceMatchResult;
|
||
this.idType = idType;
|
||
this.idCard = idCard;
|
||
this.name = name;
|
||
this.sex = sex;
|
||
this.matchPhoto = matchPhoto;
|
||
}
|
||
}
|
||
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
public interface syncstatusSoapChannel : WinFormTest.syncstatus.syncstatusSoap, System.ServiceModel.IClientChannel {
|
||
}
|
||
|
||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||
public partial class syncstatusSoapClient : System.ServiceModel.ClientBase<WinFormTest.syncstatus.syncstatusSoap>, WinFormTest.syncstatus.syncstatusSoap {
|
||
|
||
public syncstatusSoapClient() {
|
||
}
|
||
|
||
public syncstatusSoapClient(string endpointConfigurationName) :
|
||
base(endpointConfigurationName) {
|
||
}
|
||
|
||
public syncstatusSoapClient(string endpointConfigurationName, string remoteAddress) :
|
||
base(endpointConfigurationName, remoteAddress) {
|
||
}
|
||
|
||
public syncstatusSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||
base(endpointConfigurationName, remoteAddress) {
|
||
}
|
||
|
||
public syncstatusSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||
base(binding, remoteAddress) {
|
||
}
|
||
|
||
public System.Data.DataSet GetRoomRecord(string code, string roomNumber, string tableName) {
|
||
return base.Channel.GetRoomRecord(code, roomNumber, tableName);
|
||
}
|
||
|
||
public System.Data.DataSet GetRoomCustomer(long checkInID) {
|
||
return base.Channel.GetRoomCustomer(checkInID);
|
||
}
|
||
|
||
public System.Data.DataSet GetHotelCode() {
|
||
return base.Channel.GetHotelCode();
|
||
}
|
||
|
||
public System.Data.DataTable GetHotelByCode(string code) {
|
||
return base.Channel.GetHotelByCode(code);
|
||
}
|
||
|
||
public System.Data.DataSet GetCheckInOrOutRecord(string code) {
|
||
return base.Channel.GetCheckInOrOutRecord(code);
|
||
}
|
||
|
||
public System.Data.DataSet GetDevices(string code) {
|
||
return base.Channel.GetDevices(code);
|
||
}
|
||
|
||
public int SaveDevice(long id, string hotelCode, string roomNumber) {
|
||
return base.Channel.SaveDevice(id, hotelCode, roomNumber);
|
||
}
|
||
|
||
public int UpdateCheckInOrOutRecord(string code, long id, int flag) {
|
||
return base.Channel.UpdateCheckInOrOutRecord(code, id, flag);
|
||
}
|
||
|
||
public bool ValidateNumber(int hotelID, string roomNumber, string validateCode) {
|
||
return base.Channel.ValidateNumber(hotelID, roomNumber, validateCode);
|
||
}
|
||
|
||
public bool ValidateNumberByCode(string code, string roomNumber, string validateCode) {
|
||
return base.Channel.ValidateNumberByCode(code, roomNumber, validateCode);
|
||
}
|
||
|
||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||
WinFormTest.syncstatus.UploadPhotoResponse WinFormTest.syncstatus.syncstatusSoap.UploadPhoto(WinFormTest.syncstatus.UploadPhotoRequest request) {
|
||
return base.Channel.UploadPhoto(request);
|
||
}
|
||
|
||
public bool UploadPhoto(int idType, string idCard, string name, int sex, string birthday, byte[] photo) {
|
||
WinFormTest.syncstatus.UploadPhotoRequest inValue = new WinFormTest.syncstatus.UploadPhotoRequest();
|
||
inValue.idType = idType;
|
||
inValue.idCard = idCard;
|
||
inValue.name = name;
|
||
inValue.sex = sex;
|
||
inValue.birthday = birthday;
|
||
inValue.photo = photo;
|
||
WinFormTest.syncstatus.UploadPhotoResponse retVal = ((WinFormTest.syncstatus.syncstatusSoap)(this)).UploadPhoto(inValue);
|
||
return retVal.UploadPhotoResult;
|
||
}
|
||
|
||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||
WinFormTest.syncstatus.FaceMatchResponse WinFormTest.syncstatus.syncstatusSoap.FaceMatch(WinFormTest.syncstatus.FaceMatchRequest request) {
|
||
return base.Channel.FaceMatch(request);
|
||
}
|
||
|
||
public bool FaceMatch(byte[] photo, ref int idType, ref string idCard, ref string name, ref int sex, ref byte[] matchPhoto) {
|
||
WinFormTest.syncstatus.FaceMatchRequest inValue = new WinFormTest.syncstatus.FaceMatchRequest();
|
||
inValue.photo = photo;
|
||
inValue.idType = idType;
|
||
inValue.idCard = idCard;
|
||
inValue.name = name;
|
||
inValue.sex = sex;
|
||
inValue.matchPhoto = matchPhoto;
|
||
WinFormTest.syncstatus.FaceMatchResponse retVal = ((WinFormTest.syncstatus.syncstatusSoap)(this)).FaceMatch(inValue);
|
||
idType = retVal.idType;
|
||
idCard = retVal.idCard;
|
||
name = retVal.name;
|
||
sex = retVal.sex;
|
||
matchPhoto = retVal.matchPhoto;
|
||
return retVal.FaceMatchResult;
|
||
}
|
||
}
|
||
}
|