Commit ed05a45a authored by solho's avatar solho

報價規則及其他修改

parent fc859bb5
......@@ -163,7 +163,7 @@
</site>
<site name="WebAPI" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="D:\work\翼勝\WADE\WEB_CODE\WebAPI" />
<virtualDirectory path="/" physicalPath="D:\work\翼勝\WADE\WEB_CODE\CODE\WebAPI" />
</application>
<bindings>
<binding protocol="https" bindingInformation="*:44339:localhost" />
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace WebAPI.App_Code
{
public class CommonFunc
{
public static void aa()
{
}
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -10,7 +10,7 @@
</PropertyGroup>
<ItemGroup>
<File Include="App_Code/HelloWorldModule.cs">
<publishTime>09/30/2020 18:08:08</publishTime>
<publishTime>10/05/2020 15:02:01</publishTime>
</File>
<File Include="Areas/HelpPage/HelpPage.css">
<publishTime>06/30/2020 15:50:43</publishTime>
......@@ -382,10 +382,10 @@
<publishTime>10/19/2018 08:25:23</publishTime>
</File>
<File Include="bin/WebAPI.dll">
<publishTime>10/05/2020 11:09:54</publishTime>
<publishTime>10/14/2020 15:38:45</publishTime>
</File>
<File Include="bin/WebAPI.pdb">
<publishTime>10/05/2020 11:09:54</publishTime>
<publishTime>10/14/2020 15:38:45</publishTime>
</File>
<File Include="bin/WebGrease.dll">
<publishTime>01/23/2014 13:57:34</publishTime>
......@@ -517,7 +517,7 @@
<publishTime>06/30/2020 15:50:34</publishTime>
</File>
<File Include="Web.config">
<publishTime>10/05/2020 11:03:27</publishTime>
<publishTime>10/14/2020 15:38:46</publishTime>
</File>
</ItemGroup>
</Project>
\ No newline at end of file
......@@ -26,16 +26,16 @@
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<modules>
<add name="HelloWorldModule" type="HelloWorldModule"/>
<add name="HelloWorldModule" type="HelloWorldModule" />
</modules>
<!--<httpProtocol>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="http://120.78.73.107:8888" />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>
</httpProtocol>-->
</httpProtocol>
<staticContent>
<clientCache cacheControlCustom="public" />
</staticContent>
......
......@@ -51,6 +51,9 @@
<Reference Include="DocumentFormat.OpenXml, Version=2.7.2.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
<HintPath>packages\DocumentFormat.OpenXml.2.7.2\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="EastAsiaNumericFormatter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e1e67937c016e5b2, processorArchitecture=MSIL">
<HintPath>packages\EastAsiaNumericFormatter.1.0.0\lib\net40\EastAsiaNumericFormatter.dll</HintPath>
</Reference>
<Reference Include="ExcelDataReader, Version=3.6.0.0, Culture=neutral, PublicKeyToken=93517dbe6a4012fa, processorArchitecture=MSIL">
<HintPath>.\packages\ExcelDataReader.3.6.0\lib\net45\ExcelDataReader.dll</HintPath>
</Reference>
......@@ -136,25 +139,6 @@
<Private>True</Private>
<HintPath>.\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
</Reference>
<Reference Include="Wade.Business">
<HintPath>..\IPEasyTP\bin\Wade.Business.dll</HintPath>
</Reference>
<Reference Include="Wade.Common">
<HintPath>..\IPEasyTP\bin\Wade.Common.dll</HintPath>
</Reference>
<Reference Include="Wade.DAL">
<HintPath>..\IPEasyTP\bin\Wade.DAL.dll</HintPath>
</Reference>
<Reference Include="Wade.DataAccess, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\IPEasyTP\bin\Wade.DataAccess.dll</HintPath>
</Reference>
<Reference Include="Wade.IDAL">
<HintPath>..\IPEasyTP\bin\Wade.IDAL.dll</HintPath>
</Reference>
<Reference Include="Wade.Model">
<HintPath>..\IPEasyTP\bin\Wade.Model.dll</HintPath>
</Reference>
<Reference Include="WebGrease">
<Private>True</Private>
<HintPath>.\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
......@@ -172,6 +156,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="App_Code\HelloWorldModule.cs" />
<Content Include="App_Code\CommonFunc.cs" />
<Compile Include="App_Start\BundleConfig.cs" />
<Compile Include="App_Start\FilterConfig.cs" />
<Compile Include="App_Start\RouteConfig.cs" />
......
<?xml version="1.0"?>
<doc>
<assembly>
<name>EastAsiaNumericFormatter</name>
</assembly>
<members>
<member name="T:Microsoft.International.Formatters.EastAsiaNumericFormatter">
<summary>
提供一个格式化类,把数值型的数据转换为东亚的本地数字表示形式的字符串。
</summary>
<remarks>
这个类支持以下的东亚语言:
<list type="bullet">
<item>
简体中文
</item>
<item>
繁体中文
</item>
<item>
日语
</item>
<item>
韩语
</item>
</list>
这个类支持以下格式化字符串:
<list type="bullet">
<item>
标准格式(L):又称大写。
</item>
<item>
普通格式(Ln):又称小写。
</item>
<item>
货币格式(Lc):用来表示货币。
</item>
<item>
字译格式(Lt):以数字符号字母表示数值型数据,只支持日文。
</item>
</list>
为了解释文化和格式化组合如何工作,我们将以“12345”举例。
<list type="bullet">
<item>
简体中文
<list type="bullet">
<item>
标准:壹万贰仟叁佰肆拾伍
</item>
<item>
普通:一万二千三百四十五
</item>
<item>
货币:壹万贰仟叁佰肆拾伍
</item>
<item>
字译:抛出ArgumentException异常
</item>
</list>
</item>
<item>
繁体中文
<list type="bullet">
<item>
标准:壹萬貳仟參佰肆拾伍
</item>
<item>
普通:一萬二千三百四十五
</item>
<item>
货币:壹萬貳仟參佰肆拾伍
</item>
<item>
字译:抛出ArgumentException异常
</item>
</list>
</item>
<item>
日语
<list type="bullet">
<item>
标准:壱萬弐阡参百四拾伍
</item>
<item>
普通:一万二千三百四十五
</item>
<item>
货币:抛出ArgumentException异常
</item>
<item>
字译:一二三四五
</item>
</list>
</item>
<item>
韩语
<list type="bullet">
<item>
标准:일만 이천삼백사십오
</item>
<item>
普通:抛出ArgumentException异常
</item>
<item>
货币:일만 이천삼백사십오
</item>
<item>
字译:抛出ArgumentException异常
</item>
</list>
</item>
<item>
其他语言:抛出ArgumentException异常
</item>
</list>
被支持的数据类型,包括 double、float、int、uint、long、ulong、short、ushort、sbyte、byte和decimal。
</remarks>
<example>
以下的代码演示了一个把数值转换为东亚的本地数字表示形式的字符串的实例。
<code source = "../../Example_CS/Program.cs" lang = "cs"></code>
<code source = "../../Example_VB/Main.vb" lang = "vbnet"></code>
<code source = "../../Example_CPP/Example_CPP.cpp" lang = "cpp"></code>
</example>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.#ctor">
<summary>
初始化EastAsiaNumericFormatter类的一个新实例。
</summary>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.GetFormat(System.Type)">
<summary>
返回一个实现了ICustomFormatter接口的格式化对象。
</summary>
<remarks>
请参阅<see cref="T:Microsoft.International.Formatters.EastAsiaNumericFormatter"/>来查看使用EastAsiaNumericFormatter的实例。
</remarks>
<param name="formatType">格式类型。</param>
<returns>
如果参数formatType是<see cref="T:System.ICustomFormatter"/>,则返回formatType本身,否则返回一个空引用。
</returns>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.Format(System.String,System.Object,System.IFormatProvider)">
<summary>
将对象格式化为东亚文化表示形式。
</summary>
<remarks>
请参阅<see cref="T:Microsoft.International.Formatters.EastAsiaNumericFormatter"/>来查看使用EastAsiaNumericFormatter的实例。
</remarks>
<param name="format">格式类型。</param>
<param name="arg">将被格式化的数据。</param>
<param name="formatProvider">格式提供者。</param>
<returns>用东亚语言格式化过的本地化字符串。</returns>
<exception cref="T:System.ArgumentNullException">
format,arg或者culture是一个空引用。
</exception>
<exception cref="T:System.ArgumentException">
localFmt在此文化中不被支持。
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
arg超出范围。
</exception>
<exception cref="T:System.ArgumentException">
arg是一个无效类型。
</exception>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.FormatWithCulture(System.String,System.Object,System.IFormatProvider,System.Globalization.CultureInfo)">
<summary>
将对象格式化为指定的东亚文化表示形式。
</summary>
<remarks>
请参阅<see cref="T:Microsoft.International.Formatters.EastAsiaNumericFormatter">EastAsiaNumericFormatter</see>以获取使用EastAsiaNumericFormatter的实例。
</remarks>
<param name="format">格式类型。</param>
<param name="arg">将被格式化的数据。</param>
<param name="formatProvider">格式提供者。</param>
<param name="culture">文化类型。</param>
<returns>用东亚语言格式化过的本地化字符串。</returns>
<exception cref="T:System.ArgumentNullException">
format,arg或者culture是一个空引用。
</exception>
<exception cref="T:System.ArgumentException">
localFmt在此文化中不被支持。
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
num超出范围。
</exception>
<exception cref="T:System.ArgumentException">
arg是一个无效类型。
</exception>
</member>
</members>
</doc>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="AutoUpdSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://192.168.1.168/IPEasy/AutoUpdate/AutoUpd.asmx"
binding="basicHttpBinding" bindingConfiguration="AutoUpdSoap"
contract="AutoUpdateService.AutoUpdSoap" name="AutoUpdSoap" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WSFMSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://192.168.1.254:8066/AutoUpdate/WSFM.asmx"
binding="basicHttpBinding" bindingConfiguration="WSFMSoap"
contract="WsFM.WSFMSoap" name="WSFMSoap" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
No preview for this file type
......@@ -26,11 +26,11 @@
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<modules>
<add name="HelloWorldModule" type="HelloWorldModule"/>
<add name="HelloWorldModule" type="HelloWorldModule" />
</modules>
<!--<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="http://120.78.73.107:8888" />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
<add name="Access-Control-Allow-Credentials" value="true" />
......
No preview for this file type
......@@ -25,7 +25,7 @@ using System.Web;
if (context.Request.HttpMethod.ToUpper() == "OPTIONS")
{
context.Response.StatusCode = 200;
context.Response.End();
//context.Response.End();
}
}
}
......@@ -33,6 +33,7 @@
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>
</httpProtocol>-->
<staticContent>
......
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="AutoUpdSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://192.168.1.168/IPEasy/AutoUpdate/AutoUpd.asmx"
binding="basicHttpBinding" bindingConfiguration="AutoUpdSoap"
contract="AutoUpdateService.AutoUpdSoap" name="AutoUpdSoap" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WSFMSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://192.168.1.254:8066/AutoUpdate/WSFM.asmx"
binding="basicHttpBinding" bindingConfiguration="WSFMSoap"
contract="WsFM.WSFMSoap" name="WSFMSoap" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
......@@ -33,6 +33,7 @@
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>
</httpProtocol>-->
<staticContent>
......
......@@ -33,6 +33,7 @@
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>
</httpProtocol>-->
<staticContent>
......
7e393cda9ad7d8f49fb6c77ff39640c75ea1c48a
b6ad0612993a4bc6230d2c35172da39f4c39197d
......@@ -4,6 +4,7 @@
<package id="bootstrap" version="3.4.1" targetFramework="net46" />
<package id="ClosedXML" version="0.95.3" targetFramework="net46" />
<package id="DocumentFormat.OpenXml" version="2.7.2" targetFramework="net46" />
<package id="EastAsiaNumericFormatter" version="1.0.0" targetFramework="net46" />
<package id="ExcelDataReader" version="3.6.0" targetFramework="net46" />
<package id="ExcelDataReader.DataSet" version="3.6.0" targetFramework="net46" />
<package id="ExcelNumberFormat" version="1.0.10" targetFramework="net46" />
......
<?xml version="1.0"?>
<doc>
<assembly>
<name>EastAsiaNumericFormatter</name>
</assembly>
<members>
<member name="T:Microsoft.International.Formatters.EastAsiaNumericFormatter">
<summary>
提供一个格式化类,把数值型的数据转换为东亚的本地数字表示形式的字符串。
</summary>
<remarks>
这个类支持以下的东亚语言:
<list type="bullet">
<item>
简体中文
</item>
<item>
繁体中文
</item>
<item>
日语
</item>
<item>
韩语
</item>
</list>
这个类支持以下格式化字符串:
<list type="bullet">
<item>
标准格式(L):又称大写。
</item>
<item>
普通格式(Ln):又称小写。
</item>
<item>
货币格式(Lc):用来表示货币。
</item>
<item>
字译格式(Lt):以数字符号字母表示数值型数据,只支持日文。
</item>
</list>
为了解释文化和格式化组合如何工作,我们将以“12345”举例。
<list type="bullet">
<item>
简体中文
<list type="bullet">
<item>
标准:壹万贰仟叁佰肆拾伍
</item>
<item>
普通:一万二千三百四十五
</item>
<item>
货币:壹万贰仟叁佰肆拾伍
</item>
<item>
字译:抛出ArgumentException异常
</item>
</list>
</item>
<item>
繁体中文
<list type="bullet">
<item>
标准:壹萬貳仟參佰肆拾伍
</item>
<item>
普通:一萬二千三百四十五
</item>
<item>
货币:壹萬貳仟參佰肆拾伍
</item>
<item>
字译:抛出ArgumentException异常
</item>
</list>
</item>
<item>
日语
<list type="bullet">
<item>
标准:壱萬弐阡参百四拾伍
</item>
<item>
普通:一万二千三百四十五
</item>
<item>
货币:抛出ArgumentException异常
</item>
<item>
字译:一二三四五
</item>
</list>
</item>
<item>
韩语
<list type="bullet">
<item>
标准:일만 이천삼백사십오
</item>
<item>
普通:抛出ArgumentException异常
</item>
<item>
货币:일만 이천삼백사십오
</item>
<item>
字译:抛出ArgumentException异常
</item>
</list>
</item>
<item>
其他语言:抛出ArgumentException异常
</item>
</list>
被支持的数据类型,包括 double、float、int、uint、long、ulong、short、ushort、sbyte、byte和decimal。
</remarks>
<example>
以下的代码演示了一个把数值转换为东亚的本地数字表示形式的字符串的实例。
<code source = "../../Example_CS/Program.cs" lang = "cs"></code>
<code source = "../../Example_VB/Main.vb" lang = "vbnet"></code>
<code source = "../../Example_CPP/Example_CPP.cpp" lang = "cpp"></code>
</example>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.#ctor">
<summary>
初始化EastAsiaNumericFormatter类的一个新实例。
</summary>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.GetFormat(System.Type)">
<summary>
返回一个实现了ICustomFormatter接口的格式化对象。
</summary>
<remarks>
请参阅<see cref="T:Microsoft.International.Formatters.EastAsiaNumericFormatter"/>来查看使用EastAsiaNumericFormatter的实例。
</remarks>
<param name="formatType">格式类型。</param>
<returns>
如果参数formatType是<see cref="T:System.ICustomFormatter"/>,则返回formatType本身,否则返回一个空引用。
</returns>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.Format(System.String,System.Object,System.IFormatProvider)">
<summary>
将对象格式化为东亚文化表示形式。
</summary>
<remarks>
请参阅<see cref="T:Microsoft.International.Formatters.EastAsiaNumericFormatter"/>来查看使用EastAsiaNumericFormatter的实例。
</remarks>
<param name="format">格式类型。</param>
<param name="arg">将被格式化的数据。</param>
<param name="formatProvider">格式提供者。</param>
<returns>用东亚语言格式化过的本地化字符串。</returns>
<exception cref="T:System.ArgumentNullException">
format,arg或者culture是一个空引用。
</exception>
<exception cref="T:System.ArgumentException">
localFmt在此文化中不被支持。
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
arg超出范围。
</exception>
<exception cref="T:System.ArgumentException">
arg是一个无效类型。
</exception>
</member>
<member name="M:Microsoft.International.Formatters.EastAsiaNumericFormatter.FormatWithCulture(System.String,System.Object,System.IFormatProvider,System.Globalization.CultureInfo)">
<summary>
将对象格式化为指定的东亚文化表示形式。
</summary>
<remarks>
请参阅<see cref="T:Microsoft.International.Formatters.EastAsiaNumericFormatter">EastAsiaNumericFormatter</see>以获取使用EastAsiaNumericFormatter的实例。
</remarks>
<param name="format">格式类型。</param>
<param name="arg">将被格式化的数据。</param>
<param name="formatProvider">格式提供者。</param>
<param name="culture">文化类型。</param>
<returns>用东亚语言格式化过的本地化字符串。</returns>
<exception cref="T:System.ArgumentNullException">
format,arg或者culture是一个空引用。
</exception>
<exception cref="T:System.ArgumentException">
localFmt在此文化中不被支持。
</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
num超出范围。
</exception>
<exception cref="T:System.ArgumentException">
arg是一个无效类型。
</exception>
</member>
</members>
</doc>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment