1
This commit is contained in:
commit
cecb662375
BIN
MESEAI/.vs/MESEAI/v16/.suo
Normal file
BIN
MESEAI/.vs/MESEAI/v16/.suo
Normal file
Binary file not shown.
186
MESEAI/EAICws/EAICws/EAIws_C.csproj
Normal file
186
MESEAI/EAICws/EAICws/EAIws_C.csproj
Normal file
@ -0,0 +1,186 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{74B7676A-6420-0784-301F-696024D2A8D7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>EAIws_C</RootNamespace>
|
||||
<AssemblyName>EAIws_C</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>Windows</MyType>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
<TargetFrameworkProfile />
|
||||
<DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>..\..\..\MES_S_DLL\</OutputPath>
|
||||
<DocumentationFile>..\..\..\MES_S_DLL\EAIws_C.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DocumentationFile>bin\Release\EAIws_C.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Apache.NMS, Version=1.7.1.3894, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\Apache.NMS.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Apache.NMS.ActiveMQ, Version=1.7.2.4108, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\Apache.NMS.ActiveMQ.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="API_Base">
|
||||
<HintPath>..\..\..\..\..\..\项目环境\SHLQ_C20260316\DefaultSite\MESws_API\bin\API_Base.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\BouncyCastle.Crypto.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EAIws, Version=6.0.3.1, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\EAIws.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EAIws_C, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\EAIws_C.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="iMESAppSetting, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\iMESAppSetting.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESCIOC, Version=0.0.0.0, Culture=neutral, PublicKeyToken=3ad2cfbf6a289680, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\iMESCIOC.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="iMESConst, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\iMESConst.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="kcMTL, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\环境\MESws_EAI\bin\kcMTL.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcOE, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\环境\MESws_EAI\bin\kcOE.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcPRD, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\..\环境\MESws_EAI\bin\kcPRD.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="iMESCIO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3ad2cfbf6a289680, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\iMESCIO.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESException, Version=6.0.0.0, Culture=neutral, PublicKeyToken=3ad2cfbf6a289680, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\iMESException.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\Newtonsoft.Json.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="tcEAI, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\tcEAI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="tcEAI_C, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\MES_S_DLL\tcEAI_C.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="modEAP.cs" />
|
||||
<Compile Include="modERP.cs" />
|
||||
<Compile Include="modERPIntegrate.cs" />
|
||||
<Compile Include="modKMI.cs" />
|
||||
<Compile Include="modWS.cs" />
|
||||
<Compile Include="My Project\AssemblyInfo.cs" />
|
||||
<Compile Include="My Project\Application.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>EAIws_C.My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</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>
|
||||
6
MESEAI/EAICws/EAICws/EAIws_C.csproj.user
Normal file
6
MESEAI/EAICws/EAICws/EAIws_C.csproj.user
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ReferencePath>D:\iMES\LQ\环境\DefaultSite\MESws_API\bin\</ReferencePath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
11
MESEAI/EAICws/EAICws/My Project/Application.Designer.cs
generated
Normal file
11
MESEAI/EAICws/EAICws/My Project/Application.Designer.cs
generated
Normal file
@ -0,0 +1,11 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 這段程式碼是由工具產生的。
|
||||
// 執行階段版本:4.0.30319.42000
|
||||
//
|
||||
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
||||
// 變更將會遺失。
|
||||
// </auto-generated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
10
MESEAI/EAICws/EAICws/My Project/Application.myapp
Normal file
10
MESEAI/EAICws/EAICws/My Project/Application.myapp
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>false</MySubMain>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>1</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
||||
35
MESEAI/EAICws/EAICws/My Project/AssemblyInfo.cs
Normal file
35
MESEAI/EAICws/EAICws/My Project/AssemblyInfo.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 組件的一般資訊是由下列的屬性集控制。
|
||||
// 變更這些屬性的值即可修改組件的相關
|
||||
// 資訊。
|
||||
|
||||
// 檢閱組件屬性的值
|
||||
|
||||
[assembly: AssemblyTitle("EAIws_C")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EAICws")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
|
||||
[assembly: Guid("968ccd3c-116a-41ae-97a1-bd5dafb45d36")]
|
||||
|
||||
// 組件的版本資訊由下列四個值所組成:
|
||||
//
|
||||
// 主要版本
|
||||
// 次要版本
|
||||
// 組建編號
|
||||
// 修訂編號
|
||||
//
|
||||
// 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號
|
||||
// 指定為預設值:
|
||||
// <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
117
MESEAI/EAICws/EAICws/My Project/Resources.resx
Normal file
117
MESEAI/EAICws/EAICws/My Project/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>
|
||||
88
MESEAI/EAICws/EAICws/My Project/Settings.Designer.cs
generated
Normal file
88
MESEAI/EAICws/EAICws/My Project/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,88 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 這段程式碼是由工具產生的。
|
||||
// 執行階段版本:4.0.30319.42000
|
||||
//
|
||||
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
||||
// 變更將會遺失。
|
||||
// </auto-generated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
using System.Diagnostics;
|
||||
using Microsoft.VisualBasic;
|
||||
|
||||
|
||||
namespace EAIws_C.My
|
||||
{
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGenerated()]
|
||||
[System.CodeDom.Compiler.GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal sealed partial class MySettings : System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static MySettings defaultInstance = (MySettings)Synchronized(new MySettings());
|
||||
|
||||
#region My.Settings 自動儲存功能
|
||||
/* TODO ERROR: Skipped IfDirectiveTrivia
|
||||
#If _MyType = "WindowsForms" Then
|
||||
*//* TODO ERROR: Skipped DisabledTextTrivia
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
*//* TODO ERROR: Skipped EndIfDirectiveTrivia
|
||||
#End If
|
||||
*/
|
||||
#endregion
|
||||
|
||||
public static MySettings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
|
||||
/* TODO ERROR: Skipped IfDirectiveTrivia
|
||||
#If _MyType = "WindowsForms" Then
|
||||
*//* TODO ERROR: Skipped DisabledTextTrivia
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
*//* TODO ERROR: Skipped EndIfDirectiveTrivia
|
||||
#End If
|
||||
*/
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace EAIws_C.My
|
||||
{
|
||||
|
||||
[HideModuleName()]
|
||||
[DebuggerNonUserCode()]
|
||||
[System.Runtime.CompilerServices.CompilerGenerated()]
|
||||
internal static class MySettingsProperty
|
||||
{
|
||||
|
||||
[System.ComponentModel.Design.HelpKeyword("My.Settings")]
|
||||
internal static MySettings Settings
|
||||
{
|
||||
get
|
||||
{
|
||||
return MySettings.Default;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
MESEAI/EAICws/EAICws/My Project/Settings.settings
Normal file
7
MESEAI/EAICws/EAICws/My Project/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)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
1221
MESEAI/EAICws/EAICws/modEAP.cs
Normal file
1221
MESEAI/EAICws/EAICws/modEAP.cs
Normal file
File diff suppressed because it is too large
Load Diff
4495
MESEAI/EAICws/EAICws/modERP.cs
Normal file
4495
MESEAI/EAICws/EAICws/modERP.cs
Normal file
File diff suppressed because it is too large
Load Diff
16
MESEAI/EAICws/EAICws/modERPIntegrate.cs
Normal file
16
MESEAI/EAICws/EAICws/modERPIntegrate.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using tcEAI_C;
|
||||
using iMESCore.Settings;
|
||||
|
||||
namespace EAIws_C
|
||||
{
|
||||
|
||||
static class modERPIntegrate
|
||||
{
|
||||
|
||||
public static string strService = "ERPIntegrate";
|
||||
public static string strDataBaseType;
|
||||
public static string strConnectionString;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
37
MESEAI/EAICws/EAICws/modKMI.cs
Normal file
37
MESEAI/EAICws/EAICws/modKMI.cs
Normal file
@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Xml;
|
||||
|
||||
namespace EAIws_C
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
static class modKMI
|
||||
{
|
||||
|
||||
private static string strService = "KMI";
|
||||
|
||||
private static string RequestKey = string.Empty;
|
||||
private static string AccountID = string.Empty;
|
||||
private static string SeesionID = string.Empty;
|
||||
public const string SuccessCode = "0";
|
||||
|
||||
public static void GetXMLHeaderNode(XmlDocument xmlDoc)
|
||||
{
|
||||
|
||||
if (xmlDoc.SelectNodes("request").Item(0).SelectNodes("host").Count != 0)
|
||||
{
|
||||
AccountID = ((XmlElement)xmlDoc.SelectNodes("request").Item(0).SelectNodes("host").Item(0)).GetAttribute("acct");
|
||||
if (string.IsNullOrEmpty(AccountID))
|
||||
throw new Exception("GetXMLHeaderNode fail!", new Exception("acct is Empty!"));
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception("GetXMLHeaderNode fail!", new Exception("acct is not found!"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
1494
MESEAI/EAICws/EAICws/modWS.cs
Normal file
1494
MESEAI/EAICws/EAICws/modWS.cs
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")]
|
||||
Binary file not shown.
Binary file not shown.
4
MESEAI/EAICws/EAICws/packages.config
Normal file
4
MESEAI/EAICws/EAICws/packages.config
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="BouncyCastle" version="1.8.9" targetFramework="net462" />
|
||||
</packages>
|
||||
275
MESEAI/EAItc/EAItc_C.csproj
Normal file
275
MESEAI/EAItc/EAItc_C.csproj
Normal file
@ -0,0 +1,275 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{443394E0-F618-0D60-04C0-E207199604A2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>tcEAI_C</RootNamespace>
|
||||
<AssemblyName>tcEAI_C</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>Windows</MyType>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
<SccLocalPath>SAK</SccLocalPath>
|
||||
<SccAuxPath>SAK</SccAuxPath>
|
||||
<SccProvider>SAK</SccProvider>
|
||||
<TargetFrameworkProfile />
|
||||
<DefaultItemExcludes>$(DefaultItemExcludes);$(ProjectDir)**\*.vb</DefaultItemExcludes>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>..\..\MES_S_DLL\</OutputPath>
|
||||
<DocumentationFile>..\..\MES_S_DLL\tcEAI_C.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\MES_S_DLL\</OutputPath>
|
||||
<DocumentationFile>..\..\MES_S_DLL\tcEAI_C.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Apache.NMS, Version=1.7.1.3894, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\Apache.NMS.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Apache.NMS.ActiveMQ, Version=1.7.2.4108, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\Apache.NMS.ActiveMQ.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\BouncyCastle.Crypto.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="data_access_service, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\data_access_service.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESAppSetting, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESAppSetting.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESCIOC, Version=0.0.0.0, Culture=neutral, PublicKeyToken=3ad2cfbf6a289680, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESCIOC.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="iMESComSubroutine, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESComSubroutine.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESComXML, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESComXML.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESConst, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESConst.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESUserManager, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\环境\MESws_API\bin\iMESUserManager.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="iMESWIPReleaseLogHandler, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESWIPReleaseLogHandler.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcEAP, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\环境\MESws_API\bin\kcEAP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcEMS, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\环境\MESws_API\bin\kcEMS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcENT, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\\kcENT.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcEQP, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\kcEQP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcOE, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\\kcOE.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcOP, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\\kcOP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcSMD, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\\kcSMD.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcSYS, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\\kcSYS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcUSR, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\环境\MESws_API\bin\kcUSR.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcWIP, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\kcWIP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="iMESCIO">
|
||||
<HintPath>..\..\MES_S_DLL\iMESCIO.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESDataObject">
|
||||
<HintPath>..\..\MES_S_DLL\iMESDataObject.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESException">
|
||||
<HintPath>..\..\MES_S_DLL\iMESException.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="iMESLog, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\iMESLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="kcMTL">
|
||||
<HintPath>..\..\MES_S_DLL\kcMTL.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="kcPRD">
|
||||
<HintPath>..\..\MES_S_DLL\kcPRD.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="kcQC">
|
||||
<HintPath>..\..\MES_S_DLL\kcQC.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="kcSPC">
|
||||
<HintPath>..\..\MES_S_DLL\kcSPC.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="tcEAI, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\tcEAI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="tcSPC_IC, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\tcSPC_IC.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="tcWIP_IC, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\tcWIP_IC.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="udReverse, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\udReverse.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="udSPC, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\udSPC.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="udSYS, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\udSYS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="udSYS_Customer, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\udSYS_Customer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="udUnitTransferFunction, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\\udUnitTransferFunction.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="udWIP, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\MES_S_DLL\udWIP.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
<Import Include="System.Threading.Tasks" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="clsCom.cs" />
|
||||
<Compile Include="clsEAP.cs" />
|
||||
<Compile Include="clsERP.cs" />
|
||||
<Compile Include="clsMDS.cs" />
|
||||
<Compile Include="clsOE.cs" />
|
||||
<Compile Include="clsSPC.cs" />
|
||||
<Compile Include="My Project\AssemblyInfo.cs" />
|
||||
<Compile Include="My Project\Application.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>tcEAI_C.My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</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>
|
||||
6
MESEAI/EAItc/EAItc_C.csproj.user
Normal file
6
MESEAI/EAItc/EAItc_C.csproj.user
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ReferencePath>D:\iMES\LQ\环境\DefaultSite\MESws_STD\bin\</ReferencePath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
11
MESEAI/EAItc/My Project/Application.Designer.cs
generated
Normal file
11
MESEAI/EAItc/My Project/Application.Designer.cs
generated
Normal file
@ -0,0 +1,11 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 這段程式碼是由工具產生的。
|
||||
// 執行階段版本:4.0.30319.42000
|
||||
//
|
||||
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
||||
// 變更將會遺失。
|
||||
// </auto-generated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
10
MESEAI/EAItc/My Project/Application.myapp
Normal file
10
MESEAI/EAItc/My Project/Application.myapp
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>false</MySubMain>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>1</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
||||
35
MESEAI/EAItc/My Project/AssemblyInfo.cs
Normal file
35
MESEAI/EAItc/My Project/AssemblyInfo.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 組件的一般資訊是由下列的屬性集控制。
|
||||
// 變更這些屬性的值即可修改組件的相關
|
||||
// 資訊。
|
||||
|
||||
// 檢閱組件屬性的值
|
||||
|
||||
[assembly: AssemblyTitle("EAItc_C")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EAItc")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
|
||||
[assembly: Guid("c6f5bc9b-8482-4694-8df4-0b0a3f7b9707")]
|
||||
|
||||
// 組件的版本資訊由下列四個值所組成:
|
||||
//
|
||||
// 主要版本
|
||||
// 次要版本
|
||||
// 組建編號
|
||||
// 修訂編號
|
||||
//
|
||||
// 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號
|
||||
// 指定為預設值:
|
||||
// <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
117
MESEAI/EAItc/My Project/Resources.resx
Normal file
117
MESEAI/EAItc/My Project/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>
|
||||
88
MESEAI/EAItc/My Project/Settings.Designer.cs
generated
Normal file
88
MESEAI/EAItc/My Project/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,88 @@
|
||||
// ------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 這段程式碼是由工具產生的。
|
||||
// 執行階段版本:4.0.30319.42000
|
||||
//
|
||||
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
|
||||
// 變更將會遺失。
|
||||
// </auto-generated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
using System.Diagnostics;
|
||||
using Microsoft.VisualBasic;
|
||||
|
||||
|
||||
namespace tcEAI_C.My
|
||||
{
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGenerated()]
|
||||
[System.CodeDom.Compiler.GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal sealed partial class MySettings : System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static MySettings defaultInstance = (MySettings)Synchronized(new MySettings());
|
||||
|
||||
#region My.Settings 自動儲存功能
|
||||
/* TODO ERROR: Skipped IfDirectiveTrivia
|
||||
#If _MyType = "WindowsForms" Then
|
||||
*//* TODO ERROR: Skipped DisabledTextTrivia
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
*//* TODO ERROR: Skipped EndIfDirectiveTrivia
|
||||
#End If
|
||||
*/
|
||||
#endregion
|
||||
|
||||
public static MySettings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
|
||||
/* TODO ERROR: Skipped IfDirectiveTrivia
|
||||
#If _MyType = "WindowsForms" Then
|
||||
*//* TODO ERROR: Skipped DisabledTextTrivia
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
*//* TODO ERROR: Skipped EndIfDirectiveTrivia
|
||||
#End If
|
||||
*/
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace tcEAI_C.My
|
||||
{
|
||||
|
||||
[HideModuleName()]
|
||||
[DebuggerNonUserCode()]
|
||||
[System.Runtime.CompilerServices.CompilerGenerated()]
|
||||
internal static class MySettingsProperty
|
||||
{
|
||||
|
||||
[System.ComponentModel.Design.HelpKeyword("My.Settings")]
|
||||
internal static MySettings Settings
|
||||
{
|
||||
get
|
||||
{
|
||||
return MySettings.Default;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
MESEAI/EAItc/My Project/Settings.settings
Normal file
7
MESEAI/EAItc/My Project/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)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
340
MESEAI/EAItc/clsCom.cs
Normal file
340
MESEAI/EAItc/clsCom.cs
Normal file
@ -0,0 +1,340 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using Apache.NMS;
|
||||
using Microsoft.VisualBasic;
|
||||
|
||||
namespace tcEAI_C
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 20211027 13871,共用功能
|
||||
/// </summary>
|
||||
public class clsCom
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 20211027 13871,Reflection方法
|
||||
/// </summary>
|
||||
/// <param name="strComponent">DLL Name</param>
|
||||
/// <param name="strClassName">Class Name</param>
|
||||
/// <param name="strMethodName">Function Name</param>
|
||||
/// <param name="mi"></param>
|
||||
/// <param name="obj"></param>
|
||||
/// <returns></returns>
|
||||
public static bool DetermineCustomized_Constructor(string strComponent, string strClassName, string strMethodName, ref MethodInfo mi, ref object obj)
|
||||
{
|
||||
bool DetermineCustomized_ConstructorRet = default(bool);
|
||||
bool blnResult = false;
|
||||
|
||||
DetermineCustomized_ConstructorRet = false;
|
||||
try
|
||||
{
|
||||
blnResult = DetermineMethod_Constructor(strComponent, strClassName, strMethodName, ref mi, ref obj);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
|
||||
finally
|
||||
{
|
||||
DetermineCustomized_ConstructorRet = blnResult;
|
||||
}
|
||||
|
||||
return DetermineCustomized_ConstructorRet;
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 20211027 13871,Reflection找出Method
|
||||
/// </summary>
|
||||
public static bool DetermineMethod_Constructor(string strComponent, string strClassName, string strMethodName, ref MethodInfo mi, ref object obj)
|
||||
{
|
||||
string strAppBase = AppDomain.CurrentDomain.BaseDirectory;
|
||||
string strFilePath = "";
|
||||
Assembly mainAssembly;
|
||||
Type t;
|
||||
Type[] argumentTypes;
|
||||
ConstructorInfo ctor;
|
||||
|
||||
MethodInfo[] aryMethos;
|
||||
|
||||
try
|
||||
{
|
||||
strFilePath = strAppBase.TrimEnd('\\') + @"\bin\" + strComponent;
|
||||
mainAssembly = Assembly.LoadFrom(strFilePath);
|
||||
t = mainAssembly.GetType(mainAssembly.GetName().Name + "." + strClassName, true, true);
|
||||
// 20211211 13871,支援Module
|
||||
if (t.GetConstructors().Length > 0)
|
||||
{
|
||||
argumentTypes = Type.EmptyTypes;
|
||||
ctor = t.GetConstructor(argumentTypes);
|
||||
obj = ctor.Invoke(new object[] { });
|
||||
}
|
||||
strMethodName = Strings.Replace(strMethodName, ".", "_");
|
||||
aryMethos = t.GetMethods();
|
||||
foreach (MethodInfo item in aryMethos)
|
||||
{
|
||||
if ((strMethodName.ToUpper() ?? "") == (item.Name.ToUpper() ?? ""))
|
||||
{
|
||||
mi = item;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (mi == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 20211027 13871,取得Method的參數預設值陣列
|
||||
/// </summary>
|
||||
/// <param name="strComponent">DLL Name,可不傳副檔名,會自動補.dll</param>
|
||||
/// <param name="strClassName">Class Name</param>
|
||||
/// <param name="strMethodName">Method Name</param>
|
||||
/// <returns></returns>
|
||||
public static object[] funGetMethodParameters(string strComponent, string strClassName, string strMethodName)
|
||||
{
|
||||
object[] funGetMethodParametersRet = default(object[]);
|
||||
try
|
||||
{
|
||||
var mi = default(MethodInfo);
|
||||
var obj = default(object);
|
||||
if (!strComponent.ToUpper().Contains(".DLL"))
|
||||
{
|
||||
strComponent = strComponent + ".dll";
|
||||
}
|
||||
|
||||
if (!DetermineCustomized_Constructor(strComponent, strClassName, strMethodName, ref mi, ref obj))
|
||||
{
|
||||
throw new iMESException.MESException("0000-200003", strComponent + "." + strClassName + "," + strMethodName + " [%METHOD%] [%NOT FOUND%]");
|
||||
}
|
||||
|
||||
int iParameterLength = mi.GetParameters().Length;
|
||||
var aryParameter = new object[iParameterLength];
|
||||
for (int i = 0, loopTo = mi.GetParameters().Length - 1; i <= loopTo; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
aryParameter[i] = mi.GetParameters()[i].DefaultValue;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
if (mi.GetParameters()[i].ParameterType == typeof(DateTime))
|
||||
aryParameter[i] = default(DateTime);
|
||||
else
|
||||
throw;
|
||||
}
|
||||
}
|
||||
funGetMethodParametersRet = aryParameter;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
||||
return funGetMethodParametersRet;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 20211027 13871,執行指定DLL、Class、Method,無法執行多載Method
|
||||
/// </summary>
|
||||
/// <param name="strComponent">DLL Name,可不傳副檔名,會自動補.dll</param>
|
||||
/// <param name="strClassName">Class Name</param>
|
||||
/// <param name="strMethodName">Method Name</param>
|
||||
/// <param name="aryParameters"></param>
|
||||
public static object funExecuteMethod(string strComponent, string strClassName, string strMethodName, ref object[] aryParameters)
|
||||
{
|
||||
object funExecuteMethodRet = default(object);
|
||||
try
|
||||
{
|
||||
var mi = default(MethodInfo);
|
||||
var obj = default(object);
|
||||
if (!strComponent.ToUpper().Contains(".DLL"))
|
||||
{
|
||||
strComponent = strComponent + ".dll";
|
||||
}
|
||||
|
||||
if (!DetermineCustomized_Constructor(strComponent, strClassName, strMethodName, ref mi, ref obj))
|
||||
{
|
||||
throw new iMESException.MESException("0000-200003", strComponent + "." + strClassName + "," + strMethodName + " [%METHOD%] [%NOT FOUND%]");
|
||||
}
|
||||
|
||||
funExecuteMethodRet = mi.Invoke(obj, aryParameters);
|
||||
}
|
||||
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex = funGetRealException(ex);
|
||||
throw ex;
|
||||
}
|
||||
|
||||
return funExecuteMethodRet;
|
||||
}
|
||||
|
||||
// 20211208 13871,從clsEAP移植
|
||||
public static Exception funGetRealException(Exception ex)
|
||||
{
|
||||
Exception funGetRealExceptionRet = default(Exception);
|
||||
try
|
||||
{
|
||||
funGetRealExceptionRet = ex;
|
||||
|
||||
if (ex is TargetInvocationException && ex.InnerException != null)
|
||||
{
|
||||
funGetRealExceptionRet = funGetRealException(ex.InnerException);
|
||||
}
|
||||
}
|
||||
catch (Exception ex2)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
||||
return funGetRealExceptionRet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#region --- Combine Input Xml ---
|
||||
|
||||
|
||||
public static string CombineXMLIdentity(ref string TransactionID, ref string ModuleID, ref string FunctionID, ref string ComputerName, ref string CurUserNo, ref string SendTime)
|
||||
{
|
||||
string CombineXMLIdentityRet = default(string);
|
||||
CombineXMLIdentityRet = "<transactionid>" + TransactionID + "</transactionid>" + "<moduleid>" + ModuleID + "</moduleid>" + "<functionid>" + FunctionID + "</functionid>" + "<computername>" + ComputerName + "</computername>" + "<curuserno>" + CurUserNo + "</curuserno>" + "<sendtime>" + SendTime + "</sendtime>";
|
||||
return CombineXMLIdentityRet;
|
||||
}
|
||||
|
||||
public static string CombineXMLParameter(ref string value_name, ref string name, ref string type, ref string value, ref string desc)
|
||||
{
|
||||
string CombineXMLParameterRet = default(string);
|
||||
|
||||
CombineXMLParameterRet = "<" + value_name.ToLower() + ">" + "<name>" + name + "</name>" + "<type>" + type + "</type>" + "<value>" + value + "</value>" + "<desc>" + desc + "</desc>" + "</" + value_name.ToLower() + ">";
|
||||
return CombineXMLParameterRet;
|
||||
|
||||
}
|
||||
|
||||
public static string CombineXMLParameter(ref string name, ref string type, ref string value, ref string desc)
|
||||
{
|
||||
string CombineXMLParameterRet = default(string);
|
||||
CombineXMLParameterRet = "<" + name.ToLower() + ">" + "<name>" + name + "</name>" + "<type>" + type + "</type>" + "<value>" + value + "</value>" + "<desc>" + desc + "</desc>" + "</" + name.ToLower() + ">";
|
||||
return CombineXMLParameterRet;
|
||||
}
|
||||
|
||||
public static string CombineXMLValue(ref string TagName, ref string Value)
|
||||
{
|
||||
string CombineXMLValueRet = default(string);
|
||||
CombineXMLValueRet = "<" + TagName + ">" + Value + "</" + TagName + ">";
|
||||
return CombineXMLValueRet;
|
||||
}
|
||||
|
||||
public static string CombineXMLValueTag(ref string Value)
|
||||
{
|
||||
string CombineXMLValueTagRet = default(string);
|
||||
CombineXMLValueTagRet = "<value>" + Value + "</value>";
|
||||
return CombineXMLValueTagRet;
|
||||
}
|
||||
|
||||
public static string CombineXMLRequest(ref string strIdentity, ref string strParameter)
|
||||
{
|
||||
string CombineXMLRequestRet = default(string);
|
||||
|
||||
CombineXMLRequestRet = "<request>" + "<identity>" + strIdentity + "</identity>";
|
||||
if (!string.IsNullOrEmpty(strParameter))
|
||||
{
|
||||
CombineXMLRequestRet = CombineXMLRequestRet + "<parameter>" + strParameter + "</parameter>";
|
||||
}
|
||||
CombineXMLRequestRet = CombineXMLRequestRet + "</request>";
|
||||
return CombineXMLRequestRet;
|
||||
|
||||
}
|
||||
|
||||
public static string CombineXMLParameterMultiValue(ref string value_name, ref string name, ref string type, ref string value, ref string desc)
|
||||
{
|
||||
string CombineXMLParameterMultiValueRet = default(string);
|
||||
// Value不用加上Tag
|
||||
CombineXMLParameterMultiValueRet = "<" + value_name.ToLower() + ">" + "<name>" + name + "</name>" + "<type>" + type + "</type>" + value + "<desc>" + desc + "</desc>" + "</" + value_name.ToLower() + ">";
|
||||
return CombineXMLParameterMultiValueRet;
|
||||
}
|
||||
|
||||
public static string CombineXMLAdditional(ref string strAdditional)
|
||||
{
|
||||
string CombineXMLAdditionalRet = default(string);
|
||||
CombineXMLAdditionalRet = "<additional>" + strAdditional;
|
||||
CombineXMLAdditionalRet = CombineXMLAdditionalRet + "</additional>";
|
||||
return CombineXMLAdditionalRet;
|
||||
}
|
||||
|
||||
public static string CombineAddXML_Add(ref string name, ref string type, ref string value)
|
||||
{
|
||||
string CombineAddXML_AddRet = default(string);
|
||||
CombineAddXML_AddRet = "<field>" + "<name>" + name + "</name>" + "<type>" + type + "</type>" + "<value>" + value + "</value>" + "</field>";
|
||||
return CombineAddXML_AddRet;
|
||||
}
|
||||
|
||||
public static string CombineAddXML_Edit(ref string name, ref string type, ref string value)
|
||||
{
|
||||
string CombineAddXML_EditRet = default(string);
|
||||
CombineAddXML_EditRet = "<field>" + "<name>" + name + "</name>" + "<type>" + type + "</type>" + "<value>" + value + "</value>" + "</field>";
|
||||
return CombineAddXML_EditRet;
|
||||
}
|
||||
|
||||
public static string CombineAddXML_Field(ref string name)
|
||||
{
|
||||
string CombineAddXML_FieldRet = default(string);
|
||||
CombineAddXML_FieldRet = "<field>" + "<name>" + name + "</name>" + "</field>";
|
||||
return CombineAddXML_FieldRet;
|
||||
}
|
||||
|
||||
public static string CombineAddXML_Condition(string condition)
|
||||
{
|
||||
string CombineAddXML_ConditionRet = default(string);
|
||||
|
||||
// 2007/03/22,sammi.呼叫CombineAddXML_Condition時,不可加CInput.
|
||||
// 因CInput會將單引號轉成二個單引號,若Condition為下述範例時,會Error.
|
||||
// strAdditional = CombineXMLAdditional(CombineAddXML_Condition("ModuleType in ('REWORK','SLR')"))
|
||||
// strParameter += strAdditional
|
||||
|
||||
CombineAddXML_ConditionRet = "<condition>" + condition + "</condition>";
|
||||
return CombineAddXML_ConditionRet;
|
||||
|
||||
}
|
||||
|
||||
public static string CInput(string strInput)
|
||||
{
|
||||
string CInputRet = default(string);
|
||||
// 將傳入值內的單引號轉換為可存入資料庫的格式
|
||||
// 將傳入值內的 &, >, < 三個特殊字元轉換為XmlDocument可解譯之代替符號
|
||||
// 傳入值: strInput包含特殊字元的字串
|
||||
// 傳回值: 將特殊字元變更為代替符號的字串
|
||||
|
||||
// 轉換 ' 為 '' (單引號轉為兩個單引號)
|
||||
CInputRet = Strings.Replace(strInput, "'", "''");
|
||||
|
||||
// 轉換 & 為 &
|
||||
CInputRet = Strings.Replace(CInputRet, "&", "&");
|
||||
|
||||
// CInput = Replace(CInput, """", "''") 'AddFlow的Xml字串不可將雙引號轉為兩個單引號,XMLToFlow會Error
|
||||
|
||||
// 轉換 > 為 >
|
||||
CInputRet = Strings.Replace(CInputRet, ">", ">");
|
||||
|
||||
// 轉換 < 為 <
|
||||
CInputRet = Strings.Replace(CInputRet, "<", "<");
|
||||
return CInputRet;
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
12080
MESEAI/EAItc/clsEAP.cs
Normal file
12080
MESEAI/EAItc/clsEAP.cs
Normal file
File diff suppressed because it is too large
Load Diff
4172
MESEAI/EAItc/clsERP.cs
Normal file
4172
MESEAI/EAItc/clsERP.cs
Normal file
File diff suppressed because it is too large
Load Diff
25
MESEAI/EAItc/clsMDS.cs
Normal file
25
MESEAI/EAItc/clsMDS.cs
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
namespace tcEAI_C
|
||||
{
|
||||
|
||||
public class clsMDS
|
||||
{
|
||||
|
||||
public string strDataBaseType;
|
||||
public string strConnectionString;
|
||||
private udReverse.clsReverse objReverse = new udReverse.clsReverse();
|
||||
|
||||
// 2003/03/22,sammi.
|
||||
// 因TC可能呼叫KC,在整個Function中,必須要使用同一個Reverse物件,如此在產生AddReverseUpdateContent的資料時,ReverseOrder才不會重覆.
|
||||
// 若KC再往下呼叫UD,則必須將Reverse物件傳遞予UD.
|
||||
public udReverse.clsReverse ReverseObj
|
||||
{
|
||||
get
|
||||
{
|
||||
return objReverse;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
2987
MESEAI/EAItc/clsOE.cs
Normal file
2987
MESEAI/EAItc/clsOE.cs
Normal file
File diff suppressed because it is too large
Load Diff
62
MESEAI/EAItc/clsSPC.cs
Normal file
62
MESEAI/EAItc/clsSPC.cs
Normal file
@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Microsoft.VisualBasic;
|
||||
|
||||
namespace tcEAI_C
|
||||
{
|
||||
|
||||
public class clsSPC
|
||||
{
|
||||
public static string strDataBaseType;
|
||||
public static string strConnectionString;
|
||||
|
||||
private string Filepath_E = @"D:\Log\EAI_TC\"; // 指定Log
|
||||
|
||||
public void SaveLog(string msg)
|
||||
{
|
||||
if (!Directory.Exists(Filepath_E))
|
||||
{
|
||||
Directory.CreateDirectory(Filepath_E);
|
||||
}
|
||||
//{
|
||||
// var withBlock = My.MyProject.Application.Log.DefaultFileLogWriter;
|
||||
// // If CInt(Format(Now, "mm")) >= 20 And CInt(Format(Now, "mm")) < 40 Then
|
||||
// // .BaseFileName = "Log" & "_20" 'Log檔的檔名
|
||||
// // ElseIf CInt(Format(Now, "mm")) >= 40 Then
|
||||
// // .BaseFileName = "Log" & "_40" 'Log檔的檔名
|
||||
// // Else
|
||||
// withBlock.BaseFileName = "Log"; // & Format(Now, "mm") 'Log檔的檔名
|
||||
// // End If
|
||||
// withBlock.CustomLocation = Filepath_E; // 自訂Log檔的存放路徑
|
||||
// withBlock.AutoFlush = true; // Log檔寫完後自動清除緩衝
|
||||
// withBlock.LogFileCreationSchedule = Microsoft.VisualBasic.Logging.LogFileCreationScheduleOption.Daily; // 設定一天產生一個Log檔
|
||||
// withBlock.MaxFileSize = long.MaxValue; // 預設容量5M 改為 最大容量
|
||||
//}
|
||||
|
||||
//My.MyProject.Application.Log.WriteEntry(string.Format("{0} {1}", Strings.Format(DateTime.Now, "yy/MM/dd HH:mm:ss ffff,"), msg));
|
||||
}
|
||||
|
||||
public void combineException(ref List<ArrayList> strException, string code = null, string sysmsg = null, string mesmsg = null, string stack = null)
|
||||
{
|
||||
bool result = false;
|
||||
try
|
||||
{
|
||||
var al = new ArrayList();
|
||||
al.Add(code);
|
||||
al.Add(sysmsg);
|
||||
al.Add(mesmsg);
|
||||
al.Add(stack);
|
||||
strException.Add(al);
|
||||
result = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")]
|
||||
Binary file not shown.
BIN
MESEAI/EAItc/obj/Debug/EAItc_C.csproj.AssemblyReference.cache
Normal file
BIN
MESEAI/EAItc/obj/Debug/EAItc_C.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
194
MESEAI/MESEAI.sln
Normal file
194
MESEAI/MESEAI.sln
Normal file
@ -0,0 +1,194 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.35325.158
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EAIws_C", "EAICws\EAICws\EAIws_C.csproj", "{74B7676A-6420-0784-301F-696024D2A8D7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{443394E0-F618-0D60-04C0-E207199604A2} = {443394E0-F618-0D60-04C0-E207199604A2}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EAItc_C", "EAItc\EAItc_C.csproj", "{443394E0-F618-0D60-04C0-E207199604A2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iMESCIOC", "..\iMESCIOC\iMESCIOC.csproj", "{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
C++Buile|Any CPU = C++Buile|Any CPU
|
||||
C++Buile|Mixed Platforms = C++Buile|Mixed Platforms
|
||||
C++Buile|x64 = C++Buile|x64
|
||||
C++Buile|x86 = C++Buile|x86
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Quick|Any CPU = Quick|Any CPU
|
||||
Quick|Mixed Platforms = Quick|Mixed Platforms
|
||||
Quick|x64 = Quick|x64
|
||||
Quick|x86 = Quick|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|Mixed Platforms = Release|Mixed Platforms
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
StorageBuild|Any CPU = StorageBuild|Any CPU
|
||||
StorageBuild|Mixed Platforms = StorageBuild|Mixed Platforms
|
||||
StorageBuild|x64 = StorageBuild|x64
|
||||
StorageBuild|x86 = StorageBuild|x86
|
||||
UnitTest|Any CPU = UnitTest|Any CPU
|
||||
UnitTest|Mixed Platforms = UnitTest|Mixed Platforms
|
||||
UnitTest|x64 = UnitTest|x64
|
||||
UnitTest|x86 = UnitTest|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|Any CPU.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|x64.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|x64.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|x86.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.C++Buile|x86.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|Any CPU.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|x64.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|x64.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|x86.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Quick|x86.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|x64.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.Release|x86.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|Any CPU.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|x64.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|x64.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|x86.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.StorageBuild|x86.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|Any CPU.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|x64.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|x64.Build.0 = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|x86.ActiveCfg = Release|Any CPU
|
||||
{74B7676A-6420-0784-301F-696024D2A8D7}.UnitTest|x86.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|Any CPU.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|x64.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|x64.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|x86.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.C++Buile|x86.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|Any CPU.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|x64.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|x64.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|x86.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Quick|x86.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|x64.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.Release|x86.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|Any CPU.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|x64.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|x64.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|x86.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.StorageBuild|x86.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|Any CPU.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|x64.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|x64.Build.0 = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|x86.ActiveCfg = Release|Any CPU
|
||||
{443394E0-F618-0D60-04C0-E207199604A2}.UnitTest|x86.Build.0 = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|x64.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|x64.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|x86.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.C++Buile|x86.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|x64.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|x64.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|x86.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Quick|x86.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|x64.Build.0 = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.Release|x86.Build.0 = Release|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|x64.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|x64.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|x86.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.StorageBuild|x86.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|x64.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|x64.Build.0 = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|x86.ActiveCfg = Debug|Any CPU
|
||||
{3A1F68B3-EBE4-4A86-9334-F66EC3DCE0AD}.UnitTest|x86.Build.0 = Debug|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {8C4647D6-0300-48B8-9394-09E4BF0D878A}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
BIN
MESEAI/packages/BouncyCastle.1.8.9/.signature.p7s
vendored
Normal file
BIN
MESEAI/packages/BouncyCastle.1.8.9/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
MESEAI/packages/BouncyCastle.1.8.9/BouncyCastle.1.8.9.nupkg
vendored
Normal file
BIN
MESEAI/packages/BouncyCastle.1.8.9/BouncyCastle.1.8.9.nupkg
vendored
Normal file
Binary file not shown.
30
MESEAI/packages/BouncyCastle.1.8.9/README.md
vendored
Normal file
30
MESEAI/packages/BouncyCastle.1.8.9/README.md
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
# The Bouncy Castle Crypto Package For C Sharp
|
||||
|
||||
The Bouncy Castle Crypto package is a C\# implementation of cryptographic algorithms and protocols, it was developed by the Legion of the Bouncy Castle, a registered Australian Charity, with a little help! The Legion, and the latest goings on with this package, can be found at [http://www.bouncycastle.org](http://www.bouncycastle.org). In addition to providing basic cryptography algorithms, the package also provides support for CMS, TSP, X.509 certificate generation and a variety of other standards such as OpenPGP.
|
||||
|
||||
The Legion also gratefully acknowledges the contributions made to this package by others (see [here](http://www.bouncycastle.org/csharp/contributors.html) for the current list). If you would like to contribute to our efforts please feel free to get in touch with us or visit our [donations page](https://www.bouncycastle.org/donate), sponsor some specific work, or purchase a support contract through [Crypto Workshop](http://www.cryptoworkshop.com).
|
||||
|
||||
Except where otherwise stated, this software is distributed under a license based on the MIT X Consortium license. To view the license, [see here](http://www.bouncycastle.org/licence.html). The OpenPGP library also includes a modified BZIP2 library which is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/).
|
||||
|
||||
**Note**: this source tree is not the FIPS version of the APIs - if you are interested in our FIPS version please contact us directly at [office@bouncycastle.org](mailto:office@bouncycastle.org).
|
||||
|
||||
## Mailing Lists
|
||||
|
||||
For those who are interested, there are 2 mailing lists for participation in this project. To subscribe use the links below and include the word subscribe in the message body. (To unsubscribe, replace **subscribe** with **unsubscribe** in the message body)
|
||||
|
||||
* [announce-crypto-csharp-request@bouncycastle.org](mailto:announce-crypto-csharp-request@bouncycastle.org)
|
||||
This mailing list is for new release announcements only, general subscribers cannot post to it.
|
||||
* [dev-crypto-csharp-request@bouncycastle.org](mailto:dev-crypto-csharp-request@bouncycastle.org)
|
||||
This mailing list is for discussion of development of the package. This includes bugs, comments, requests for enhancements, questions about use or operation.
|
||||
|
||||
**NOTE:**You need to be subscribed to send mail to the above mailing list.
|
||||
|
||||
## Feedback
|
||||
|
||||
If you want to provide feedback directly to the members of **The Legion** then please use [feedback-crypto@bouncycastle.org](mailto:feedback-crypto@bouncycastle.org), if you want to help this project survive please consider [donating](https://www.bouncycastle.org/donate).
|
||||
|
||||
For bug reporting/requests you can report issues here on github, via feedback-crypto if required, and we also have a [Jira issue tracker](http://www.bouncycastle.org/jira). We will accept pull requests based on this repository as well.
|
||||
|
||||
## Finally
|
||||
|
||||
Enjoy!
|
||||
Loading…
Reference in New Issue
Block a user