初始化
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/obj
|
||||
/.vs
|
||||
/bin
|
||||
237
PMSTools_V3.csproj
Normal file
237
PMSTools_V3.csproj
Normal file
@@ -0,0 +1,237 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{DE187AF2-864C-4569-801F-6456F7289CC7}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>WinFormTest</RootNamespace>
|
||||
<AssemblyName>宝来威接口查询工具</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<AutorunEnabled>true</AutorunEnabled>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<UseWinFormsOutOfProcDesigner>False</UseWinFormsOutOfProcDesigner>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<UseWinFormsOutOfProcDesigner>False</UseWinFormsOutOfProcDesigner>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Globe.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>18333C5703EF7DABB4577BF2F3C1ADBE8F282275</ManifestCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestKeyFile>PMSTools_V3_TemporaryKey.pfx</ManifestKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignManifests>true</SignManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="AForge.Video, Version=2.1.5.0, Culture=neutral, PublicKeyToken=cbfb6e07d173c401, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>dll\AForge.Video.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AForge.Video.DirectShow, Version=2.1.5.0, Culture=neutral, PublicKeyToken=61ea4348d43881b7, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>dll\AForge.Video.DirectShow.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="frmCheckIn.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmCheckIn.Designer.cs">
|
||||
<DependentUpon>frmCheckIn.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmFace.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmFace.Designer.cs">
|
||||
<DependentUpon>frmFace.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmFaceDevice.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmFaceDevice.Designer.cs">
|
||||
<DependentUpon>frmFaceDevice.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmMain.Designer.cs">
|
||||
<DependentUpon>frmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Service References\blwws\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Service References\syncstatus\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmCustomerList.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmCustomerList.Designer.cs">
|
||||
<DependentUpon>frmCustomerList.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="frmCheckIn.resx">
|
||||
<DependentUpon>frmCheckIn.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmFace.resx">
|
||||
<DependentUpon>frmFace.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmFaceDevice.resx">
|
||||
<DependentUpon>frmFaceDevice.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmMain.resx">
|
||||
<DependentUpon>frmMain.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="frmCustomerList.resx">
|
||||
<DependentUpon>frmCustomerList.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<None Include="app.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="PMSTools_V3_TemporaryKey.pfx" />
|
||||
<None Include="Properties\app.manifest" />
|
||||
<None Include="Properties\DataSources\System.Data.DataSet.datasource" />
|
||||
<None Include="Properties\DataSources\System.Data.DataTable.datasource" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<None Include="Service References\blwws\blwws1.wsdl" />
|
||||
<None Include="Service References\syncstatus\syncstatus1.wsdl" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Service References\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadataStorage Include="Service References\blwws\" />
|
||||
<WCFMetadataStorage Include="Service References\syncstatus\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="dll\AForge.Video.DirectShow.dll" />
|
||||
<Content Include="dll\AForge.Video.dll" />
|
||||
<Content Include="Globe.ico" />
|
||||
<None Include="Service References\syncstatus\syncstatus1.disco" />
|
||||
<None Include="Service References\blwws\blwws1.disco" />
|
||||
<None Include="Service References\syncstatus\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Service References\syncstatus\configuration.svcinfo" />
|
||||
<None Include="Service References\syncstatus\configuration91.svcinfo" />
|
||||
<None Include="Service References\blwws\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Service References\blwws\configuration.svcinfo" />
|
||||
<None Include="Service References\blwws\configuration91.svcinfo" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.8 %28x86 和 x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
13
PMSTools_V3.csproj.user
Normal file
13
PMSTools_V3.csproj.user
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
20
PMSTools_V3.sln
Normal file
20
PMSTools_V3.sln
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PMSTools_V3", "PMSTools_V3.csproj", "{DE187AF2-864C-4569-801F-6456F7289CC7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DE187AF2-864C-4569-801F-6456F7289CC7}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{DE187AF2-864C-4569-801F-6456F7289CC7}.Debug|x86.Build.0 = Debug|x86
|
||||
{DE187AF2-864C-4569-801F-6456F7289CC7}.Release|x86.ActiveCfg = Release|x86
|
||||
{DE187AF2-864C-4569-801F-6456F7289CC7}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
BIN
PMSTools_V3.suo
Normal file
BIN
PMSTools_V3.suo
Normal file
Binary file not shown.
BIN
PMSTools_V3_TemporaryKey.pfx
Normal file
BIN
PMSTools_V3_TemporaryKey.pfx
Normal file
Binary file not shown.
21
Program.cs
Normal file
21
Program.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WinFormTest
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// 应用程序的主入口点。
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new frmMain());
|
||||
}
|
||||
}
|
||||
}
|
||||
36
Properties/AssemblyInfo.cs
Normal file
36
Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过以下
|
||||
// 特性集控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("WinFormTest")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("WinFormTest")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2015")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
// 则将该类型上的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("e88de5eb-56b3-4c85-aacb-22a55f62868f")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
|
||||
// 方法是按如下所示使用“*”:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("3.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("3.3.0.0")]
|
||||
10
Properties/DataSources/System.Data.DataSet.datasource
Normal file
10
Properties/DataSources/System.Data.DataSet.datasource
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="DataSet" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>System.Data.DataSet, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
10
Properties/DataSources/System.Data.DataTable.datasource
Normal file
10
Properties/DataSources/System.Data.DataTable.datasource
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="DataTable" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>System.Data.DataTable, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
63
Properties/Resources.Designer.cs
generated
Normal file
63
Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WinFormTest.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WinFormTest.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写当前线程的 CurrentUICulture 属性,对
|
||||
/// 使用此强类型资源类的所有资源查找执行重写。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
117
Properties/Resources.resx
Normal file
117
Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
26
Properties/Settings.Designer.cs
generated
Normal file
26
Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WinFormTest.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
Properties/Settings.settings
Normal file
7
Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
47
Properties/app.manifest
Normal file
47
Properties/app.manifest
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!-- UAC 清单选项
|
||||
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
|
||||
requestedExecutionLevel 节点。
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
指定 requestedExecutionLevel 节点将会禁用文件和注册表虚拟化。
|
||||
如果要利用文件和注册表虚拟化实现向后
|
||||
兼容性,则删除 requestedExecutionLevel 节点。
|
||||
-->
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
<applicationRequestMinimum>
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
<PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" />
|
||||
</applicationRequestMinimum>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- 此应用程序设计使用的所有 Windows 版本的列表。Windows 将会自动选择最兼容的环境。-->
|
||||
<!-- 如果应用程序设计使用 Windows 7,请取消注释以下 supportedOS 节点-->
|
||||
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
|
||||
</application>
|
||||
</compatibility>
|
||||
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
|
||||
<!-- <dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>-->
|
||||
</asmv1:assembly>
|
||||
781
Service References/blwws/Reference.cs
Normal file
781
Service References/blwws/Reference.cs
Normal file
@@ -0,0 +1,781 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WinFormTest.blwws {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.blw.com/", ConfigurationName="blwws.blwwsSoap")]
|
||||
public interface blwwsSoap {
|
||||
|
||||
// CODEGEN: 命名空间 http://www.blw.com/ 的元素名称 key 以后生成的消息协定未标记为 nillable
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/CheckIn", ReplyAction="*")]
|
||||
WinFormTest.blwws.CheckInResponse CheckIn(WinFormTest.blwws.CheckInRequest request);
|
||||
|
||||
// CODEGEN: 命名空间 http://www.blw.com/ 的元素名称 key 以后生成的消息协定未标记为 nillable
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/CheckIn2", ReplyAction="*")]
|
||||
WinFormTest.blwws.CheckIn2Response CheckIn2(WinFormTest.blwws.CheckIn2Request request);
|
||||
|
||||
// CODEGEN: 命名空间 http://www.blw.com/ 的元素名称 key 以后生成的消息协定未标记为 nillable
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/UploadPhoto", ReplyAction="*")]
|
||||
WinFormTest.blwws.UploadPhotoResponse UploadPhoto(WinFormTest.blwws.UploadPhotoRequest request);
|
||||
|
||||
// CODEGEN: 命名空间 http://www.blw.com/ 的元素名称 key 以后生成的消息协定未标记为 nillable
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/ChangePhoneNumber", ReplyAction="*")]
|
||||
WinFormTest.blwws.ChangePhoneNumberResponse ChangePhoneNumber(WinFormTest.blwws.ChangePhoneNumberRequest request);
|
||||
|
||||
// CODEGEN: 命名空间 http://www.blw.com/ 的元素名称 key 以后生成的消息协定未标记为 nillable
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/CheckOut", ReplyAction="*")]
|
||||
WinFormTest.blwws.CheckOutResponse CheckOut(WinFormTest.blwws.CheckOutRequest request);
|
||||
|
||||
// CODEGEN: 命名空间 http://www.blw.com/ 的元素名称 key 以后生成的消息协定未标记为 nillable
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://www.blw.com/RentRoom", ReplyAction="*")]
|
||||
WinFormTest.blwws.RentRoomResponse RentRoom(WinFormTest.blwws.RentRoomRequest request);
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class CheckInRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="CheckIn", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.CheckInRequestBody Body;
|
||||
|
||||
public CheckInRequest() {
|
||||
}
|
||||
|
||||
public CheckInRequest(WinFormTest.blwws.CheckInRequestBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class CheckInRequestBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string key;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string code;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
||||
public string roomNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=3)]
|
||||
public System.DateTime checkInDate;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
||||
public string xmlString;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)]
|
||||
public string errorMsg;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=6)]
|
||||
public string phoneNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)]
|
||||
public string idNumber;
|
||||
|
||||
public CheckInRequestBody() {
|
||||
}
|
||||
|
||||
public CheckInRequestBody(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, string phoneNumber, string idNumber) {
|
||||
this.key = key;
|
||||
this.code = code;
|
||||
this.roomNumber = roomNumber;
|
||||
this.checkInDate = checkInDate;
|
||||
this.xmlString = xmlString;
|
||||
this.errorMsg = errorMsg;
|
||||
this.phoneNumber = phoneNumber;
|
||||
this.idNumber = idNumber;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class CheckInResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="CheckInResponse", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.CheckInResponseBody Body;
|
||||
|
||||
public CheckInResponse() {
|
||||
}
|
||||
|
||||
public CheckInResponse(WinFormTest.blwws.CheckInResponseBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class CheckInResponseBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=0)]
|
||||
public bool CheckInResult;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string errorMsg;
|
||||
|
||||
public CheckInResponseBody() {
|
||||
}
|
||||
|
||||
public CheckInResponseBody(bool CheckInResult, string errorMsg) {
|
||||
this.CheckInResult = CheckInResult;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class CheckIn2Request {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="CheckIn2", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.CheckIn2RequestBody Body;
|
||||
|
||||
public CheckIn2Request() {
|
||||
}
|
||||
|
||||
public CheckIn2Request(WinFormTest.blwws.CheckIn2RequestBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class CheckIn2RequestBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string key;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string code;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
||||
public string roomNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=3)]
|
||||
public System.DateTime checkInDate;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
||||
public string xmlString;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)]
|
||||
public string errorMsg;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=6)]
|
||||
public long checkInID;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)]
|
||||
public string phoneNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)]
|
||||
public string idNumber;
|
||||
|
||||
public CheckIn2RequestBody() {
|
||||
}
|
||||
|
||||
public CheckIn2RequestBody(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, long checkInID, string phoneNumber, string idNumber) {
|
||||
this.key = key;
|
||||
this.code = code;
|
||||
this.roomNumber = roomNumber;
|
||||
this.checkInDate = checkInDate;
|
||||
this.xmlString = xmlString;
|
||||
this.errorMsg = errorMsg;
|
||||
this.checkInID = checkInID;
|
||||
this.phoneNumber = phoneNumber;
|
||||
this.idNumber = idNumber;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class CheckIn2Response {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="CheckIn2Response", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.CheckIn2ResponseBody Body;
|
||||
|
||||
public CheckIn2Response() {
|
||||
}
|
||||
|
||||
public CheckIn2Response(WinFormTest.blwws.CheckIn2ResponseBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class CheckIn2ResponseBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=0)]
|
||||
public bool CheckIn2Result;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string errorMsg;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=2)]
|
||||
public long checkInID;
|
||||
|
||||
public CheckIn2ResponseBody() {
|
||||
}
|
||||
|
||||
public CheckIn2ResponseBody(bool CheckIn2Result, string errorMsg, long checkInID) {
|
||||
this.CheckIn2Result = CheckIn2Result;
|
||||
this.errorMsg = errorMsg;
|
||||
this.checkInID = checkInID;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class UploadPhotoRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="UploadPhoto", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.UploadPhotoRequestBody Body;
|
||||
|
||||
public UploadPhotoRequest() {
|
||||
}
|
||||
|
||||
public UploadPhotoRequest(WinFormTest.blwws.UploadPhotoRequestBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class UploadPhotoRequestBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string key;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string code;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=2)]
|
||||
public long checkInID;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=3)]
|
||||
public int idType;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
||||
public string idCard;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)]
|
||||
public string name;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=6)]
|
||||
public int sex;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=7)]
|
||||
public string birthday;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=8)]
|
||||
public string photoUrl;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=9)]
|
||||
public byte[] photo;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=10)]
|
||||
public string errorMsg;
|
||||
|
||||
public UploadPhotoRequestBody() {
|
||||
}
|
||||
|
||||
public UploadPhotoRequestBody(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, string errorMsg) {
|
||||
this.key = key;
|
||||
this.code = code;
|
||||
this.checkInID = checkInID;
|
||||
this.idType = idType;
|
||||
this.idCard = idCard;
|
||||
this.name = name;
|
||||
this.sex = sex;
|
||||
this.birthday = birthday;
|
||||
this.photoUrl = photoUrl;
|
||||
this.photo = photo;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class UploadPhotoResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="UploadPhotoResponse", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.UploadPhotoResponseBody Body;
|
||||
|
||||
public UploadPhotoResponse() {
|
||||
}
|
||||
|
||||
public UploadPhotoResponse(WinFormTest.blwws.UploadPhotoResponseBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class UploadPhotoResponseBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=0)]
|
||||
public bool UploadPhotoResult;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string errorMsg;
|
||||
|
||||
public UploadPhotoResponseBody() {
|
||||
}
|
||||
|
||||
public UploadPhotoResponseBody(bool UploadPhotoResult, string errorMsg) {
|
||||
this.UploadPhotoResult = UploadPhotoResult;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class ChangePhoneNumberRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="ChangePhoneNumber", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.ChangePhoneNumberRequestBody Body;
|
||||
|
||||
public ChangePhoneNumberRequest() {
|
||||
}
|
||||
|
||||
public ChangePhoneNumberRequest(WinFormTest.blwws.ChangePhoneNumberRequestBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class ChangePhoneNumberRequestBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string key;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string code;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
||||
public string roomNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
|
||||
public string phoneNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
||||
public string idNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=5)]
|
||||
public string errorMsg;
|
||||
|
||||
public ChangePhoneNumberRequestBody() {
|
||||
}
|
||||
|
||||
public ChangePhoneNumberRequestBody(string key, string code, string roomNumber, string phoneNumber, string idNumber, string errorMsg) {
|
||||
this.key = key;
|
||||
this.code = code;
|
||||
this.roomNumber = roomNumber;
|
||||
this.phoneNumber = phoneNumber;
|
||||
this.idNumber = idNumber;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class ChangePhoneNumberResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="ChangePhoneNumberResponse", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.ChangePhoneNumberResponseBody Body;
|
||||
|
||||
public ChangePhoneNumberResponse() {
|
||||
}
|
||||
|
||||
public ChangePhoneNumberResponse(WinFormTest.blwws.ChangePhoneNumberResponseBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class ChangePhoneNumberResponseBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=0)]
|
||||
public bool ChangePhoneNumberResult;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string errorMsg;
|
||||
|
||||
public ChangePhoneNumberResponseBody() {
|
||||
}
|
||||
|
||||
public ChangePhoneNumberResponseBody(bool ChangePhoneNumberResult, string errorMsg) {
|
||||
this.ChangePhoneNumberResult = ChangePhoneNumberResult;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class CheckOutRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="CheckOut", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.CheckOutRequestBody Body;
|
||||
|
||||
public CheckOutRequest() {
|
||||
}
|
||||
|
||||
public CheckOutRequest(WinFormTest.blwws.CheckOutRequestBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class CheckOutRequestBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string key;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string code;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
||||
public string roomNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=3)]
|
||||
public System.DateTime checkOutDate;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
||||
public string errorMsg;
|
||||
|
||||
public CheckOutRequestBody() {
|
||||
}
|
||||
|
||||
public CheckOutRequestBody(string key, string code, string roomNumber, System.DateTime checkOutDate, string errorMsg) {
|
||||
this.key = key;
|
||||
this.code = code;
|
||||
this.roomNumber = roomNumber;
|
||||
this.checkOutDate = checkOutDate;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class CheckOutResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="CheckOutResponse", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.CheckOutResponseBody Body;
|
||||
|
||||
public CheckOutResponse() {
|
||||
}
|
||||
|
||||
public CheckOutResponse(WinFormTest.blwws.CheckOutResponseBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class CheckOutResponseBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=0)]
|
||||
public bool CheckOutResult;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string errorMsg;
|
||||
|
||||
public CheckOutResponseBody() {
|
||||
}
|
||||
|
||||
public CheckOutResponseBody(bool CheckOutResult, string errorMsg) {
|
||||
this.CheckOutResult = CheckOutResult;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class RentRoomRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="RentRoom", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.RentRoomRequestBody Body;
|
||||
|
||||
public RentRoomRequest() {
|
||||
}
|
||||
|
||||
public RentRoomRequest(WinFormTest.blwws.RentRoomRequestBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class RentRoomRequestBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
||||
public string key;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string code;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
||||
public string roomNumber;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=3)]
|
||||
public System.DateTime rentDate;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
||||
public string errorMsg;
|
||||
|
||||
public RentRoomRequestBody() {
|
||||
}
|
||||
|
||||
public RentRoomRequestBody(string key, string code, string roomNumber, System.DateTime rentDate, string errorMsg) {
|
||||
this.key = key;
|
||||
this.code = code;
|
||||
this.roomNumber = roomNumber;
|
||||
this.rentDate = rentDate;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
||||
public partial class RentRoomResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Name="RentRoomResponse", Namespace="http://www.blw.com/", Order=0)]
|
||||
public WinFormTest.blwws.RentRoomResponseBody Body;
|
||||
|
||||
public RentRoomResponse() {
|
||||
}
|
||||
|
||||
public RentRoomResponse(WinFormTest.blwws.RentRoomResponseBody Body) {
|
||||
this.Body = Body;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://www.blw.com/")]
|
||||
public partial class RentRoomResponseBody {
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Order=0)]
|
||||
public bool RentRoomResult;
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
||||
public string errorMsg;
|
||||
|
||||
public RentRoomResponseBody() {
|
||||
}
|
||||
|
||||
public RentRoomResponseBody(bool RentRoomResult, string errorMsg) {
|
||||
this.RentRoomResult = RentRoomResult;
|
||||
this.errorMsg = errorMsg;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface blwwsSoapChannel : WinFormTest.blwws.blwwsSoap, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class blwwsSoapClient : System.ServiceModel.ClientBase<WinFormTest.blwws.blwwsSoap>, WinFormTest.blwws.blwwsSoap {
|
||||
|
||||
public blwwsSoapClient() {
|
||||
}
|
||||
|
||||
public blwwsSoapClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public blwwsSoapClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public blwwsSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public blwwsSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
WinFormTest.blwws.CheckInResponse WinFormTest.blwws.blwwsSoap.CheckIn(WinFormTest.blwws.CheckInRequest request) {
|
||||
return base.Channel.CheckIn(request);
|
||||
}
|
||||
|
||||
public bool CheckIn(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, string phoneNumber, string idNumber) {
|
||||
WinFormTest.blwws.CheckInRequest inValue = new WinFormTest.blwws.CheckInRequest();
|
||||
inValue.Body = new WinFormTest.blwws.CheckInRequestBody();
|
||||
inValue.Body.key = key;
|
||||
inValue.Body.code = code;
|
||||
inValue.Body.roomNumber = roomNumber;
|
||||
inValue.Body.checkInDate = checkInDate;
|
||||
inValue.Body.xmlString = xmlString;
|
||||
inValue.Body.errorMsg = errorMsg;
|
||||
inValue.Body.phoneNumber = phoneNumber;
|
||||
inValue.Body.idNumber = idNumber;
|
||||
WinFormTest.blwws.CheckInResponse retVal = ((WinFormTest.blwws.blwwsSoap)(this)).CheckIn(inValue);
|
||||
errorMsg = retVal.Body.errorMsg;
|
||||
return retVal.Body.CheckInResult;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
WinFormTest.blwws.CheckIn2Response WinFormTest.blwws.blwwsSoap.CheckIn2(WinFormTest.blwws.CheckIn2Request request) {
|
||||
return base.Channel.CheckIn2(request);
|
||||
}
|
||||
|
||||
public bool CheckIn2(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, ref long checkInID, string phoneNumber, string idNumber) {
|
||||
WinFormTest.blwws.CheckIn2Request inValue = new WinFormTest.blwws.CheckIn2Request();
|
||||
inValue.Body = new WinFormTest.blwws.CheckIn2RequestBody();
|
||||
inValue.Body.key = key;
|
||||
inValue.Body.code = code;
|
||||
inValue.Body.roomNumber = roomNumber;
|
||||
inValue.Body.checkInDate = checkInDate;
|
||||
inValue.Body.xmlString = xmlString;
|
||||
inValue.Body.errorMsg = errorMsg;
|
||||
inValue.Body.checkInID = checkInID;
|
||||
inValue.Body.phoneNumber = phoneNumber;
|
||||
inValue.Body.idNumber = idNumber;
|
||||
WinFormTest.blwws.CheckIn2Response retVal = ((WinFormTest.blwws.blwwsSoap)(this)).CheckIn2(inValue);
|
||||
errorMsg = retVal.Body.errorMsg;
|
||||
checkInID = retVal.Body.checkInID;
|
||||
return retVal.Body.CheckIn2Result;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
WinFormTest.blwws.UploadPhotoResponse WinFormTest.blwws.blwwsSoap.UploadPhoto(WinFormTest.blwws.UploadPhotoRequest request) {
|
||||
return base.Channel.UploadPhoto(request);
|
||||
}
|
||||
|
||||
public bool UploadPhoto(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, ref string errorMsg) {
|
||||
WinFormTest.blwws.UploadPhotoRequest inValue = new WinFormTest.blwws.UploadPhotoRequest();
|
||||
inValue.Body = new WinFormTest.blwws.UploadPhotoRequestBody();
|
||||
inValue.Body.key = key;
|
||||
inValue.Body.code = code;
|
||||
inValue.Body.checkInID = checkInID;
|
||||
inValue.Body.idType = idType;
|
||||
inValue.Body.idCard = idCard;
|
||||
inValue.Body.name = name;
|
||||
inValue.Body.sex = sex;
|
||||
inValue.Body.birthday = birthday;
|
||||
inValue.Body.photoUrl = photoUrl;
|
||||
inValue.Body.photo = photo;
|
||||
inValue.Body.errorMsg = errorMsg;
|
||||
WinFormTest.blwws.UploadPhotoResponse retVal = ((WinFormTest.blwws.blwwsSoap)(this)).UploadPhoto(inValue);
|
||||
errorMsg = retVal.Body.errorMsg;
|
||||
return retVal.Body.UploadPhotoResult;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
WinFormTest.blwws.ChangePhoneNumberResponse WinFormTest.blwws.blwwsSoap.ChangePhoneNumber(WinFormTest.blwws.ChangePhoneNumberRequest request) {
|
||||
return base.Channel.ChangePhoneNumber(request);
|
||||
}
|
||||
|
||||
public bool ChangePhoneNumber(string key, string code, string roomNumber, string phoneNumber, string idNumber, ref string errorMsg) {
|
||||
WinFormTest.blwws.ChangePhoneNumberRequest inValue = new WinFormTest.blwws.ChangePhoneNumberRequest();
|
||||
inValue.Body = new WinFormTest.blwws.ChangePhoneNumberRequestBody();
|
||||
inValue.Body.key = key;
|
||||
inValue.Body.code = code;
|
||||
inValue.Body.roomNumber = roomNumber;
|
||||
inValue.Body.phoneNumber = phoneNumber;
|
||||
inValue.Body.idNumber = idNumber;
|
||||
inValue.Body.errorMsg = errorMsg;
|
||||
WinFormTest.blwws.ChangePhoneNumberResponse retVal = ((WinFormTest.blwws.blwwsSoap)(this)).ChangePhoneNumber(inValue);
|
||||
errorMsg = retVal.Body.errorMsg;
|
||||
return retVal.Body.ChangePhoneNumberResult;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
WinFormTest.blwws.CheckOutResponse WinFormTest.blwws.blwwsSoap.CheckOut(WinFormTest.blwws.CheckOutRequest request) {
|
||||
return base.Channel.CheckOut(request);
|
||||
}
|
||||
|
||||
public bool CheckOut(string key, string code, string roomNumber, System.DateTime checkOutDate, ref string errorMsg) {
|
||||
WinFormTest.blwws.CheckOutRequest inValue = new WinFormTest.blwws.CheckOutRequest();
|
||||
inValue.Body = new WinFormTest.blwws.CheckOutRequestBody();
|
||||
inValue.Body.key = key;
|
||||
inValue.Body.code = code;
|
||||
inValue.Body.roomNumber = roomNumber;
|
||||
inValue.Body.checkOutDate = checkOutDate;
|
||||
inValue.Body.errorMsg = errorMsg;
|
||||
WinFormTest.blwws.CheckOutResponse retVal = ((WinFormTest.blwws.blwwsSoap)(this)).CheckOut(inValue);
|
||||
errorMsg = retVal.Body.errorMsg;
|
||||
return retVal.Body.CheckOutResult;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
WinFormTest.blwws.RentRoomResponse WinFormTest.blwws.blwwsSoap.RentRoom(WinFormTest.blwws.RentRoomRequest request) {
|
||||
return base.Channel.RentRoom(request);
|
||||
}
|
||||
|
||||
public bool RentRoom(string key, string code, string roomNumber, System.DateTime rentDate, ref string errorMsg) {
|
||||
WinFormTest.blwws.RentRoomRequest inValue = new WinFormTest.blwws.RentRoomRequest();
|
||||
inValue.Body = new WinFormTest.blwws.RentRoomRequestBody();
|
||||
inValue.Body.key = key;
|
||||
inValue.Body.code = code;
|
||||
inValue.Body.roomNumber = roomNumber;
|
||||
inValue.Body.rentDate = rentDate;
|
||||
inValue.Body.errorMsg = errorMsg;
|
||||
WinFormTest.blwws.RentRoomResponse retVal = ((WinFormTest.blwws.blwwsSoap)(this)).RentRoom(inValue);
|
||||
errorMsg = retVal.Body.errorMsg;
|
||||
return retVal.Body.RentRoomResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
31
Service References/blwws/Reference.svcmap
Normal file
31
Service References/blwws/Reference.svcmap
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="7f87d8e0-9ce3-4345-8284-72e99db3994d" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://pms.boonlive-rcu.com:89/blwws.asmx" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="blwws1.wsdl" MetadataType="Wsdl" ID="811a9127-dcec-40e8-ace4-49607e9f844e" SourceId="1" SourceUrl="http://pms.boonlive-rcu.com:89/blwws.asmx?wsdl" />
|
||||
<MetadataFile FileName="blwws1.disco" MetadataType="Disco" ID="35a194d7-a753-4296-a79f-bed14fd7c6c5" SourceId="1" SourceUrl="http://pms.boonlive-rcu.com:89/blwws.asmx?disco" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
6
Service References/blwws/blwws1.disco
Normal file
6
Service References/blwws/blwws1.disco
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://pms.boonlive-rcu.com:89/blwws.asmx?wsdl" docRef="http://pms.boonlive-rcu.com:89/blwws.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://pms.boonlive-rcu.com:89/blwws.asmx" xmlns:q1="http://www.blw.com/" binding="q1:blwwsSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://pms.boonlive-rcu.com:89/blwws.asmx" xmlns:q2="http://www.blw.com/" binding="q2:blwwsSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
</discovery>
|
||||
326
Service References/blwws/blwws1.wsdl
Normal file
326
Service References/blwws/blwws1.wsdl
Normal file
@@ -0,0 +1,326 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.blw.com/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://www.blw.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://www.blw.com/">
|
||||
<s:element name="CheckIn">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="xmlString" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idNumber" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckInResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CheckInResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckIn2">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="xmlString" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idNumber" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckIn2Response">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CheckIn2Result" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UploadPhoto">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="idType" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idCard" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="sex" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="birthday" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="photoUrl" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="photo" type="s:base64Binary" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UploadPhotoResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="UploadPhotoResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ChangePhoneNumber">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ChangePhoneNumberResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ChangePhoneNumberResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckOut">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkOutDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckOutResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CheckOutResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RentRoom">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="rentDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RentRoomResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="RentRoomResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="CheckInSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CheckIn" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckInSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CheckInResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckIn2SoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CheckIn2" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckIn2SoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CheckIn2Response" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UploadPhotoSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UploadPhoto" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UploadPhotoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UploadPhotoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ChangePhoneNumberSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ChangePhoneNumber" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ChangePhoneNumberSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ChangePhoneNumberResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckOutSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CheckOut" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckOutSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CheckOutResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RentRoomSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RentRoom" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RentRoomSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RentRoomResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="blwwsSoap">
|
||||
<wsdl:operation name="CheckIn">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">开房<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,checkInDate:入住日期,xmlString:客人信息,errorMsg:返回错误信息,phoneNumber:手机号码(多个以英文逗号,隔开),idNumber:身份证号(多个以英文逗号,隔开):获取微信登录验证码</wsdl:documentation>
|
||||
<wsdl:input message="tns:CheckInSoapIn" />
|
||||
<wsdl:output message="tns:CheckInSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckIn2">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">开房<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,checkInDate:入住日期,xmlString:客人信息,errorMsg:返回错误信息,checkInID:返回入住记录ID,phoneNumber:手机号码(多个以英文逗号,隔开),idNumber:身份证号(多个以英文逗号,隔开):获取微信登录验证码</wsdl:documentation>
|
||||
<wsdl:input message="tns:CheckIn2SoapIn" />
|
||||
<wsdl:output message="tns:CheckIn2SoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">上传入住人信息<br/>key:验证码(我方提供),code:编码(我方提供),checkInID:入住记录ID,idType:证件类型(0身份证,1护照,2军官证,3其他),idCard:证件号码,name:姓名,sex:性别(0女,1男,2其他),birthday:出生日期(1999-01-01),photoUrl:图片路径(与photo二选一),photo:图片(二进制),errorMsg:错误信息</wsdl:documentation>
|
||||
<wsdl:input message="tns:UploadPhotoSoapIn" />
|
||||
<wsdl:output message="tns:UploadPhotoSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ChangePhoneNumber">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">变更手机号<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,errorMsg:错误信息,phoneNumber:手机号码(多个以英文逗号,隔开),idNumber:身份证号:获取验证码</wsdl:documentation>
|
||||
<wsdl:input message="tns:ChangePhoneNumberSoapIn" />
|
||||
<wsdl:output message="tns:ChangePhoneNumberSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckOut">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">退房<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,checkOutDate:退房日期,errorMsg:错误信息</wsdl:documentation>
|
||||
<wsdl:input message="tns:CheckOutSoapIn" />
|
||||
<wsdl:output message="tns:CheckOutSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RentRoom">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">待租<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,rentDate:变更待租日期,errorMsg:错误信息</wsdl:documentation>
|
||||
<wsdl:input message="tns:RentRoomSoapIn" />
|
||||
<wsdl:output message="tns:RentRoomSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="blwwsSoap" type="tns:blwwsSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="CheckIn">
|
||||
<soap:operation soapAction="http://www.blw.com/CheckIn" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckIn2">
|
||||
<soap:operation soapAction="http://www.blw.com/CheckIn2" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<soap:operation soapAction="http://www.blw.com/UploadPhoto" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ChangePhoneNumber">
|
||||
<soap:operation soapAction="http://www.blw.com/ChangePhoneNumber" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckOut">
|
||||
<soap:operation soapAction="http://www.blw.com/CheckOut" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RentRoom">
|
||||
<soap:operation soapAction="http://www.blw.com/RentRoom" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="blwwsSoap12" type="tns:blwwsSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="CheckIn">
|
||||
<soap12:operation soapAction="http://www.blw.com/CheckIn" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckIn2">
|
||||
<soap12:operation soapAction="http://www.blw.com/CheckIn2" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<soap12:operation soapAction="http://www.blw.com/UploadPhoto" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ChangePhoneNumber">
|
||||
<soap12:operation soapAction="http://www.blw.com/ChangePhoneNumber" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckOut">
|
||||
<soap12:operation soapAction="http://www.blw.com/CheckOut" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RentRoom">
|
||||
<soap12:operation soapAction="http://www.blw.com/RentRoom" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="blwws">
|
||||
<wsdl:port name="blwwsSoap" binding="tns:blwwsSoap">
|
||||
<soap:address location="http://pms.boonlive-rcu.com:89/blwws.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="blwwsSoap12" binding="tns:blwwsSoap12">
|
||||
<soap12:address location="http://pms.boonlive-rcu.com:89/blwws.asmx" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
10
Service References/blwws/configuration.svcinfo
Normal file
10
Service References/blwws/configuration.svcinfo
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="blwwsSoap" />" bindingType="basicHttpBinding" name="blwwsSoap" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://pms.boonlive-rcu.com:89/blwws.asmx" binding="basicHttpBinding" bindingConfiguration="blwwsSoap" contract="blwws.blwwsSoap" name="blwwsSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://pms.boonlive-rcu.com:89/blwws.asmx" binding="basicHttpBinding" bindingConfiguration="blwwsSoap" contract="blwws.blwwsSoap" name="blwwsSoap" />" contractName="blwws.blwwsSoap" name="blwwsSoap" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
201
Service References/blwws/configuration91.svcinfo
Normal file
201
Service References/blwws/configuration91.svcinfo
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="r7J1b8qMcZ0ZnNR3SalvaRjnZJA=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="blwwsSoap">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>blwwsSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="blwwsSoap" contract="blwws.blwwsSoap" bindingType="basicHttpBinding" address="http://pms.boonlive-rcu.com:89/blwws.asmx" bindingConfiguration="blwwsSoap">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://pms.boonlive-rcu.com:89/blwws.asmx</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>blwwsSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>blwws.blwwsSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>blwwsSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
308
Service References/syncstatus/Reference.cs
Normal file
308
Service References/syncstatus/Reference.cs
Normal file
@@ -0,0 +1,308 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
}
|
||||
}
|
||||
}
|
||||
31
Service References/syncstatus/Reference.svcmap
Normal file
31
Service References/syncstatus/Reference.svcmap
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="73fdf3de-ad93-4a94-a4ad-ba71dd55d8ae" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="syncstatus1.wsdl" MetadataType="Wsdl" ID="786185da-8f9f-4cac-ab42-bb0159b29741" SourceId="1" SourceUrl="http://pms.boonlive-rcu.com:89/syncstatus.asmx?wsdl" />
|
||||
<MetadataFile FileName="syncstatus1.disco" MetadataType="Disco" ID="281edb93-76d8-4a8d-a92b-30dc9feb8b96" SourceId="1" SourceUrl="http://pms.boonlive-rcu.com:89/syncstatus.asmx?disco" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
10
Service References/syncstatus/configuration.svcinfo
Normal file
10
Service References/syncstatus/configuration.svcinfo
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="syncstatusSoap" />" bindingType="basicHttpBinding" name="syncstatusSoap" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" binding="basicHttpBinding" bindingConfiguration="syncstatusSoap" contract="syncstatus.syncstatusSoap" name="syncstatusSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" binding="basicHttpBinding" bindingConfiguration="syncstatusSoap" contract="syncstatus.syncstatusSoap" name="syncstatusSoap" />" contractName="syncstatus.syncstatusSoap" name="syncstatusSoap" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
201
Service References/syncstatus/configuration91.svcinfo
Normal file
201
Service References/syncstatus/configuration91.svcinfo
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="ko202D0GQKrlMkChvsLGa8AGl+I=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="syncstatusSoap">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>syncstatusSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="syncstatusSoap" contract="syncstatus.syncstatusSoap" bindingType="basicHttpBinding" address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" bindingConfiguration="syncstatusSoap">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://pms.boonlive-rcu.com:89/syncstatus.asmx</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>syncstatusSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>syncstatus.syncstatusSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>syncstatusSoap</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
6
Service References/syncstatus/syncstatus1.disco
Normal file
6
Service References/syncstatus/syncstatus1.disco
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://pms.boonlive-rcu.com:89/syncstatus.asmx?wsdl" docRef="http://pms.boonlive-rcu.com:89/syncstatus.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" xmlns:q1="http://www.blw.com/" binding="q1:syncstatusSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" xmlns:q2="http://www.blw.com/" binding="q2:syncstatusSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
</discovery>
|
||||
590
Service References/syncstatus/syncstatus1.wsdl
Normal file
590
Service References/syncstatus/syncstatus1.wsdl
Normal file
@@ -0,0 +1,590 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.blw.com/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://www.blw.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://www.blw.com/">
|
||||
<s:element name="GetRoomRecord">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="tableName" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetRoomRecordResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetRoomRecordResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element ref="s:schema" />
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetRoomCustomer">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetRoomCustomerResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetRoomCustomerResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element ref="s:schema" />
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetHotelCode">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetHotelCodeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetHotelCodeResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element ref="s:schema" />
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetHotelByCode">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetHotelByCodeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetHotelByCodeResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax" />
|
||||
<s:any minOccurs="1" namespace="urn:schemas-microsoft-com:xml-diffgram-v1" processContents="lax" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetCheckInOrOutRecord">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetCheckInOrOutRecordResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetCheckInOrOutRecordResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element ref="s:schema" />
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetDevices">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetDevicesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetDevicesResult">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element ref="s:schema" />
|
||||
<s:any />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="SaveDevice">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="id" type="s:long" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="hotelCode" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="SaveDeviceResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="SaveDeviceResult" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateCheckInOrOutRecord">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="id" type="s:long" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="flag" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateCheckInOrOutRecordResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="UpdateCheckInOrOutRecordResult" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ValidateNumber">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="hotelID" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="validateCode" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ValidateNumberResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ValidateNumberResult" type="s:boolean" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ValidateNumberByCode">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="validateCode" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ValidateNumberByCodeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ValidateNumberByCodeResult" type="s:boolean" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UploadPhoto">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="idType" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idCard" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="sex" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="birthday" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="photo" type="s:base64Binary" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UploadPhotoResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="UploadPhotoResult" type="s:boolean" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="FaceMatch">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="photo" type="s:base64Binary" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="idType" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idCard" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="sex" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="matchPhoto" type="s:base64Binary" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="FaceMatchResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="FaceMatchResult" type="s:boolean" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="idType" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idCard" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="sex" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="matchPhoto" type="s:base64Binary" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetRoomRecordSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetRoomRecord" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetRoomRecordSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetRoomRecordResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetRoomCustomerSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetRoomCustomer" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetRoomCustomerSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetRoomCustomerResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetHotelCodeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetHotelCode" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetHotelCodeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetHotelCodeResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetHotelByCodeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetHotelByCode" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetHotelByCodeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetHotelByCodeResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetCheckInOrOutRecordSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetCheckInOrOutRecord" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetCheckInOrOutRecordSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetCheckInOrOutRecordResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetDevicesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetDevices" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetDevicesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetDevicesResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="SaveDeviceSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:SaveDevice" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="SaveDeviceSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:SaveDeviceResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateCheckInOrOutRecordSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateCheckInOrOutRecord" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateCheckInOrOutRecordSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateCheckInOrOutRecordResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ValidateNumberSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ValidateNumber" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ValidateNumberSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ValidateNumberResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ValidateNumberByCodeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ValidateNumberByCode" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ValidateNumberByCodeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ValidateNumberByCodeResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UploadPhotoSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UploadPhoto" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UploadPhotoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UploadPhotoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="FaceMatchSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:FaceMatch" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="FaceMatchSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:FaceMatchResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="syncstatusSoap">
|
||||
<wsdl:operation name="GetRoomRecord">
|
||||
<wsdl:input message="tns:GetRoomRecordSoapIn" />
|
||||
<wsdl:output message="tns:GetRoomRecordSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetRoomCustomer">
|
||||
<wsdl:input message="tns:GetRoomCustomerSoapIn" />
|
||||
<wsdl:output message="tns:GetRoomCustomerSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetHotelCode">
|
||||
<wsdl:input message="tns:GetHotelCodeSoapIn" />
|
||||
<wsdl:output message="tns:GetHotelCodeSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetHotelByCode">
|
||||
<wsdl:input message="tns:GetHotelByCodeSoapIn" />
|
||||
<wsdl:output message="tns:GetHotelByCodeSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCheckInOrOutRecord">
|
||||
<wsdl:input message="tns:GetCheckInOrOutRecordSoapIn" />
|
||||
<wsdl:output message="tns:GetCheckInOrOutRecordSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetDevices">
|
||||
<wsdl:input message="tns:GetDevicesSoapIn" />
|
||||
<wsdl:output message="tns:GetDevicesSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="SaveDevice">
|
||||
<wsdl:input message="tns:SaveDeviceSoapIn" />
|
||||
<wsdl:output message="tns:SaveDeviceSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateCheckInOrOutRecord">
|
||||
<wsdl:input message="tns:UpdateCheckInOrOutRecordSoapIn" />
|
||||
<wsdl:output message="tns:UpdateCheckInOrOutRecordSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ValidateNumber">
|
||||
<wsdl:input message="tns:ValidateNumberSoapIn" />
|
||||
<wsdl:output message="tns:ValidateNumberSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ValidateNumberByCode">
|
||||
<wsdl:input message="tns:ValidateNumberByCodeSoapIn" />
|
||||
<wsdl:output message="tns:ValidateNumberByCodeSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<wsdl:input message="tns:UploadPhotoSoapIn" />
|
||||
<wsdl:output message="tns:UploadPhotoSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="FaceMatch">
|
||||
<wsdl:input message="tns:FaceMatchSoapIn" />
|
||||
<wsdl:output message="tns:FaceMatchSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="syncstatusSoap" type="tns:syncstatusSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="GetRoomRecord">
|
||||
<soap:operation soapAction="http://www.blw.com/GetRoomRecord" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetRoomCustomer">
|
||||
<soap:operation soapAction="http://www.blw.com/GetRoomCustomer" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetHotelCode">
|
||||
<soap:operation soapAction="http://www.blw.com/GetHotelCode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetHotelByCode">
|
||||
<soap:operation soapAction="http://www.blw.com/GetHotelByCode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCheckInOrOutRecord">
|
||||
<soap:operation soapAction="http://www.blw.com/GetCheckInOrOutRecord" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetDevices">
|
||||
<soap:operation soapAction="http://www.blw.com/GetDevices" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="SaveDevice">
|
||||
<soap:operation soapAction="http://www.blw.com/SaveDevice" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateCheckInOrOutRecord">
|
||||
<soap:operation soapAction="http://www.blw.com/UpdateCheckInOrOutRecord" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ValidateNumber">
|
||||
<soap:operation soapAction="http://www.blw.com/ValidateNumber" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ValidateNumberByCode">
|
||||
<soap:operation soapAction="http://www.blw.com/ValidateNumberByCode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<soap:operation soapAction="http://www.blw.com/UploadPhoto" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="FaceMatch">
|
||||
<soap:operation soapAction="http://www.blw.com/FaceMatch" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="syncstatusSoap12" type="tns:syncstatusSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="GetRoomRecord">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetRoomRecord" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetRoomCustomer">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetRoomCustomer" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetHotelCode">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetHotelCode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetHotelByCode">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetHotelByCode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCheckInOrOutRecord">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetCheckInOrOutRecord" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetDevices">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetDevices" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="SaveDevice">
|
||||
<soap12:operation soapAction="http://www.blw.com/SaveDevice" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateCheckInOrOutRecord">
|
||||
<soap12:operation soapAction="http://www.blw.com/UpdateCheckInOrOutRecord" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ValidateNumber">
|
||||
<soap12:operation soapAction="http://www.blw.com/ValidateNumber" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ValidateNumberByCode">
|
||||
<soap12:operation soapAction="http://www.blw.com/ValidateNumberByCode" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<soap12:operation soapAction="http://www.blw.com/UploadPhoto" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="FaceMatch">
|
||||
<soap12:operation soapAction="http://www.blw.com/FaceMatch" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="syncstatus">
|
||||
<wsdl:port name="syncstatusSoap" binding="tns:syncstatusSoap">
|
||||
<soap:address location="http://pms.boonlive-rcu.com:89/syncstatus.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="syncstatusSoap12" binding="tns:syncstatusSoap12">
|
||||
<soap12:address location="http://pms.boonlive-rcu.com:89/syncstatus.asmx" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
17
app.config
Normal file
17
app.config
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<basicHttpBinding>
|
||||
<binding name="BasicHttpBinding_IThirdpartyService"/>
|
||||
<binding name="blwwsSoap" maxReceivedMessageSize="2147483647"/>
|
||||
<binding name="syncstatusSoap" maxReceivedMessageSize="2147483647"/>
|
||||
</basicHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="http://119.29.101.13:2017/JTE.Server/ThirdpartyService" binding="basicHttpBinding" contract="ServiceReference1.IThirdpartyService" name="BasicHttpBinding_IThirdpartyService"/>
|
||||
<endpoint address="http://pms.boonlive-rcu.com:89/blwws.asmx" binding="basicHttpBinding" bindingConfiguration="blwwsSoap" contract="blwws.blwwsSoap" name="blwwsSoap"/>
|
||||
<endpoint address="http://pms.boonlive-rcu.com:89/syncstatus.asmx" binding="basicHttpBinding" bindingConfiguration="syncstatusSoap" contract="syncstatus.syncstatusSoap" name="syncstatusSoap"/>
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
||||
BIN
dll/AForge.Video.DirectShow.dll
Normal file
BIN
dll/AForge.Video.DirectShow.dll
Normal file
Binary file not shown.
BIN
dll/AForge.Video.dll
Normal file
BIN
dll/AForge.Video.dll
Normal file
Binary file not shown.
489
frmCheckIn.Designer.cs
generated
Normal file
489
frmCheckIn.Designer.cs
generated
Normal file
@@ -0,0 +1,489 @@
|
||||
namespace WinFormTest
|
||||
{
|
||||
partial class frmCheckIn
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows 窗体设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCheckIn));
|
||||
this.btnCheckIn = new System.Windows.Forms.Button();
|
||||
this.btnCheckOut = new System.Windows.Forms.Button();
|
||||
this.btnRent = new System.Windows.Forms.Button();
|
||||
this.txtRoomNumber = new System.Windows.Forms.TextBox();
|
||||
this.btnCard = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.txtName = new System.Windows.Forms.TextBox();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.txtHotelCode = new System.Windows.Forms.TextBox();
|
||||
this.btnChangePhone = new System.Windows.Forms.Button();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.txtPhoneNumber = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.txtIDNumber = new System.Windows.Forms.TextBox();
|
||||
this.btnWXLogin = new System.Windows.Forms.Button();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.txtValidateCode = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.txtPhotoUrl = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.cmbSex = new System.Windows.Forms.ComboBox();
|
||||
this.dtBirthday = new System.Windows.Forms.DateTimePicker();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.btnFaceCheckIn = new System.Windows.Forms.Button();
|
||||
this.btnPhoto = new System.Windows.Forms.Button();
|
||||
this.picPhoto = new System.Windows.Forms.PictureBox();
|
||||
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.picWebcam = new System.Windows.Forms.PictureBox();
|
||||
this.rbtnPhoto1 = new System.Windows.Forms.RadioButton();
|
||||
this.rbtnPhoto2 = new System.Windows.Forms.RadioButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picPhoto)).BeginInit();
|
||||
this.groupBox5.SuspendLayout();
|
||||
this.groupBox4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picWebcam)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnCheckIn
|
||||
//
|
||||
this.btnCheckIn.Location = new System.Drawing.Point(529, 12);
|
||||
this.btnCheckIn.Name = "btnCheckIn";
|
||||
this.btnCheckIn.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCheckIn.TabIndex = 4;
|
||||
this.btnCheckIn.Text = "开房";
|
||||
this.btnCheckIn.UseVisualStyleBackColor = true;
|
||||
this.btnCheckIn.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// btnCheckOut
|
||||
//
|
||||
this.btnCheckOut.Location = new System.Drawing.Point(625, 72);
|
||||
this.btnCheckOut.Name = "btnCheckOut";
|
||||
this.btnCheckOut.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCheckOut.TabIndex = 5;
|
||||
this.btnCheckOut.Text = "退房";
|
||||
this.btnCheckOut.UseVisualStyleBackColor = true;
|
||||
this.btnCheckOut.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// btnRent
|
||||
//
|
||||
this.btnRent.Location = new System.Drawing.Point(529, 72);
|
||||
this.btnRent.Name = "btnRent";
|
||||
this.btnRent.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnRent.TabIndex = 6;
|
||||
this.btnRent.Text = "待租";
|
||||
this.btnRent.UseVisualStyleBackColor = true;
|
||||
this.btnRent.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// txtRoomNumber
|
||||
//
|
||||
this.txtRoomNumber.Location = new System.Drawing.Point(260, 13);
|
||||
this.txtRoomNumber.MaxLength = 10;
|
||||
this.txtRoomNumber.Name = "txtRoomNumber";
|
||||
this.txtRoomNumber.Size = new System.Drawing.Size(100, 21);
|
||||
this.txtRoomNumber.TabIndex = 2;
|
||||
//
|
||||
// btnCard
|
||||
//
|
||||
this.btnCard.Location = new System.Drawing.Point(529, 381);
|
||||
this.btnCard.Name = "btnCard";
|
||||
this.btnCard.Size = new System.Drawing.Size(171, 23);
|
||||
this.btnCard.TabIndex = 8;
|
||||
this.btnCard.Text = "上报插卡身份";
|
||||
this.btnCard.UseVisualStyleBackColor = true;
|
||||
this.btnCard.Visible = false;
|
||||
this.btnCard.Click += new System.EventHandler(this.button4_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(225, 17);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 5;
|
||||
this.label1.Text = "房号";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(366, 17);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "姓名";
|
||||
//
|
||||
// txtName
|
||||
//
|
||||
this.txtName.Location = new System.Drawing.Point(400, 13);
|
||||
this.txtName.Name = "txtName";
|
||||
this.txtName.Size = new System.Drawing.Size(100, 21);
|
||||
this.txtName.TabIndex = 3;
|
||||
this.txtName.Text = "张三";
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Location = new System.Drawing.Point(96, 380);
|
||||
this.textBox3.Multiline = true;
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.Size = new System.Drawing.Size(405, 24);
|
||||
this.textBox3.TabIndex = 7;
|
||||
this.textBox3.Visible = false;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(36, 17);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||
this.label3.TabIndex = 10;
|
||||
this.label3.Text = "酒店编码";
|
||||
//
|
||||
// txtHotelCode
|
||||
//
|
||||
this.txtHotelCode.Location = new System.Drawing.Point(96, 13);
|
||||
this.txtHotelCode.Name = "txtHotelCode";
|
||||
this.txtHotelCode.ReadOnly = true;
|
||||
this.txtHotelCode.Size = new System.Drawing.Size(100, 21);
|
||||
this.txtHotelCode.TabIndex = 1;
|
||||
this.txtHotelCode.Text = "WXDF_Hotel";
|
||||
//
|
||||
// btnChangePhone
|
||||
//
|
||||
this.btnChangePhone.Location = new System.Drawing.Point(529, 41);
|
||||
this.btnChangePhone.Name = "btnChangePhone";
|
||||
this.btnChangePhone.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnChangePhone.TabIndex = 11;
|
||||
this.btnChangePhone.Text = "变更手机号";
|
||||
this.btnChangePhone.UseVisualStyleBackColor = true;
|
||||
this.btnChangePhone.Click += new System.EventHandler(this.button5_Click);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(48, 49);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(41, 12);
|
||||
this.label4.TabIndex = 13;
|
||||
this.label4.Text = "手机号";
|
||||
//
|
||||
// txtPhoneNumber
|
||||
//
|
||||
this.txtPhoneNumber.Location = new System.Drawing.Point(96, 45);
|
||||
this.txtPhoneNumber.MaxLength = 50;
|
||||
this.txtPhoneNumber.Name = "txtPhoneNumber";
|
||||
this.txtPhoneNumber.Size = new System.Drawing.Size(100, 21);
|
||||
this.txtPhoneNumber.TabIndex = 12;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(201, 49);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||
this.label5.TabIndex = 15;
|
||||
this.label5.Text = "身份证号";
|
||||
//
|
||||
// txtIDNumber
|
||||
//
|
||||
this.txtIDNumber.Location = new System.Drawing.Point(260, 45);
|
||||
this.txtIDNumber.MaxLength = 50;
|
||||
this.txtIDNumber.Name = "txtIDNumber";
|
||||
this.txtIDNumber.Size = new System.Drawing.Size(240, 21);
|
||||
this.txtIDNumber.TabIndex = 14;
|
||||
//
|
||||
// btnWXLogin
|
||||
//
|
||||
this.btnWXLogin.Location = new System.Drawing.Point(529, 326);
|
||||
this.btnWXLogin.Name = "btnWXLogin";
|
||||
this.btnWXLogin.Size = new System.Drawing.Size(171, 23);
|
||||
this.btnWXLogin.TabIndex = 16;
|
||||
this.btnWXLogin.Text = "微信登录验证";
|
||||
this.btnWXLogin.UseVisualStyleBackColor = true;
|
||||
this.btnWXLogin.Click += new System.EventHandler(this.btnWXLogin_Click);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(48, 331);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(41, 12);
|
||||
this.label6.TabIndex = 18;
|
||||
this.label6.Text = "验证码";
|
||||
//
|
||||
// txtValidateCode
|
||||
//
|
||||
this.txtValidateCode.Location = new System.Drawing.Point(96, 327);
|
||||
this.txtValidateCode.MaxLength = 4;
|
||||
this.txtValidateCode.Name = "txtValidateCode";
|
||||
this.txtValidateCode.Size = new System.Drawing.Size(405, 21);
|
||||
this.txtValidateCode.TabIndex = 17;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(36, 386);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 19;
|
||||
this.label7.Text = "插卡信息";
|
||||
this.label7.Visible = false;
|
||||
//
|
||||
// txtPhotoUrl
|
||||
//
|
||||
this.txtPhotoUrl.Location = new System.Drawing.Point(96, 102);
|
||||
this.txtPhotoUrl.MaxLength = 10000;
|
||||
this.txtPhotoUrl.Name = "txtPhotoUrl";
|
||||
this.txtPhotoUrl.Size = new System.Drawing.Size(510, 21);
|
||||
this.txtPhotoUrl.TabIndex = 21;
|
||||
this.txtPhotoUrl.Text = "http://boonlive-rcu.com/Uploads/logo/160.jpg";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(60, 77);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(29, 12);
|
||||
this.label9.TabIndex = 22;
|
||||
this.label9.Text = "性别";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(201, 77);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(53, 12);
|
||||
this.label10.TabIndex = 23;
|
||||
this.label10.Text = "出生日期";
|
||||
//
|
||||
// cmbSex
|
||||
//
|
||||
this.cmbSex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbSex.Enabled = false;
|
||||
this.cmbSex.FormattingEnabled = true;
|
||||
this.cmbSex.Items.AddRange(new object[] {
|
||||
"女",
|
||||
"男"});
|
||||
this.cmbSex.Location = new System.Drawing.Point(96, 73);
|
||||
this.cmbSex.Name = "cmbSex";
|
||||
this.cmbSex.Size = new System.Drawing.Size(99, 20);
|
||||
this.cmbSex.TabIndex = 24;
|
||||
//
|
||||
// dtBirthday
|
||||
//
|
||||
this.dtBirthday.Location = new System.Drawing.Point(260, 73);
|
||||
this.dtBirthday.Name = "dtBirthday";
|
||||
this.dtBirthday.Size = new System.Drawing.Size(135, 21);
|
||||
this.dtBirthday.TabIndex = 25;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Location = new System.Drawing.Point(625, 12);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnClose.TabIndex = 26;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// btnFaceCheckIn
|
||||
//
|
||||
this.btnFaceCheckIn.Location = new System.Drawing.Point(625, 101);
|
||||
this.btnFaceCheckIn.Name = "btnFaceCheckIn";
|
||||
this.btnFaceCheckIn.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnFaceCheckIn.TabIndex = 27;
|
||||
this.btnFaceCheckIn.Text = "自助机开房";
|
||||
this.btnFaceCheckIn.UseVisualStyleBackColor = true;
|
||||
this.btnFaceCheckIn.Click += new System.EventHandler(this.btnFaceCheckIn_Click);
|
||||
//
|
||||
// btnPhoto
|
||||
//
|
||||
this.btnPhoto.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPhoto.Location = new System.Drawing.Point(320, 192);
|
||||
this.btnPhoto.Name = "btnPhoto";
|
||||
this.btnPhoto.Size = new System.Drawing.Size(61, 32);
|
||||
this.btnPhoto.TabIndex = 28;
|
||||
this.btnPhoto.Text = "拍照";
|
||||
this.btnPhoto.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// picPhoto
|
||||
//
|
||||
this.picPhoto.Image = ((System.Drawing.Image)(resources.GetObject("picPhoto.Image")));
|
||||
this.picPhoto.InitialImage = null;
|
||||
this.picPhoto.Location = new System.Drawing.Point(9, 20);
|
||||
this.picPhoto.Name = "picPhoto";
|
||||
this.picPhoto.Size = new System.Drawing.Size(200, 150);
|
||||
this.picPhoto.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.picPhoto.TabIndex = 0;
|
||||
this.picPhoto.TabStop = false;
|
||||
//
|
||||
// groupBox5
|
||||
//
|
||||
this.groupBox5.Controls.Add(this.picPhoto);
|
||||
this.groupBox5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox5.Location = new System.Drawing.Point(388, 129);
|
||||
this.groupBox5.Name = "groupBox5";
|
||||
this.groupBox5.Size = new System.Drawing.Size(218, 177);
|
||||
this.groupBox5.TabIndex = 30;
|
||||
this.groupBox5.TabStop = false;
|
||||
this.groupBox5.Text = "照片";
|
||||
//
|
||||
// groupBox4
|
||||
//
|
||||
this.groupBox4.Controls.Add(this.picWebcam);
|
||||
this.groupBox4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox4.Location = new System.Drawing.Point(96, 129);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Size = new System.Drawing.Size(218, 177);
|
||||
this.groupBox4.TabIndex = 29;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "摄像头";
|
||||
//
|
||||
// picWebcam
|
||||
//
|
||||
this.picWebcam.BackColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||
this.picWebcam.Location = new System.Drawing.Point(9, 17);
|
||||
this.picWebcam.Name = "picWebcam";
|
||||
this.picWebcam.Size = new System.Drawing.Size(200, 150);
|
||||
this.picWebcam.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.picWebcam.TabIndex = 14;
|
||||
this.picWebcam.TabStop = false;
|
||||
//
|
||||
// rbtnPhoto1
|
||||
//
|
||||
this.rbtnPhoto1.AutoSize = true;
|
||||
this.rbtnPhoto1.Checked = true;
|
||||
this.rbtnPhoto1.Location = new System.Drawing.Point(18, 104);
|
||||
this.rbtnPhoto1.Name = "rbtnPhoto1";
|
||||
this.rbtnPhoto1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.rbtnPhoto1.Size = new System.Drawing.Size(71, 16);
|
||||
this.rbtnPhoto1.TabIndex = 31;
|
||||
this.rbtnPhoto1.TabStop = true;
|
||||
this.rbtnPhoto1.Text = "云端图片";
|
||||
this.rbtnPhoto1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbtnPhoto2
|
||||
//
|
||||
this.rbtnPhoto2.AutoSize = true;
|
||||
this.rbtnPhoto2.Location = new System.Drawing.Point(19, 200);
|
||||
this.rbtnPhoto2.Name = "rbtnPhoto2";
|
||||
this.rbtnPhoto2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.rbtnPhoto2.Size = new System.Drawing.Size(71, 16);
|
||||
this.rbtnPhoto2.TabIndex = 32;
|
||||
this.rbtnPhoto2.Text = "本地拍照";
|
||||
this.rbtnPhoto2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// frmCheckIn
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(729, 365);
|
||||
this.Controls.Add(this.rbtnPhoto2);
|
||||
this.Controls.Add(this.rbtnPhoto1);
|
||||
this.Controls.Add(this.btnPhoto);
|
||||
this.Controls.Add(this.groupBox5);
|
||||
this.Controls.Add(this.groupBox4);
|
||||
this.Controls.Add(this.btnFaceCheckIn);
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.dtBirthday);
|
||||
this.Controls.Add(this.cmbSex);
|
||||
this.Controls.Add(this.label10);
|
||||
this.Controls.Add(this.label9);
|
||||
this.Controls.Add(this.txtPhotoUrl);
|
||||
this.Controls.Add(this.label7);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.txtValidateCode);
|
||||
this.Controls.Add(this.btnWXLogin);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.txtIDNumber);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.txtPhoneNumber);
|
||||
this.Controls.Add(this.btnChangePhone);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.txtHotelCode);
|
||||
this.Controls.Add(this.textBox3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.txtName);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.btnCard);
|
||||
this.Controls.Add(this.txtRoomNumber);
|
||||
this.Controls.Add(this.btnRent);
|
||||
this.Controls.Add(this.btnCheckOut);
|
||||
this.Controls.Add(this.btnCheckIn);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "frmCheckIn";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "接口测试";
|
||||
((System.ComponentModel.ISupportInitialize)(this.picPhoto)).EndInit();
|
||||
this.groupBox5.ResumeLayout(false);
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.picWebcam)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button btnCheckIn;
|
||||
private System.Windows.Forms.Button btnCheckOut;
|
||||
private System.Windows.Forms.Button btnRent;
|
||||
private System.Windows.Forms.TextBox txtRoomNumber;
|
||||
private System.Windows.Forms.Button btnCard;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox txtName;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox txtHotelCode;
|
||||
private System.Windows.Forms.Button btnChangePhone;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox txtPhoneNumber;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox txtIDNumber;
|
||||
private System.Windows.Forms.Button btnWXLogin;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox txtValidateCode;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox txtPhotoUrl;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.ComboBox cmbSex;
|
||||
private System.Windows.Forms.DateTimePicker dtBirthday;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
private System.Windows.Forms.Button btnFaceCheckIn;
|
||||
private System.Windows.Forms.Button btnPhoto;
|
||||
private System.Windows.Forms.PictureBox picPhoto;
|
||||
private System.Windows.Forms.GroupBox groupBox5;
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.PictureBox picWebcam;
|
||||
private System.Windows.Forms.RadioButton rbtnPhoto1;
|
||||
private System.Windows.Forms.RadioButton rbtnPhoto2;
|
||||
}
|
||||
}
|
||||
|
||||
327
frmCheckIn.cs
Normal file
327
frmCheckIn.cs
Normal file
@@ -0,0 +1,327 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml;
|
||||
using System.IO;
|
||||
using AForge.Video;
|
||||
using AForge.Video.DirectShow;
|
||||
|
||||
namespace WinFormTest
|
||||
{
|
||||
public partial class frmCheckIn : Form
|
||||
{
|
||||
blwws.blwwsSoapClient blwwsClient = new blwws.blwwsSoapClient();
|
||||
syncstatus.syncstatusSoapClient syncstatusClient = new syncstatus.syncstatusSoapClient();
|
||||
//ServiceReference2.ThirdpartyServiceClient client1 = new ServiceReference2.ThirdpartyServiceClient();
|
||||
private FilterInfoCollection videoDevices;
|
||||
private VideoCaptureDevice videoSource = null;
|
||||
|
||||
public frmCheckIn(string hotelCode, string roomNumber)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
txtHotelCode.Text = hotelCode;
|
||||
//txtRoomNumber.Text = roomNumber;
|
||||
cmbSex.SelectedIndex = 0;
|
||||
//btnFaceCheckIn.Visible = false;
|
||||
|
||||
rbtnPhoto1.CheckedChanged += new EventHandler(rbtnPhoto1_CheckedChanged);
|
||||
btnPhoto.Click += new EventHandler(btnPhoto_Click);
|
||||
this.Load += new EventHandler(frmCheckIn_Load);
|
||||
this.FormClosing += new FormClosingEventHandler(frmCheckIn_FormClosing);
|
||||
}
|
||||
|
||||
void frmCheckIn_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (videoSource != null && videoSource.IsRunning)
|
||||
{
|
||||
videoSource.Stop();
|
||||
}
|
||||
}
|
||||
|
||||
private bool isPhoto = false;
|
||||
void btnPhoto_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (videoSource == null || !videoSource.IsRunning)
|
||||
{
|
||||
MessageBox.Show("没有找到摄像头!");
|
||||
return;
|
||||
}
|
||||
picPhoto.Image = picWebcam.Image;
|
||||
isPhoto = true;
|
||||
}
|
||||
|
||||
void frmCheckIn_Load(object sender, EventArgs e)
|
||||
{
|
||||
videoDevices = new FilterInfoCollection(FilterCategory.VideoInputDevice);
|
||||
if (videoDevices.Count > 0)
|
||||
{
|
||||
videoSource = new VideoCaptureDevice(videoDevices[0].MonikerString);
|
||||
videoSource.NewFrame += new NewFrameEventHandler(video_NewFrame);
|
||||
videoSource.DesiredFrameSize = new Size(picWebcam.Size.Width, picWebcam.Size.Height);
|
||||
videoSource.Start();
|
||||
}
|
||||
}
|
||||
|
||||
void video_NewFrame(object sender, NewFrameEventArgs eventArgs)
|
||||
{
|
||||
Bitmap img = (Bitmap)eventArgs.Frame.Clone();
|
||||
picWebcam.Image = img;
|
||||
}
|
||||
|
||||
void rbtnPhoto1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (rbtnPhoto1.Checked)
|
||||
{
|
||||
txtPhotoUrl.ReadOnly = false;
|
||||
btnPhoto.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
txtPhotoUrl.ReadOnly = true;
|
||||
btnPhoto.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("房号不能为空");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
string errorMsg = "";
|
||||
string xmlString = "<interface><item idtype=\"0\" idcard = \"" + txtIDNumber.Text.Trim() + "\" customer = \"" +
|
||||
txtName.Text.Trim() + "\" sex =\"女\" country =\"0\" checkindate = \"" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "\"/></interface>";
|
||||
if (blwwsClient.CheckIn("blw_ws@2015", txtHotelCode.Text.Trim(), txtRoomNumber.Text.Trim(), DateTime.Now, xmlString, ref errorMsg, txtPhoneNumber.Text.Trim(), txtIDNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("开房成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("房号不能为空");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
string errorMsg = "";
|
||||
if (blwwsClient.CheckOut("blw_ws@2015", txtHotelCode.Text.Trim(), txtRoomNumber.Text.Trim(), DateTime.Now, ref errorMsg))
|
||||
{
|
||||
MessageBox.Show("退房成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("房号不能为空");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
string errorMsg = "";
|
||||
if (blwwsClient.RentRoom("blw_ws@2015", txtHotelCode.Text.Trim(), txtRoomNumber.Text.Trim(), DateTime.Now, ref errorMsg))
|
||||
{
|
||||
MessageBox.Show("变更待租成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
private void button4_Click(object sender, EventArgs e)
|
||||
{
|
||||
//=============将插卡信息上报给PMS=======================================
|
||||
|
||||
//XmlDocument xmlDoc = new XmlDocument();
|
||||
//xmlDoc.LoadXml(client1.GethHotelcode("宝来客控对接酒店"));
|
||||
//XmlElement element = xmlDoc.DocumentElement;
|
||||
//string hotelCode = element.GetElementsByTagName("Body")[0].ChildNodes[0].ChildNodes[0].InnerText;//"HOTEL1489374686";
|
||||
//xmlDoc = new XmlDocument();
|
||||
//XmlNode node = xmlDoc.CreateXmlDeclaration("1.0", "utf-8", "");//创建类型声明节点
|
||||
//xmlDoc.AppendChild(node);
|
||||
//XmlNode root = xmlDoc.CreateElement("request");
|
||||
//xmlDoc.AppendChild(root);
|
||||
//XmlNode card = xmlDoc.CreateElement("cardIdentificatioinrq");
|
||||
//root.AppendChild(card);
|
||||
//XmlNode data = xmlDoc.CreateNode(XmlNodeType.Element, "hotelCode", null);
|
||||
//data.InnerText = hotelCode;//酒店代码
|
||||
//card.AppendChild(data);
|
||||
//data = xmlDoc.CreateNode(XmlNodeType.Element, "roomno", null);
|
||||
//data.InnerText = textBox1.Text.Trim();//房间号
|
||||
//card.AppendChild(data);
|
||||
//data = xmlDoc.CreateNode(XmlNodeType.Element, "remark", null);
|
||||
//data.InnerText = "";//备注
|
||||
//card.AppendChild(data);
|
||||
//data = xmlDoc.CreateNode(XmlNodeType.Element, "guestinfo", null);
|
||||
//if (string.IsNullOrEmpty(textBox2.Text.Trim()))
|
||||
//{
|
||||
// data.InnerText = "无人";
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// data.InnerText = textBox2.Text.Trim();//插卡人身份信息
|
||||
//}
|
||||
//card.AppendChild(data);
|
||||
//data = xmlDoc.CreateNode(XmlNodeType.Element, "key", null);
|
||||
//data.InnerText = "Wide_Third";//授权码
|
||||
//card.AppendChild(data);
|
||||
////logger.Error(xmlDoc.InnerXml);
|
||||
//textBox3.Text = xmlDoc.InnerXml;
|
||||
//string result = client1.SendIdentificatioinByCard(xmlDoc.InnerXml);
|
||||
//string result = TestBLL.Class1.Test(textBox1.Text.Trim(), textBox2.Text.Trim());
|
||||
//MessageBox.Show("发送成功" + Environment.NewLine + result);
|
||||
}
|
||||
|
||||
private void button5_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("房号不能为空");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(txtPhoneNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("手机号不能为空");
|
||||
txtPhoneNumber.Focus();
|
||||
return;
|
||||
}
|
||||
string errorMsg = "";
|
||||
if (blwwsClient.ChangePhoneNumber("blw_ws@2015", txtHotelCode.Text.Trim(), txtRoomNumber.Text.Trim(), txtPhoneNumber.Text.Trim(), txtIDNumber.Text.Trim(), ref errorMsg))
|
||||
{
|
||||
MessageBox.Show("变更手机号成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(errorMsg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void btnWXLogin_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("房号不能为空");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(txtValidateCode.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("验证码不能为空");
|
||||
txtValidateCode.Focus();
|
||||
return;
|
||||
}
|
||||
if (syncstatusClient.ValidateNumberByCode(txtHotelCode.Text.Trim(), txtRoomNumber.Text.Trim(), txtValidateCode.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("验证成功!");
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("验证失败!");
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btnFaceCheckIn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("房号不能为空");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(txtName.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("姓名不能为空");
|
||||
txtName.Focus();
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(txtIDNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("身份证号不能为空");
|
||||
txtIDNumber.Focus();
|
||||
return;
|
||||
}
|
||||
string errorMsg = "";
|
||||
long checkInID = 0;
|
||||
string photoUrl = txtPhotoUrl.Text.Trim();
|
||||
byte[] photo = null;
|
||||
if (rbtnPhoto2.Checked)
|
||||
{
|
||||
if (!isPhoto)
|
||||
{
|
||||
MessageBox.Show("请先拍照");
|
||||
btnPhoto.Focus();
|
||||
return;
|
||||
}
|
||||
photoUrl = "";
|
||||
photo = GetBytePictureBox(picPhoto);
|
||||
}
|
||||
else if(string.IsNullOrEmpty(photoUrl))
|
||||
{
|
||||
MessageBox.Show("云端图片地址不能为空");
|
||||
txtPhotoUrl.Focus();
|
||||
return;
|
||||
|
||||
}
|
||||
string xmlString = "<interface><item idtype=\"0\" idcard = \"" + txtIDNumber.Text.Trim() + "\" customer = \"" +
|
||||
txtName.Text.Trim() + "\" sex =\"女\" country =\"0\" checkindate = \"" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "\"/></interface>";
|
||||
if (blwwsClient.CheckIn2("blw_ws@2015", txtHotelCode.Text.Trim(), txtRoomNumber.Text.Trim(), DateTime.Now, xmlString, ref errorMsg, ref checkInID, txtPhoneNumber.Text.Trim(), txtIDNumber.Text.Trim()))
|
||||
{
|
||||
if (blwwsClient.UploadPhoto("blw_ws@2015", txtHotelCode.Text.Trim(), checkInID, 0, txtIDNumber.Text.Trim(), txtName.Text.Trim(),
|
||||
cmbSex.SelectedIndex, dtBirthday.Value.ToString("yyyy-MM-dd"), photoUrl, photo, ref errorMsg))
|
||||
{
|
||||
MessageBox.Show("开房成功!CheckInID:" + checkInID.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(errorMsg);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
private byte[] GetBytePictureBox(System.Windows.Forms.PictureBox pb)
|
||||
{
|
||||
byte[] bt = null;
|
||||
if (!pb.Equals(null))
|
||||
{
|
||||
using (MemoryStream ms = new MemoryStream())
|
||||
{
|
||||
Bitmap bm = new Bitmap(pb.Size.Width, pb.Size.Height);
|
||||
pb.DrawToBitmap(bm, pb.ClientRectangle);
|
||||
bm.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
|
||||
bt = ms.GetBuffer();
|
||||
}
|
||||
}
|
||||
return bt;
|
||||
}
|
||||
}
|
||||
}
|
||||
1818
frmCheckIn.resx
Normal file
1818
frmCheckIn.resx
Normal file
File diff suppressed because it is too large
Load Diff
95
frmCustomerList.Designer.cs
generated
Normal file
95
frmCustomerList.Designer.cs
generated
Normal file
@@ -0,0 +1,95 @@
|
||||
namespace WinFormTest
|
||||
{
|
||||
partial class frmCustomerList
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomerList));
|
||||
this.grdData = new System.Windows.Forms.DataGridView();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdData)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// grdData
|
||||
//
|
||||
this.grdData.AllowUserToAddRows = false;
|
||||
this.grdData.AllowUserToDeleteRows = false;
|
||||
this.grdData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.grdData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.grdData.Location = new System.Drawing.Point(12, 42);
|
||||
this.grdData.Name = "grdData";
|
||||
this.grdData.ReadOnly = true;
|
||||
this.grdData.RowTemplate.Height = 23;
|
||||
this.grdData.Size = new System.Drawing.Size(831, 321);
|
||||
this.grdData.TabIndex = 2;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Location = new System.Drawing.Point(93, 12);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnClose.TabIndex = 4;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Location = new System.Drawing.Point(12, 12);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnRefresh.TabIndex = 5;
|
||||
this.btnRefresh.Text = "刷新";
|
||||
this.btnRefresh.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// frmCustomerList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(855, 375);
|
||||
this.Controls.Add(this.btnRefresh);
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.grdData);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "frmCustomerList";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "人脸机同步状态";
|
||||
this.Load += new System.EventHandler(this.frmFace_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdData)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView grdData;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
}
|
||||
}
|
||||
185
frmCustomerList.cs
Normal file
185
frmCustomerList.cs
Normal file
@@ -0,0 +1,185 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Net;
|
||||
using System.IO;
|
||||
|
||||
namespace WinFormTest
|
||||
{
|
||||
public partial class frmCustomerList : Form
|
||||
{
|
||||
syncstatus.syncstatusSoapClient client = new syncstatus.syncstatusSoapClient();
|
||||
long _checkInID;
|
||||
|
||||
public frmCustomerList(long checkInID)
|
||||
{
|
||||
InitializeComponent();
|
||||
_checkInID = checkInID;
|
||||
|
||||
btnRefresh.Click += new EventHandler(btnRefresh_Click);
|
||||
btnClose.Click += new EventHandler(btnClose_Click);
|
||||
//grdData.CellContentClick += new DataGridViewCellEventHandler(grdData_CellContentClick);
|
||||
grdData.CellFormatting += new DataGridViewCellFormattingEventHandler(grdData_CellFormatting);
|
||||
grdData.CellDoubleClick += new DataGridViewCellEventHandler(grdData_CellDoubleClick);
|
||||
}
|
||||
|
||||
void grdData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex == 6)
|
||||
{
|
||||
System.Diagnostics.Process.Start("iexplore.exe", grdData.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
void grdData_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
if (grdData.Columns[e.ColumnIndex].Name.Equals("PhotoUrl"))
|
||||
{
|
||||
e.Value = new Bitmap(GetImage(e.Value.ToString()));
|
||||
}
|
||||
}
|
||||
private Stream GetImage(string path)
|
||||
{
|
||||
try
|
||||
{
|
||||
WebRequest request = WebRequest.Create(path);
|
||||
WebResponse response = request.GetResponse();
|
||||
Stream str = response.GetResponseStream();
|
||||
return str;
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
throw new Exception(err.Message);
|
||||
}
|
||||
}
|
||||
|
||||
void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
LoadData();
|
||||
}
|
||||
|
||||
private void frmFace_Load(object sender, EventArgs e)
|
||||
{
|
||||
BindGridStyle();
|
||||
LoadData();
|
||||
}
|
||||
|
||||
void LoadData()
|
||||
{
|
||||
DataSet ds = client.GetRoomCustomer(_checkInID);
|
||||
foreach (DataRow row in ds.Tables[0].Rows)
|
||||
{
|
||||
switch (Convert.ToInt16(row["Status"]))
|
||||
{
|
||||
case 0:
|
||||
row["StatusName"] = "未同步";
|
||||
break;
|
||||
case 1:
|
||||
row["StatusName"] = "推送下发成功";
|
||||
break;
|
||||
case 2:
|
||||
row["StatusName"] = "推送删除成功";
|
||||
break;
|
||||
}
|
||||
row["SexName"] = Convert.ToInt16(row["Sex"]) == 0 ? "女" : "男";
|
||||
}
|
||||
grdData.DataSource = ds.Tables[0].DefaultView;
|
||||
for (int i = 0; i < grdData.Rows.Count; i++)
|
||||
{
|
||||
grdData.Rows[i].Height = 75;
|
||||
}
|
||||
}
|
||||
|
||||
void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
/// <summary>
|
||||
/// 绑定Grid样式
|
||||
/// </summary>
|
||||
private void BindGridStyle()
|
||||
{
|
||||
grdData.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.WhiteSmoke;//FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
//grdData.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
grdData.MultiSelect = false;
|
||||
grdData.AllowUserToAddRows = false;
|
||||
grdData.AutoGenerateColumns = false;
|
||||
|
||||
DataGridViewTextBoxColumn col1 = new DataGridViewTextBoxColumn();
|
||||
col1.Name = "ID";
|
||||
col1.DataPropertyName = col1.Name;
|
||||
col1.HeaderText = "ID";
|
||||
col1.Width = 60;
|
||||
//col1.Visible = false;
|
||||
grdData.Columns.Add(col1);
|
||||
|
||||
DataGridViewTextBoxColumn col100 = new DataGridViewTextBoxColumn();
|
||||
col100.Name = "StatusName";
|
||||
col100.DataPropertyName = col100.Name;
|
||||
col100.HeaderText = "状态";
|
||||
col100.Width = 80;
|
||||
grdData.Columns.Add(col100);
|
||||
|
||||
DataGridViewTextBoxColumn col11 = new DataGridViewTextBoxColumn();
|
||||
col11.Name = "IDCard";
|
||||
col11.DataPropertyName = col11.Name;
|
||||
col11.HeaderText = "身份证号";
|
||||
col11.Width = 130;
|
||||
grdData.Columns.Add(col11);
|
||||
|
||||
DataGridViewTextBoxColumn col10 = new DataGridViewTextBoxColumn();
|
||||
col10.Name = "Name";
|
||||
col10.DataPropertyName = col10.Name;
|
||||
col10.HeaderText = "姓名";
|
||||
col10.Width = 80;
|
||||
grdData.Columns.Add(col10);
|
||||
|
||||
DataGridViewTextBoxColumn col19 = new DataGridViewTextBoxColumn();
|
||||
col19.Name = "SexName";
|
||||
col19.DataPropertyName = col19.Name;
|
||||
col19.HeaderText = "性别";
|
||||
col19.Width = 40;
|
||||
grdData.Columns.Add(col19);
|
||||
|
||||
DataGridViewTextBoxColumn col9 = new DataGridViewTextBoxColumn();
|
||||
col9.Name = "Birthday";
|
||||
col9.DataPropertyName = col9.Name;
|
||||
col9.HeaderText = "出生日期";
|
||||
col9.Width = 80;
|
||||
grdData.Columns.Add(col9);
|
||||
|
||||
//DataGridViewLinkColumn col2 = new DataGridViewLinkColumn();
|
||||
//col2.Name = "PhotoUrl";
|
||||
//col2.DataPropertyName = col2.Name;
|
||||
//col2.HeaderText = "图片路径";
|
||||
//col2.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
//grdData.Columns.Add(col2);
|
||||
|
||||
DataGridViewImageColumn col22 = new DataGridViewImageColumn();
|
||||
col22.Name = "PhotoUrl";
|
||||
col22.DataPropertyName = col22.Name;
|
||||
col22.HeaderText = "图片";
|
||||
col22.ImageLayout = DataGridViewImageCellLayout.Zoom;
|
||||
grdData.Columns.Add(col22);
|
||||
|
||||
DataGridViewTextBoxColumn col3 = new DataGridViewTextBoxColumn();
|
||||
col3.Name = "CreatedDate";
|
||||
col3.DataPropertyName = col3.Name;
|
||||
col3.HeaderText = "创建日期";
|
||||
col3.Width = 100;
|
||||
grdData.Columns.Add(col3);
|
||||
|
||||
DataGridViewTextBoxColumn col5 = new DataGridViewTextBoxColumn();
|
||||
col5.Name = "ModifiedDate";
|
||||
col5.DataPropertyName = col5.Name;
|
||||
col5.HeaderText = "修改日期";
|
||||
col5.Width = 100;
|
||||
grdData.Columns.Add(col5);
|
||||
}
|
||||
}
|
||||
}
|
||||
1628
frmCustomerList.resx
Normal file
1628
frmCustomerList.resx
Normal file
File diff suppressed because it is too large
Load Diff
144
frmFace.Designer.cs
generated
Normal file
144
frmFace.Designer.cs
generated
Normal file
@@ -0,0 +1,144 @@
|
||||
namespace WinFormTest
|
||||
{
|
||||
partial class frmFace
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFace));
|
||||
this.grdData = new System.Windows.Forms.DataGridView();
|
||||
this.btnBing = new System.Windows.Forms.Button();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.btnRefresh = new System.Windows.Forms.Button();
|
||||
this.cmbHotelCode = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btnCleanBing = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdData)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// grdData
|
||||
//
|
||||
this.grdData.AllowUserToAddRows = false;
|
||||
this.grdData.AllowUserToDeleteRows = false;
|
||||
this.grdData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.grdData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.grdData.Location = new System.Drawing.Point(12, 42);
|
||||
this.grdData.Name = "grdData";
|
||||
this.grdData.ReadOnly = true;
|
||||
this.grdData.RowTemplate.Height = 23;
|
||||
this.grdData.Size = new System.Drawing.Size(831, 568);
|
||||
this.grdData.TabIndex = 2;
|
||||
//
|
||||
// btnBing
|
||||
//
|
||||
this.btnBing.Location = new System.Drawing.Point(461, 11);
|
||||
this.btnBing.Name = "btnBing";
|
||||
this.btnBing.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnBing.TabIndex = 3;
|
||||
this.btnBing.Text = "绑定房号";
|
||||
this.btnBing.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Location = new System.Drawing.Point(623, 11);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnClose.TabIndex = 4;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnRefresh
|
||||
//
|
||||
this.btnRefresh.Location = new System.Drawing.Point(380, 11);
|
||||
this.btnRefresh.Name = "btnRefresh";
|
||||
this.btnRefresh.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnRefresh.TabIndex = 5;
|
||||
this.btnRefresh.Text = "刷新";
|
||||
this.btnRefresh.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cmbHotelCode
|
||||
//
|
||||
this.cmbHotelCode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbHotelCode.FormattingEnabled = true;
|
||||
this.cmbHotelCode.Location = new System.Drawing.Point(74, 12);
|
||||
this.cmbHotelCode.Name = "cmbHotelCode";
|
||||
this.cmbHotelCode.Size = new System.Drawing.Size(300, 20);
|
||||
this.cmbHotelCode.TabIndex = 8;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(15, 16);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 7;
|
||||
this.label1.Text = "所属酒店";
|
||||
//
|
||||
// btnCleanBing
|
||||
//
|
||||
this.btnCleanBing.Location = new System.Drawing.Point(542, 11);
|
||||
this.btnCleanBing.Name = "btnCleanBing";
|
||||
this.btnCleanBing.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCleanBing.TabIndex = 9;
|
||||
this.btnCleanBing.Text = "解除绑定";
|
||||
this.btnCleanBing.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// frmFace
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(855, 622);
|
||||
this.Controls.Add(this.btnCleanBing);
|
||||
this.Controls.Add(this.cmbHotelCode);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.btnRefresh);
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.btnBing);
|
||||
this.Controls.Add(this.grdData);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "frmFace";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "人脸机管理";
|
||||
this.Load += new System.EventHandler(this.frmFace_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdData)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView grdData;
|
||||
private System.Windows.Forms.Button btnBing;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
private System.Windows.Forms.Button btnRefresh;
|
||||
private System.Windows.Forms.ComboBox cmbHotelCode;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button btnCleanBing;
|
||||
}
|
||||
}
|
||||
199
frmFace.cs
Normal file
199
frmFace.cs
Normal file
@@ -0,0 +1,199 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WinFormTest
|
||||
{
|
||||
public partial class frmFace : Form
|
||||
{
|
||||
syncstatus.syncstatusSoapClient client = new syncstatus.syncstatusSoapClient();
|
||||
private string _hotelCode;
|
||||
private int _selectedIndex = 0;
|
||||
private bool _multipleHotel;
|
||||
|
||||
public frmFace(string hotelCode, bool multipleHotel)
|
||||
{
|
||||
InitializeComponent();
|
||||
_hotelCode = hotelCode;
|
||||
_multipleHotel = multipleHotel;
|
||||
|
||||
btnRefresh.Click += new EventHandler(btnRefresh_Click);
|
||||
btnBing.Click += new EventHandler(btnBing_Click);
|
||||
btnCleanBing.Click += new EventHandler(btnCleanBing_Click);
|
||||
btnClose.Click += new EventHandler(btnClose_Click);
|
||||
grdData.CellDoubleClick += new DataGridViewCellEventHandler(grdData_CellDoubleClick);
|
||||
}
|
||||
|
||||
void grdData_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
btnBing_Click(null, null);
|
||||
}
|
||||
|
||||
void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
LoadData(cmbHotelCode.SelectedValue.ToString());
|
||||
}
|
||||
|
||||
private void frmFace_Load(object sender, EventArgs e)
|
||||
{
|
||||
BindGridStyle();
|
||||
//LoadData(_hotelCode);
|
||||
|
||||
DataSet ds = client.GetHotelCode();
|
||||
DataRow dr = ds.Tables[0].NewRow();
|
||||
dr["Code"] = "";
|
||||
dr["Remark"] = "全部酒店";
|
||||
ds.Tables[0].Rows.InsertAt(dr, 0);
|
||||
cmbHotelCode.ValueMember = "Code";
|
||||
cmbHotelCode.DisplayMember = "Remark";
|
||||
cmbHotelCode.DataSource = ds.Tables[0].DefaultView;
|
||||
cmbHotelCode.SelectedIndexChanged += new EventHandler(cmbHotelCode_SelectedIndexChanged);
|
||||
cmbHotelCode.SelectedValue = _hotelCode;
|
||||
cmbHotelCode.Enabled = _multipleHotel;
|
||||
}
|
||||
|
||||
void LoadData(string code)
|
||||
{
|
||||
DataSet dsDevices = client.GetDevices(code);
|
||||
grdData.DataSource = dsDevices.Tables[0].DefaultView;
|
||||
if (dsDevices.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
grdData.Rows[_selectedIndex].Selected = true;
|
||||
}
|
||||
}
|
||||
|
||||
void cmbHotelCode_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
_selectedIndex = 0;
|
||||
LoadData(cmbHotelCode.SelectedValue.ToString());
|
||||
}
|
||||
|
||||
void btnBing_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (grdData.SelectedRows.Count == 0)
|
||||
{
|
||||
MessageBox.Show("请选择设备记录");
|
||||
return;
|
||||
}
|
||||
DataGridViewRow row = grdData.SelectedRows[0];
|
||||
_selectedIndex = row.Index;
|
||||
frmFaceDevice frm = new frmFaceDevice((long)row.Cells["ID"].Value, row.Cells["SerialNo"].Value.ToString(),
|
||||
row.Cells["DevName"].Value.ToString(), row.Cells["HotelCode"].Value.ToString(), row.Cells["RoomNumber"].Value.ToString(),
|
||||
cmbHotelCode.SelectedValue.ToString(), _multipleHotel);
|
||||
frm.SaveEvent += new EventHandler(frm_SaveEvent);
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
void frm_SaveEvent(object sender, EventArgs e)
|
||||
{
|
||||
btnRefresh_Click(null, null);
|
||||
}
|
||||
|
||||
void btnCleanBing_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (grdData.SelectedRows.Count == 0)
|
||||
{
|
||||
MessageBox.Show("请选择设备记录");
|
||||
return;
|
||||
}
|
||||
DataGridViewRow row = grdData.SelectedRows[0];
|
||||
if (string.IsNullOrEmpty(row.Cells["HotelCode"].Value.ToString()))
|
||||
{
|
||||
MessageBox.Show("该设备尚未绑定,无需解绑");
|
||||
return;
|
||||
}
|
||||
if (MessageBox.Show("确定解除绑定吗?", "提示", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
_selectedIndex = row.Index;
|
||||
if (client.SaveDevice((long)row.Cells["ID"].Value, "", "") > 0)
|
||||
{
|
||||
MessageBox.Show("解除绑定成功");
|
||||
btnRefresh_Click(null, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("解除绑定失败");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
/// <summary>
|
||||
/// 绑定Grid样式
|
||||
/// </summary>
|
||||
private void BindGridStyle()
|
||||
{
|
||||
grdData.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.WhiteSmoke;//FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
grdData.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
grdData.MultiSelect = false;
|
||||
grdData.AllowUserToAddRows = false;
|
||||
grdData.AutoGenerateColumns = false;
|
||||
|
||||
DataGridViewTextBoxColumn col1 = new DataGridViewTextBoxColumn();
|
||||
col1.Name = "ID";
|
||||
col1.DataPropertyName = col1.Name;
|
||||
col1.HeaderText = "ID";
|
||||
col1.Width = 60;
|
||||
//col1.Visible = false;
|
||||
grdData.Columns.Add(col1);
|
||||
|
||||
DataGridViewTextBoxColumn col11 = new DataGridViewTextBoxColumn();
|
||||
col11.Name = "SerialNo";
|
||||
col11.DataPropertyName = col11.Name;
|
||||
col11.HeaderText = "设备序列号";
|
||||
col11.Width = 130;
|
||||
grdData.Columns.Add(col11);
|
||||
|
||||
DataGridViewTextBoxColumn col10 = new DataGridViewTextBoxColumn();
|
||||
col10.Name = "DevName";
|
||||
col10.DataPropertyName = col10.Name;
|
||||
col10.HeaderText = "设备名称";
|
||||
col10.Width = 80;
|
||||
grdData.Columns.Add(col10);
|
||||
|
||||
DataGridViewTextBoxColumn col19 = new DataGridViewTextBoxColumn();
|
||||
col19.Name = "HotelCode";
|
||||
col19.DataPropertyName = col19.Name;
|
||||
col19.HeaderText = "所属酒店";
|
||||
col19.Width = 180;
|
||||
col19.Visible = false;
|
||||
grdData.Columns.Add(col19);
|
||||
|
||||
DataGridViewTextBoxColumn col9 = new DataGridViewTextBoxColumn();
|
||||
col9.Name = "Remark";
|
||||
col9.DataPropertyName = col9.Name;
|
||||
col9.HeaderText = "所属酒店";
|
||||
col9.Width = 180;
|
||||
grdData.Columns.Add(col9);
|
||||
|
||||
DataGridViewTextBoxColumn col2 = new DataGridViewTextBoxColumn();
|
||||
col2.Name = "RoomNumber";
|
||||
col2.DataPropertyName = col2.Name;
|
||||
col2.HeaderText = "绑定房号";
|
||||
col2.Width = 80;
|
||||
grdData.Columns.Add(col2);
|
||||
|
||||
DataGridViewTextBoxColumn col3 = new DataGridViewTextBoxColumn();
|
||||
col3.Name = "CreatedDate";
|
||||
col3.DataPropertyName = col3.Name;
|
||||
col3.HeaderText = "创建日期";
|
||||
col3.Width = 120;
|
||||
grdData.Columns.Add(col3);
|
||||
|
||||
DataGridViewTextBoxColumn col5 = new DataGridViewTextBoxColumn();
|
||||
col5.Name = "ModifiedDate";
|
||||
col5.DataPropertyName = col5.Name;
|
||||
col5.HeaderText = "修改日期";
|
||||
col5.Width = 120;
|
||||
grdData.Columns.Add(col5);
|
||||
}
|
||||
}
|
||||
}
|
||||
1628
frmFace.resx
Normal file
1628
frmFace.resx
Normal file
File diff suppressed because it is too large
Load Diff
172
frmFaceDevice.Designer.cs
generated
Normal file
172
frmFaceDevice.Designer.cs
generated
Normal file
@@ -0,0 +1,172 @@
|
||||
namespace WinFormTest
|
||||
{
|
||||
partial class frmFaceDevice
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFaceDevice));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.txtSerialNo = new System.Windows.Forms.TextBox();
|
||||
this.txtDevName = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.txtRoomNumber = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.cmbHotels = new System.Windows.Forms.ComboBox();
|
||||
this.btnSave = new System.Windows.Forms.Button();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(23, 38);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(65, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "设备序列号";
|
||||
//
|
||||
// txtSerialNo
|
||||
//
|
||||
this.txtSerialNo.Location = new System.Drawing.Point(94, 35);
|
||||
this.txtSerialNo.Name = "txtSerialNo";
|
||||
this.txtSerialNo.ReadOnly = true;
|
||||
this.txtSerialNo.Size = new System.Drawing.Size(285, 21);
|
||||
this.txtSerialNo.TabIndex = 1;
|
||||
//
|
||||
// txtDevName
|
||||
//
|
||||
this.txtDevName.Location = new System.Drawing.Point(94, 73);
|
||||
this.txtDevName.Name = "txtDevName";
|
||||
this.txtDevName.ReadOnly = true;
|
||||
this.txtDevName.Size = new System.Drawing.Size(285, 21);
|
||||
this.txtDevName.TabIndex = 3;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(23, 73);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "设备名称";
|
||||
//
|
||||
// txtRoomNumber
|
||||
//
|
||||
this.txtRoomNumber.Location = new System.Drawing.Point(94, 142);
|
||||
this.txtRoomNumber.Name = "txtRoomNumber";
|
||||
this.txtRoomNumber.Size = new System.Drawing.Size(285, 21);
|
||||
this.txtRoomNumber.TabIndex = 5;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(23, 145);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "房 号";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(23, 109);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(53, 12);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "所属酒店";
|
||||
//
|
||||
// cmbHotels
|
||||
//
|
||||
this.cmbHotels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbHotels.FormattingEnabled = true;
|
||||
this.cmbHotels.Location = new System.Drawing.Point(94, 109);
|
||||
this.cmbHotels.Name = "cmbHotels";
|
||||
this.cmbHotels.Size = new System.Drawing.Size(285, 20);
|
||||
this.cmbHotels.TabIndex = 7;
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Location = new System.Drawing.Point(115, 192);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnSave.TabIndex = 8;
|
||||
this.btnSave.Text = "保存";
|
||||
this.btnSave.UseVisualStyleBackColor = true;
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Location = new System.Drawing.Point(216, 192);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnClose.TabIndex = 9;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// frmFaceDevice
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(406, 244);
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.btnSave);
|
||||
this.Controls.Add(this.cmbHotels);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.txtRoomNumber);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.txtDevName);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.txtSerialNo);
|
||||
this.Controls.Add(this.label1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "frmFaceDevice";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "人脸机绑定房号";
|
||||
this.Load += new System.EventHandler(this.frmFaceDevice_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox txtSerialNo;
|
||||
private System.Windows.Forms.TextBox txtDevName;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox txtRoomNumber;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.ComboBox cmbHotels;
|
||||
private System.Windows.Forms.Button btnSave;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
}
|
||||
}
|
||||
93
frmFaceDevice.cs
Normal file
93
frmFaceDevice.cs
Normal file
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WinFormTest
|
||||
{
|
||||
public partial class frmFaceDevice : Form
|
||||
{
|
||||
public event EventHandler SaveEvent;
|
||||
syncstatus.syncstatusSoapClient client = new syncstatus.syncstatusSoapClient();
|
||||
|
||||
private long _id;
|
||||
private bool _multipleHotel;
|
||||
public frmFaceDevice(long id, string serialNo, string devName, string hotelCode, string roomNumber, string curHotelCode, bool multipleHotel)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
_id = id;
|
||||
_multipleHotel = multipleHotel;
|
||||
|
||||
txtSerialNo.Text = serialNo;
|
||||
txtDevName.Text = devName;
|
||||
txtRoomNumber.Text = roomNumber;
|
||||
|
||||
DataSet ds = client.GetHotelCode();
|
||||
cmbHotels.ValueMember = "Code";
|
||||
cmbHotels.DisplayMember = "Remark";
|
||||
cmbHotels.DataSource = ds.Tables[0];
|
||||
if (string.IsNullOrEmpty(curHotelCode))
|
||||
{
|
||||
cmbHotels.SelectedValue = hotelCode;
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbHotels.SelectedValue = curHotelCode;
|
||||
}
|
||||
cmbHotels.Enabled = _multipleHotel;
|
||||
}
|
||||
|
||||
private void frmFaceDevice_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbHotels.SelectedIndex < 0)
|
||||
{
|
||||
MessageBox.Show("请选择所属酒店");
|
||||
cmbHotels.Focus();
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(txtRoomNumber.Text.Trim()))
|
||||
{
|
||||
MessageBox.Show("请输入房号");
|
||||
txtRoomNumber.Focus();
|
||||
return;
|
||||
}
|
||||
DataSet dsDevices = client.GetDevices("");
|
||||
foreach (DataRow row in dsDevices.Tables[0].Rows)
|
||||
{
|
||||
if (row["HotelCode"].ToString() == cmbHotels.SelectedValue.ToString() &&
|
||||
row["RoomNumber"].ToString() == txtRoomNumber.Text.Trim() && row["SerialNo"].ToString() != txtSerialNo.Text)
|
||||
{
|
||||
MessageBox.Show(string.Format("该酒店客房已绑定了人脸机({0}),请先解除绑定。", row["SerialNo"].ToString()));
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (client.SaveDevice(_id, cmbHotels.SelectedValue.ToString(), txtRoomNumber.Text.Trim()) > 0)
|
||||
{
|
||||
MessageBox.Show("绑定房号成功");
|
||||
if (SaveEvent != null)
|
||||
{
|
||||
SaveEvent(this, EventArgs.Empty);
|
||||
}
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("绑定房号失败");
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
1628
frmFaceDevice.resx
Normal file
1628
frmFaceDevice.resx
Normal file
File diff suppressed because it is too large
Load Diff
192
frmMain.Designer.cs
generated
Normal file
192
frmMain.Designer.cs
generated
Normal file
@@ -0,0 +1,192 @@
|
||||
namespace WinFormTest
|
||||
{
|
||||
partial class frmMain
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.btnTongBu = new System.Windows.Forms.Button();
|
||||
this.btnFace = new System.Windows.Forms.Button();
|
||||
this.btnTest = new System.Windows.Forms.Button();
|
||||
this.cmbHotelCode = new System.Windows.Forms.ComboBox();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.btnQuery = new System.Windows.Forms.Button();
|
||||
this.txtRoomNumber = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.grdData = new System.Windows.Forms.DataGridView();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdData)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.btnTongBu);
|
||||
this.groupBox1.Controls.Add(this.btnFace);
|
||||
this.groupBox1.Controls.Add(this.btnTest);
|
||||
this.groupBox1.Controls.Add(this.cmbHotelCode);
|
||||
this.groupBox1.Controls.Add(this.btnClose);
|
||||
this.groupBox1.Controls.Add(this.btnQuery);
|
||||
this.groupBox1.Controls.Add(this.txtRoomNumber);
|
||||
this.groupBox1.Controls.Add(this.label2);
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(1041, 58);
|
||||
this.groupBox1.TabIndex = 0;
|
||||
this.groupBox1.TabStop = false;
|
||||
//
|
||||
// btnTongBu
|
||||
//
|
||||
this.btnTongBu.Location = new System.Drawing.Point(843, 22);
|
||||
this.btnTongBu.Name = "btnTongBu";
|
||||
this.btnTongBu.Size = new System.Drawing.Size(102, 23);
|
||||
this.btnTongBu.TabIndex = 9;
|
||||
this.btnTongBu.Text = "人脸机同步状态";
|
||||
this.btnTongBu.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnFace
|
||||
//
|
||||
this.btnFace.Location = new System.Drawing.Point(762, 21);
|
||||
this.btnFace.Name = "btnFace";
|
||||
this.btnFace.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnFace.TabIndex = 8;
|
||||
this.btnFace.Text = "人脸机管理";
|
||||
this.btnFace.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnTest
|
||||
//
|
||||
this.btnTest.Location = new System.Drawing.Point(600, 21);
|
||||
this.btnTest.Name = "btnTest";
|
||||
this.btnTest.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnTest.TabIndex = 7;
|
||||
this.btnTest.Text = "接口测试";
|
||||
this.btnTest.UseVisualStyleBackColor = true;
|
||||
this.btnTest.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// cmbHotelCode
|
||||
//
|
||||
this.cmbHotelCode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbHotelCode.FormattingEnabled = true;
|
||||
this.cmbHotelCode.Location = new System.Drawing.Point(48, 22);
|
||||
this.cmbHotelCode.Name = "cmbHotelCode";
|
||||
this.cmbHotelCode.Size = new System.Drawing.Size(300, 20);
|
||||
this.cmbHotelCode.TabIndex = 6;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Location = new System.Drawing.Point(681, 21);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnClose.TabIndex = 5;
|
||||
this.btnClose.Text = "关 闭";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnQuery
|
||||
//
|
||||
this.btnQuery.Location = new System.Drawing.Point(519, 21);
|
||||
this.btnQuery.Name = "btnQuery";
|
||||
this.btnQuery.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnQuery.TabIndex = 4;
|
||||
this.btnQuery.Text = "查 询";
|
||||
this.btnQuery.UseVisualStyleBackColor = true;
|
||||
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click_1);
|
||||
//
|
||||
// txtRoomNumber
|
||||
//
|
||||
this.txtRoomNumber.Location = new System.Drawing.Point(404, 22);
|
||||
this.txtRoomNumber.Name = "txtRoomNumber";
|
||||
this.txtRoomNumber.Size = new System.Drawing.Size(100, 21);
|
||||
this.txtRoomNumber.TabIndex = 3;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(369, 26);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "房号";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(13, 26);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "酒店";
|
||||
//
|
||||
// grdData
|
||||
//
|
||||
this.grdData.AllowUserToAddRows = false;
|
||||
this.grdData.AllowUserToDeleteRows = false;
|
||||
this.grdData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.grdData.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grdData.Location = new System.Drawing.Point(0, 58);
|
||||
this.grdData.Name = "grdData";
|
||||
this.grdData.ReadOnly = true;
|
||||
this.grdData.RowTemplate.Height = 23;
|
||||
this.grdData.Size = new System.Drawing.Size(1041, 584);
|
||||
this.grdData.TabIndex = 1;
|
||||
//
|
||||
// frmMain
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1041, 642);
|
||||
this.Controls.Add(this.grdData);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "frmMain";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "宝来威客控与PMS对接接口查询工具 V3";
|
||||
this.Load += new System.EventHandler(this.Form2_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.grdData)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.DataGridView grdData;
|
||||
private System.Windows.Forms.Button btnQuery;
|
||||
private System.Windows.Forms.TextBox txtRoomNumber;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
private System.Windows.Forms.ComboBox cmbHotelCode;
|
||||
private System.Windows.Forms.Button btnTest;
|
||||
private System.Windows.Forms.Button btnFace;
|
||||
private System.Windows.Forms.Button btnTongBu;
|
||||
}
|
||||
}
|
||||
226
frmMain.cs
Normal file
226
frmMain.cs
Normal file
@@ -0,0 +1,226 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WinFormTest
|
||||
{
|
||||
public partial class frmMain : Form
|
||||
{
|
||||
syncstatus.syncstatusSoapClient client = new syncstatus.syncstatusSoapClient();
|
||||
|
||||
public frmMain()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
grdData.RowPostPaint += new DataGridViewRowPostPaintEventHandler(grdData_RowPostPaint);
|
||||
btnQuery.Click += new EventHandler(btnQuery_Click);
|
||||
btnClose.Click += new EventHandler(btnClose_Click);
|
||||
btnFace.Click += new EventHandler(btnFace_Click);
|
||||
btnTongBu.Click += new EventHandler(btnTongBu_Click);
|
||||
}
|
||||
|
||||
void btnTongBu_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (grdData.SelectedRows.Count == 0)
|
||||
{
|
||||
MessageBox.Show("请选择开房记录");
|
||||
return;
|
||||
}
|
||||
DataGridViewRow row = grdData.SelectedRows[0];
|
||||
frmCustomerList frm = new frmCustomerList((long)row.Cells["ID"].Value);
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
void btnFace_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmFace frm = new frmFace(cmbHotelCode.SelectedValue.ToString(), cmbHotelCode.Enabled);
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void Form2_Load(object sender, EventArgs e)
|
||||
{
|
||||
BindGridStyle();
|
||||
try
|
||||
{
|
||||
DataSet ds = client.GetHotelCode();
|
||||
cmbHotelCode.ValueMember = "Code";
|
||||
cmbHotelCode.DisplayMember = "Remark";
|
||||
cmbHotelCode.DataSource = ds.Tables[0].DefaultView;
|
||||
|
||||
//cmbHotelCode.SelectedValue = "1486";//只用改这里就可以了 Code
|
||||
cmbHotelCode.SelectedValue = "1919";//只用改这里就可以了 Code
|
||||
cmbHotelCode.Enabled = false;
|
||||
//btnFace.Visible = btnTongBu.Visible = cmbHotelCode.Enabled = false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("获取酒店数据有误。原因:" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
void btnQuery_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(cmbHotelCode.SelectedValue.ToString()))
|
||||
{
|
||||
MessageBox.Show("请选择酒店编码!");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
DataSet ds = client.GetRoomRecord(cmbHotelCode.SelectedValue.ToString(), txtRoomNumber.Text.Trim(), "");
|
||||
grdData.DataSource = ds.Tables[0].DefaultView;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("查询数据有误。原因:" + ex.ToString());
|
||||
}
|
||||
Cursor.Current = Cursors.Default;
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(cmbHotelCode.SelectedValue.ToString()))
|
||||
{
|
||||
MessageBox.Show("请选择酒店编码!");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
DataSet ds = client.GetRoomRecord(cmbHotelCode.SelectedValue.ToString(), txtRoomNumber.Text.Trim(), "tb_RoomCheck20180908");
|
||||
grdData.DataSource = ds.Tables[0].DefaultView;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("查询数据有误。原因:" + ex.ToString());
|
||||
}
|
||||
Cursor.Current = Cursors.Default;
|
||||
}
|
||||
|
||||
void grdData_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
DataGridView grd = (DataGridView)sender;
|
||||
using (SolidBrush b = new SolidBrush(grd.RowHeadersDefaultCellStyle.ForeColor))
|
||||
{
|
||||
e.Graphics.DrawString((e.RowIndex + 1).ToString(), e.InheritedRowStyle.Font, b, e.RowBounds.Location.X + 10, e.RowBounds.Location.Y + 2);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 绑定Grid样式
|
||||
/// </summary>
|
||||
private void BindGridStyle()
|
||||
{
|
||||
grdData.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.WhiteSmoke;//FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
|
||||
grdData.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
grdData.MultiSelect = false;
|
||||
grdData.AllowUserToAddRows = false;
|
||||
grdData.AutoGenerateColumns = false;
|
||||
|
||||
DataGridViewTextBoxColumn col1 = new DataGridViewTextBoxColumn();
|
||||
col1.Name = "ID";
|
||||
col1.DataPropertyName = col1.Name;
|
||||
col1.HeaderText = "ID";
|
||||
col1.Width = 60;
|
||||
col1.Visible = true;
|
||||
grdData.Columns.Add(col1);
|
||||
|
||||
DataGridViewTextBoxColumn col2 = new DataGridViewTextBoxColumn();
|
||||
col2.Name = "RoomNumber";
|
||||
col2.DataPropertyName = col2.Name;
|
||||
col2.HeaderText = "房号";
|
||||
col2.Width = 70;
|
||||
grdData.Columns.Add(col2);
|
||||
|
||||
DataGridViewTextBoxColumn col3 = new DataGridViewTextBoxColumn();
|
||||
col3.Name = "CheckInDate";
|
||||
col3.DataPropertyName = col3.Name;
|
||||
col3.HeaderText = "PMS开房时间";
|
||||
col3.Width = 120;
|
||||
grdData.Columns.Add(col3);
|
||||
|
||||
DataGridViewCheckBoxColumn col4 = new DataGridViewCheckBoxColumn();
|
||||
col4.Name = "SyncCheckIn";
|
||||
col4.DataPropertyName = col4.Name;
|
||||
col4.HeaderText = "客控同步";
|
||||
col4.Width = 60;
|
||||
//col4.SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
grdData.Columns.Add(col4);
|
||||
|
||||
DataGridViewTextBoxColumn col5 = new DataGridViewTextBoxColumn();
|
||||
col5.Name = "CheckOutDate";
|
||||
col5.DataPropertyName = col5.Name;
|
||||
col5.HeaderText = "PMS退房时间";
|
||||
col5.Width = 120;
|
||||
grdData.Columns.Add(col5);
|
||||
|
||||
DataGridViewCheckBoxColumn col6 = new DataGridViewCheckBoxColumn();
|
||||
col6.Name = "SyncCheckOut";
|
||||
col6.DataPropertyName = col6.Name;
|
||||
col6.HeaderText = "客控同步";
|
||||
col6.Width = 60;
|
||||
//col6.SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
grdData.Columns.Add(col6);
|
||||
|
||||
DataGridViewTextBoxColumn col7 = new DataGridViewTextBoxColumn();
|
||||
col7.Name = "RentDate";
|
||||
col7.DataPropertyName = col7.Name;
|
||||
col7.HeaderText = "PMS待租时间";
|
||||
col7.Width = 120;
|
||||
grdData.Columns.Add(col7);
|
||||
|
||||
DataGridViewCheckBoxColumn col8 = new DataGridViewCheckBoxColumn();
|
||||
col8.Name = "SyncRent";
|
||||
col8.DataPropertyName = col8.Name;
|
||||
col8.HeaderText = "客控同步";
|
||||
col8.Width = 60;
|
||||
//col8.SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
grdData.Columns.Add(col8);
|
||||
|
||||
DataGridViewTextBoxColumn col9 = new DataGridViewTextBoxColumn();
|
||||
col9.Name = "PhoneNumber";
|
||||
col9.DataPropertyName = col9.Name;
|
||||
col9.HeaderText = "手机号";
|
||||
col9.Width = 90;
|
||||
grdData.Columns.Add(col9);
|
||||
|
||||
DataGridViewTextBoxColumn col11 = new DataGridViewTextBoxColumn();
|
||||
col11.Name = "IDNumber";
|
||||
col11.DataPropertyName = col11.Name;
|
||||
col11.HeaderText = "身份证号";
|
||||
col11.Width = 130;
|
||||
grdData.Columns.Add(col11);
|
||||
|
||||
DataGridViewTextBoxColumn col10 = new DataGridViewTextBoxColumn();
|
||||
col10.Name = "ValidateCode";
|
||||
col10.DataPropertyName = col10.Name;
|
||||
col10.HeaderText = "验证码";
|
||||
col10.Width = 70;
|
||||
col10.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
grdData.Columns.Add(col10);
|
||||
}
|
||||
|
||||
void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmCheckIn frm = new frmCheckIn(cmbHotelCode.SelectedValue.ToString(), txtRoomNumber.Text.Trim());
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
private void btnQuery_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
1628
frmMain.resx
Normal file
1628
frmMain.resx
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user