chore: 初始化东安动力外部数据接口工程
This commit is contained in:
179
SlMesDbIterface/AnalysisMsg.cs
Normal file
179
SlMesDbIterface/AnalysisMsg.cs
Normal file
@@ -0,0 +1,179 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SlMesDbIterface;
|
||||
using System.Net.Mail;
|
||||
using PLMTEST;
|
||||
using ExternalDataSync.MOM;
|
||||
using DataLinkMesWork;
|
||||
using System.Collections;
|
||||
using System.Drawing.Imaging;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class AnalysisMsg
|
||||
{
|
||||
/// <summary>
|
||||
/// UUID生成
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string UuidUtil()
|
||||
{
|
||||
string result = Guid.NewGuid().ToString();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 物料主数据下发
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
/// <param name="str"></param>
|
||||
/// <returns></returns>
|
||||
public static string ProductionCalendarData(string url, string str)
|
||||
{
|
||||
var result = new msgResHeader();
|
||||
result.taskId = UuidUtil();
|
||||
result.code = "0";
|
||||
result.msg = "";
|
||||
result.returnData = "";
|
||||
|
||||
|
||||
|
||||
string errorMessage = "";
|
||||
string parentID = "";
|
||||
int AID = -1;
|
||||
int isError = 0;
|
||||
try
|
||||
{
|
||||
//存储日志
|
||||
var CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
//Event_MOM_Log_Insert,@创建时间,@内容
|
||||
var param1 = new SqlParameter[] {
|
||||
new SqlParameter("@接口地址",url),
|
||||
new SqlParameter("@接口类型",2), // 1. 主动调用接口 2. 被调用接口
|
||||
new SqlParameter("@请求内容",str),
|
||||
new SqlParameter("@请求时间",CreateTime)
|
||||
};
|
||||
DataLinkMesWork.SQLCommon.ExecuteStoredProcedure("接口_IOT接口交互日志_请求记录", Program.ConnectionString, ref param1, out DataTable dt, out errorMessage);
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
AID = Convert.ToInt32(dt.Rows[0]["AID"]);
|
||||
}
|
||||
// 解析订单内容,存储数据库,根据实际业务来写
|
||||
ProductionCalendarData BaseData = JsonHelper.JsonDeserialize<ProductionCalendarData>(str);
|
||||
|
||||
var parsingParam = new SqlParameter[] {
|
||||
new SqlParameter("@类型",BaseData.typesOf),
|
||||
new SqlParameter("@类型编码",BaseData.typeCode),
|
||||
new SqlParameter("@日历编码",BaseData.calendarEncoding),
|
||||
new SqlParameter("@班次名称",BaseData.shiftName),
|
||||
new SqlParameter("@开始时间",BaseData.timeOn),
|
||||
new SqlParameter("@结束时间",BaseData.endTime),
|
||||
new SqlParameter("@开始日期",BaseData.startDate),
|
||||
new SqlParameter("@结束日期",BaseData.endDate),
|
||||
new SqlParameter("@班次描述",BaseData.shiftDescription),
|
||||
new SqlParameter("@固定休息日",BaseData.fixedRestDays),
|
||||
};
|
||||
DataLinkMesWork.SQLCommon.ExecuteStoredProcedure("接口_接收_生产日历下发_增加", Program.ConnectionString, ref parsingParam, out DataTable parsingDt, out errorMessage);
|
||||
if (parsingDt.Rows.Count > 0)
|
||||
{
|
||||
if (Convert.ToInt32(parsingDt.Rows[0]["result"]) == 1)
|
||||
{
|
||||
parentID = BaseData.calendarEncoding;
|
||||
List<ProductionCalendarStatutoryData> statutoryHoliday = BaseData.statutoryHolidays;
|
||||
|
||||
List<ProductionCalendarNonProductionData> nonProductionTime = BaseData.nonProductionTime;
|
||||
if (statutoryHoliday != null)
|
||||
{
|
||||
foreach (ProductionCalendarStatutoryData item in statutoryHoliday)
|
||||
{
|
||||
var parsingParam2 = new SqlParameter[] {
|
||||
new SqlParameter("@日历编码",parentID),
|
||||
new SqlParameter("@开始日期",item.startDate),
|
||||
new SqlParameter("@结束日期",item.endDate),
|
||||
};
|
||||
DataLinkMesWork.SQLCommon.ExecuteStoredProcedure("接口_接收_生产日历下发_法定节日_增加", Program.ConnectionString, ref parsingParam2, out DataTable parsingDt2, out errorMessage);
|
||||
|
||||
if (errorMessage != "")
|
||||
{
|
||||
result.msg = errorMessage;
|
||||
result.code = "501";
|
||||
result.returnData = "ERROR";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (nonProductionTime != null)
|
||||
{
|
||||
foreach (ProductionCalendarNonProductionData item in nonProductionTime)
|
||||
{
|
||||
var parsingParam2 = new SqlParameter[] {
|
||||
new SqlParameter("@日历编码",parentID),
|
||||
new SqlParameter("@开始时间",item.timeOn),
|
||||
new SqlParameter("@结束时间",item.endTime),
|
||||
};
|
||||
DataLinkMesWork.SQLCommon.ExecuteStoredProcedure("接口_接收_生产日历下发_非生产时间_增加", Program.ConnectionString, ref parsingParam2, out DataTable parsingDt2, out errorMessage);
|
||||
|
||||
if (errorMessage != "")
|
||||
{
|
||||
result.msg = errorMessage;
|
||||
result.code = "501";
|
||||
result.returnData = "ERROR";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
isError = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
isError = 1;
|
||||
}
|
||||
|
||||
if (isError == 1)
|
||||
{
|
||||
result.msg = "存储过程调用失败!";
|
||||
result.code = "501";
|
||||
result.returnData = "ERROR";
|
||||
}
|
||||
|
||||
if (errorMessage != "")
|
||||
{
|
||||
result.msg = errorMessage;
|
||||
result.code = "501";
|
||||
result.returnData = "ERROR";
|
||||
}
|
||||
|
||||
//响应结果
|
||||
CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
var resParam = new SqlParameter[] {
|
||||
new SqlParameter("@AID",AID),
|
||||
new SqlParameter("@响应时间",CreateTime),
|
||||
new SqlParameter("@响应内容",JsonConvert.SerializeObject(result))
|
||||
};
|
||||
DataLinkMesWork.SQLCommon.ExecuteStoredProcedure("接口_IOT接口交互日志_响应记录", Program.ConnectionString, ref resParam, out errorMessage);
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
AID = Convert.ToInt32(dt.Rows[0]["AID"]);
|
||||
}
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
result.code = "501";
|
||||
result.msg = err.Message;
|
||||
result.returnData = "ERROR";
|
||||
}
|
||||
return JsonConvert.SerializeObject(result);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
116
SlMesDbIterface/App.config
Normal file
116
SlMesDbIterface/App.config
Normal file
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<!--API端口号-->
|
||||
<add key="WebSvrPort" value="9981" />
|
||||
<add key="upload_Interval" value="10000" />
|
||||
<add key="upload_Interval_error" value="20000" />
|
||||
<add key="ConnectionString" value="server=.;database=DDV_TYZG;uid=sa;pwd=126.com;Connection Reset=FALSE;Max Pool Size = 1000" />
|
||||
<add key="MySqlConnectString" value="server=.;database=DDV_TYZG;username=sa;password=126.com;" />
|
||||
<!--<add key="MySqlConnectString" value="server=10.37.122.180;database=dct_ccyq;username=dct_user;password=dct_pwd;" />-->
|
||||
<add key="interfaceIDField" value="MOM-中控-011" />
|
||||
<add key="messageIDField" value="messageIDField_001" />
|
||||
<add key="receiverField" value="mom" />
|
||||
<add key="senderField" value="中控" />
|
||||
<add key="transIDField" value="transIDField_001" />
|
||||
<!--这里开始定义的是上传接口请求地址-->
|
||||
<!--变更通知执行结果上传接口-->
|
||||
<add key="changeUploadUrl" value="http://127.0.0.1:9981/api/IOrder/test" />
|
||||
<!--生产报工上传接口-->
|
||||
<add key="reportUploadUrl" value="http://127.0.0.1:9981/api/IOrder/test" />
|
||||
<!--_ANDON异常提报上传接口-->
|
||||
<add key="andonAbnormalUploadUr" value="http://127.0.0.1:9981/api/IOrder/test" />
|
||||
<!--空容器回收请求上传接口-->
|
||||
<add key="emptyContainerRecoveryUploadUr" value="http://127.0.0.1:9981/api/IOrder/test" />
|
||||
<!--临时工艺通知执行结果上传接口-->
|
||||
<add key="temporaryChangeUploadUrl" value="http://127.0.0.1:9981/api/IOrder/test" />
|
||||
|
||||
|
||||
</appSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<basicHttpBinding>
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="pctEnergyInfoInterfaceSoapBinding" />
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="urmRsBaseInterfaceSoapBinding" />
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="urmRsBaseLifeInterfaceSoapBinding" />
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="colltReInterfaceSoapBinding" />
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="equipExceInterfaceSoapBinding" />
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="equipHistoryInterfaceSoapBinding" />
|
||||
<binding
|
||||
openTimeout="00:10:00"
|
||||
closeTimeout="00:10:00"
|
||||
sendTimeout="00:10:00"
|
||||
receiveTimeout="00:10:00"
|
||||
name="uexDaqInfoInterfaceSoapBinding" />
|
||||
</basicHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="pctEnergyInfoInterfaceSoapBinding"
|
||||
contract="ESB_energy.PctEnergyInfoInterface" name="PctEnergyInfoImplPort" />
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="urmRsBaseInterfaceSoapBinding"
|
||||
contract="ESB_base.UrmRsBaseInterface" name="UrmRsBaseInterfaceImplPort" />
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="urmRsBaseLifeInterfaceSoapBinding"
|
||||
contract="ESB_life.UrmRsBaseLifeInterface" name="UrmRsBaseLifeInterfaceImplPort" />
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="colltReInterfaceSoapBinding"
|
||||
contract="ESB_collt.ColltReInterface" name="ColltReInterfaceImplPort" />
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="equipExceInterfaceSoapBinding"
|
||||
contract="ESB_excep.EquipExceInterface" name="EquipExceInterfaceImplPort" />
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="equipHistoryInterfaceSoapBinding"
|
||||
contract="ESB_history.EquipHistoryInterface" name="EquipHistoryInterfaceImplPort" />
|
||||
<endpoint address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS"
|
||||
binding="basicHttpBinding" bindingConfiguration="uexDaqInfoInterfaceSoapBinding"
|
||||
contract="ESB_daq.UexDaqInfoInterface" name="UexDaqInfoInterfaceImplPort" />
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
</configuration>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="baseResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_base.baseResponse, Connected Services.ESB_base.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_base.interfaceResponse, Connected Services.ESB_base.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
497
SlMesDbIterface/Connected Services/ESB_base/Reference.cs
Normal file
497
SlMesDbIterface/Connected Services/ESB_base/Reference.cs
Normal file
@@ -0,0 +1,497 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_base {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_base.UrmRsBaseInterface")]
|
||||
public interface UrmRsBaseInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_base.baseResponse @base(ExternalDataSync.ESB_base.@base request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_base.baseResponse> baseAsync(ExternalDataSync.ESB_base.@base request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class rsBaseInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string alarmDateField;
|
||||
|
||||
private string equipCodeField;
|
||||
|
||||
private string siteField;
|
||||
|
||||
private string toolCodeField;
|
||||
|
||||
private string toolDownProdutionField;
|
||||
|
||||
private string toolDownReasonField;
|
||||
|
||||
private string toolDownResidualField;
|
||||
|
||||
private string toolDownTypeField;
|
||||
|
||||
private string workCellCodeField;
|
||||
|
||||
private string workCenterField;
|
||||
|
||||
private string tNumberField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string alarmDate {
|
||||
get {
|
||||
return this.alarmDateField;
|
||||
}
|
||||
set {
|
||||
this.alarmDateField = value;
|
||||
this.RaisePropertyChanged("alarmDate");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string equipCode {
|
||||
get {
|
||||
return this.equipCodeField;
|
||||
}
|
||||
set {
|
||||
this.equipCodeField = value;
|
||||
this.RaisePropertyChanged("equipCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string site {
|
||||
get {
|
||||
return this.siteField;
|
||||
}
|
||||
set {
|
||||
this.siteField = value;
|
||||
this.RaisePropertyChanged("site");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string toolCode {
|
||||
get {
|
||||
return this.toolCodeField;
|
||||
}
|
||||
set {
|
||||
this.toolCodeField = value;
|
||||
this.RaisePropertyChanged("toolCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string toolDownProdution {
|
||||
get {
|
||||
return this.toolDownProdutionField;
|
||||
}
|
||||
set {
|
||||
this.toolDownProdutionField = value;
|
||||
this.RaisePropertyChanged("toolDownProdution");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string toolDownReason {
|
||||
get {
|
||||
return this.toolDownReasonField;
|
||||
}
|
||||
set {
|
||||
this.toolDownReasonField = value;
|
||||
this.RaisePropertyChanged("toolDownReason");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string toolDownResidual {
|
||||
get {
|
||||
return this.toolDownResidualField;
|
||||
}
|
||||
set {
|
||||
this.toolDownResidualField = value;
|
||||
this.RaisePropertyChanged("toolDownResidual");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
|
||||
public string toolDownType {
|
||||
get {
|
||||
return this.toolDownTypeField;
|
||||
}
|
||||
set {
|
||||
this.toolDownTypeField = value;
|
||||
this.RaisePropertyChanged("toolDownType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
|
||||
public string workCellCode {
|
||||
get {
|
||||
return this.workCellCodeField;
|
||||
}
|
||||
set {
|
||||
this.workCellCodeField = value;
|
||||
this.RaisePropertyChanged("workCellCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)]
|
||||
public string workCenter {
|
||||
get {
|
||||
return this.workCenterField;
|
||||
}
|
||||
set {
|
||||
this.workCenterField = value;
|
||||
this.RaisePropertyChanged("workCenter");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)]
|
||||
public string tNumber {
|
||||
get {
|
||||
return this.tNumberField;
|
||||
}
|
||||
set {
|
||||
this.tNumberField = value;
|
||||
this.RaisePropertyChanged("tNumber");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="base", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class @base {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_base.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_base.rsBaseInfoTo[] arg1;
|
||||
|
||||
public @base() {
|
||||
}
|
||||
|
||||
public @base(ExternalDataSync.ESB_base.interfaceRequestHeader arg0, ExternalDataSync.ESB_base.rsBaseInfoTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="baseResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class baseResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_base.interfaceResponse @return;
|
||||
|
||||
public baseResponse() {
|
||||
}
|
||||
|
||||
public baseResponse(ExternalDataSync.ESB_base.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface UrmRsBaseInterfaceChannel : ExternalDataSync.ESB_base.UrmRsBaseInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class UrmRsBaseInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_base.UrmRsBaseInterface>, ExternalDataSync.ESB_base.UrmRsBaseInterface {
|
||||
|
||||
public UrmRsBaseInterfaceClient() {
|
||||
}
|
||||
|
||||
public UrmRsBaseInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public UrmRsBaseInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public UrmRsBaseInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public UrmRsBaseInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_base.baseResponse ExternalDataSync.ESB_base.UrmRsBaseInterface.@base(ExternalDataSync.ESB_base.@base request) {
|
||||
return base.Channel.@base(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_base.interfaceResponse @base(ExternalDataSync.ESB_base.interfaceRequestHeader arg0, ExternalDataSync.ESB_base.rsBaseInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_base.@base inValue = new ExternalDataSync.ESB_base.@base();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_base.baseResponse retVal = ((ExternalDataSync.ESB_base.UrmRsBaseInterface)(this)).@base(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_base.baseResponse> ExternalDataSync.ESB_base.UrmRsBaseInterface.baseAsync(ExternalDataSync.ESB_base.@base request) {
|
||||
return base.Channel.baseAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_base.baseResponse> baseAsync(ExternalDataSync.ESB_base.interfaceRequestHeader arg0, ExternalDataSync.ESB_base.rsBaseInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_base.@base inValue = new ExternalDataSync.ESB_base.@base();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_base.UrmRsBaseInterface)(this)).baseAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
SlMesDbIterface/Connected Services/ESB_base/Reference.svcmap
Normal file
32
SlMesDbIterface/Connected Services/ESB_base/Reference.svcmap
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="1f8b6301-1922-44ce-89fd-364583baf9f8" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="urmRsBaseInterface.wsdl" MetadataType="Wsdl" ID="ee63af35-b73d-4d37-84c4-160ca34d6f7f" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS?wsdl" />
|
||||
<MetadataFile FileName="UrmRsBaseInterface2.wsdl" MetadataType="Wsdl" ID="dde62159-70e0-461f-bcea-d9cbff0ecd19" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_CutterDownInfo%2FWSDLs%2FWSDL_974124712" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="UrmRsBaseInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="base" type="ns1:base" />
|
||||
<xsd:element name="baseResponse" type="ns1:baseResponse" />
|
||||
<xsd:complexType name="base">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:rsBaseInfoTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="rsBaseInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="alarmDate" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="equipCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="site" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolDownProdution" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolDownReason" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolDownResidual" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolDownType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCellCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCenter" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="tNumber" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="baseResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="baseResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:baseResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="base">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:base" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="UrmRsBaseInterface">
|
||||
<WL5G3N0:operation name="base">
|
||||
<WL5G3N0:input name="base" message="WL5G3N1:base" />
|
||||
<WL5G3N0:output name="baseResponse" message="WL5G3N1:baseResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="urmRsBaseInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="urmRsBaseInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS" binding="basicHttpBinding" bindingConfiguration="urmRsBaseInterfaceSoapBinding" contract="ESB_base.UrmRsBaseInterface" name="UrmRsBaseInterfaceImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS" binding="basicHttpBinding" bindingConfiguration="urmRsBaseInterfaceSoapBinding" contract="ESB_base.UrmRsBaseInterface" name="UrmRsBaseInterfaceImplPort" />" contractName="ESB_base.UrmRsBaseInterface" name="UrmRsBaseInterfaceImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="d99Hcz2F9QvRcS+TTNv/IDtI7W/OO0fLCzdQ+ny9pfs=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="urmRsBaseInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>urmRsBaseInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="UrmRsBaseInterfaceImplPort" contract="ESB_base.UrmRsBaseInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS" bindingConfiguration="urmRsBaseInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>urmRsBaseInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_base.UrmRsBaseInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UrmRsBaseInterfaceImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="urmRsBaseInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_CutterDownInfo%2FWSDLs%2FWSDL_974124712" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="urmRsBaseInterfaceSoapBinding" type="WL5G3N1:UrmRsBaseInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="base">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="base">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="baseResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="urmRsBaseInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="UrmRsBaseInterfaceImplPort" binding="WL5G3N3:urmRsBaseInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterDownInfo/ProxyServices/CutterDownInfoPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="ColltReInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="collt" type="ns1:collt" />
|
||||
<xsd:element name="colltResponse" type="ns1:colltResponse" />
|
||||
<xsd:complexType name="collt">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:colltReInfoTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="colltReInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="acqTime" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="citemInfoTo" nillable="true" type="ns1:citemInfoTo" />
|
||||
<xsd:element minOccurs="0" name="equipCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="site" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCellCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCenter" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="citemInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="actualValue" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="citemCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="citemName" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="citemRemark" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="isOK" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="colltResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="colltResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:colltResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="collt">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:collt" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="ColltReInterface">
|
||||
<WL5G3N0:operation name="collt">
|
||||
<WL5G3N0:input name="collt" message="WL5G3N1:collt" />
|
||||
<WL5G3N0:output name="colltResponse" message="WL5G3N1:colltResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="colltResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_collt.colltResponse, Connected Services.ESB_collt.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_collt.interfaceResponse, Connected Services.ESB_collt.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
515
SlMesDbIterface/Connected Services/ESB_collt/Reference.cs
Normal file
515
SlMesDbIterface/Connected Services/ESB_collt/Reference.cs
Normal file
@@ -0,0 +1,515 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_collt {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_collt.ColltReInterface")]
|
||||
public interface ColltReInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_collt.colltResponse collt(ExternalDataSync.ESB_collt.collt request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_collt.colltResponse> colltAsync(ExternalDataSync.ESB_collt.collt request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class citemInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string actualValueField;
|
||||
|
||||
private string citemCodeField;
|
||||
|
||||
private string citemNameField;
|
||||
|
||||
private string citemRemarkField;
|
||||
|
||||
private string isOKField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string actualValue {
|
||||
get {
|
||||
return this.actualValueField;
|
||||
}
|
||||
set {
|
||||
this.actualValueField = value;
|
||||
this.RaisePropertyChanged("actualValue");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string citemCode {
|
||||
get {
|
||||
return this.citemCodeField;
|
||||
}
|
||||
set {
|
||||
this.citemCodeField = value;
|
||||
this.RaisePropertyChanged("citemCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string citemName {
|
||||
get {
|
||||
return this.citemNameField;
|
||||
}
|
||||
set {
|
||||
this.citemNameField = value;
|
||||
this.RaisePropertyChanged("citemName");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string citemRemark {
|
||||
get {
|
||||
return this.citemRemarkField;
|
||||
}
|
||||
set {
|
||||
this.citemRemarkField = value;
|
||||
this.RaisePropertyChanged("citemRemark");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string isOK {
|
||||
get {
|
||||
return this.isOKField;
|
||||
}
|
||||
set {
|
||||
this.isOKField = value;
|
||||
this.RaisePropertyChanged("isOK");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class colltReInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string acqTimeField;
|
||||
|
||||
private citemInfoTo[] citemInfoToField;
|
||||
|
||||
private string equipCodeField;
|
||||
|
||||
private string siteField;
|
||||
|
||||
private string workCellCodeField;
|
||||
|
||||
private string workCenterField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string acqTime {
|
||||
get {
|
||||
return this.acqTimeField;
|
||||
}
|
||||
set {
|
||||
this.acqTimeField = value;
|
||||
this.RaisePropertyChanged("acqTime");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute("citemInfoTo", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=1)]
|
||||
public citemInfoTo[] citemInfoTo {
|
||||
get {
|
||||
return this.citemInfoToField;
|
||||
}
|
||||
set {
|
||||
this.citemInfoToField = value;
|
||||
this.RaisePropertyChanged("citemInfoTo");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string equipCode {
|
||||
get {
|
||||
return this.equipCodeField;
|
||||
}
|
||||
set {
|
||||
this.equipCodeField = value;
|
||||
this.RaisePropertyChanged("equipCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string site {
|
||||
get {
|
||||
return this.siteField;
|
||||
}
|
||||
set {
|
||||
this.siteField = value;
|
||||
this.RaisePropertyChanged("site");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string workCellCode {
|
||||
get {
|
||||
return this.workCellCodeField;
|
||||
}
|
||||
set {
|
||||
this.workCellCodeField = value;
|
||||
this.RaisePropertyChanged("workCellCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string workCenter {
|
||||
get {
|
||||
return this.workCenterField;
|
||||
}
|
||||
set {
|
||||
this.workCenterField = value;
|
||||
this.RaisePropertyChanged("workCenter");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="collt", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class collt {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_collt.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_collt.colltReInfoTo[] arg1;
|
||||
|
||||
public collt() {
|
||||
}
|
||||
|
||||
public collt(ExternalDataSync.ESB_collt.interfaceRequestHeader arg0, ExternalDataSync.ESB_collt.colltReInfoTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="colltResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class colltResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_collt.interfaceResponse @return;
|
||||
|
||||
public colltResponse() {
|
||||
}
|
||||
|
||||
public colltResponse(ExternalDataSync.ESB_collt.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface ColltReInterfaceChannel : ExternalDataSync.ESB_collt.ColltReInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class ColltReInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_collt.ColltReInterface>, ExternalDataSync.ESB_collt.ColltReInterface {
|
||||
|
||||
public ColltReInterfaceClient() {
|
||||
}
|
||||
|
||||
public ColltReInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public ColltReInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public ColltReInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public ColltReInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_collt.colltResponse ExternalDataSync.ESB_collt.ColltReInterface.collt(ExternalDataSync.ESB_collt.collt request) {
|
||||
return base.Channel.collt(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_collt.interfaceResponse collt(ExternalDataSync.ESB_collt.interfaceRequestHeader arg0, ExternalDataSync.ESB_collt.colltReInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_collt.collt inValue = new ExternalDataSync.ESB_collt.collt();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_collt.colltResponse retVal = ((ExternalDataSync.ESB_collt.ColltReInterface)(this)).collt(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_collt.colltResponse> ExternalDataSync.ESB_collt.ColltReInterface.colltAsync(ExternalDataSync.ESB_collt.collt request) {
|
||||
return base.Channel.colltAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_collt.colltResponse> colltAsync(ExternalDataSync.ESB_collt.interfaceRequestHeader arg0, ExternalDataSync.ESB_collt.colltReInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_collt.collt inValue = new ExternalDataSync.ESB_collt.collt();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_collt.ColltReInterface)(this)).colltAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="3788753a-5d52-40f0-82d4-b87f9a797c4b" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="colltReInterface.wsdl" MetadataType="Wsdl" ID="7619e1cf-da46-469c-9861-e5e6132811df" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS?wsdl" />
|
||||
<MetadataFile FileName="ColltReInterface2.wsdl" MetadataType="Wsdl" ID="180ab93d-7e67-45e4-be9f-c6375b23286f" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EquipmentParameter%2FWSDLs%2FWSDL_-2052944505" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="colltReInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EquipmentParameter%2FWSDLs%2FWSDL_-2052944505" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="colltReInterfaceSoapBinding" type="WL5G3N1:ColltReInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="collt">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="collt">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="colltResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="colltReInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="ColltReInterfaceImplPort" binding="WL5G3N3:colltReInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="colltReInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="colltReInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS" binding="basicHttpBinding" bindingConfiguration="colltReInterfaceSoapBinding" contract="ESB_collt.ColltReInterface" name="ColltReInterfaceImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS" binding="basicHttpBinding" bindingConfiguration="colltReInterfaceSoapBinding" contract="ESB_collt.ColltReInterface" name="ColltReInterfaceImplPort" />" contractName="ESB_collt.ColltReInterface" name="ColltReInterfaceImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="4Ioh8jj5olF5AEuQeGYO66b7HEXk7yshjkzI1jcu0t8=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="colltReInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>colltReInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="ColltReInterfaceImplPort" contract="ESB_collt.ColltReInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS" bindingConfiguration="colltReInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentParameter/ProxyServices/EquipmentParameterPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>colltReInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_collt.ColltReInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ColltReInterfaceImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="daqResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_daq.daqResponse, Connected Services.ESB_daq.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_daq.interfaceResponse, Connected Services.ESB_daq.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
539
SlMesDbIterface/Connected Services/ESB_daq/Reference.cs
Normal file
539
SlMesDbIterface/Connected Services/ESB_daq/Reference.cs
Normal file
@@ -0,0 +1,539 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_daq {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_daq.UexDaqInfoInterface")]
|
||||
public interface UexDaqInfoInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_daq.daqResponse daq(ExternalDataSync.ESB_daq.daq request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_daq.daqResponse> daqAsync(ExternalDataSync.ESB_daq.daq request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class uexDaqInfoExTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string containerIDField;
|
||||
|
||||
private string daqDateField;
|
||||
|
||||
private string daqIDField;
|
||||
|
||||
private string daqTypeField;
|
||||
|
||||
private string discardQtyField;
|
||||
|
||||
private string effectiveQtyField;
|
||||
|
||||
private string opCodeField;
|
||||
|
||||
private string operateTypeField;
|
||||
|
||||
private string produCodeField;
|
||||
|
||||
private string siteField;
|
||||
|
||||
private string stationField;
|
||||
|
||||
private string unEffectiveQtyField;
|
||||
|
||||
private string workCenterField;
|
||||
|
||||
private string workOrderCodeField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string containerID {
|
||||
get {
|
||||
return this.containerIDField;
|
||||
}
|
||||
set {
|
||||
this.containerIDField = value;
|
||||
this.RaisePropertyChanged("containerID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string daqDate {
|
||||
get {
|
||||
return this.daqDateField;
|
||||
}
|
||||
set {
|
||||
this.daqDateField = value;
|
||||
this.RaisePropertyChanged("daqDate");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string daqID {
|
||||
get {
|
||||
return this.daqIDField;
|
||||
}
|
||||
set {
|
||||
this.daqIDField = value;
|
||||
this.RaisePropertyChanged("daqID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string daqType {
|
||||
get {
|
||||
return this.daqTypeField;
|
||||
}
|
||||
set {
|
||||
this.daqTypeField = value;
|
||||
this.RaisePropertyChanged("daqType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string discardQty {
|
||||
get {
|
||||
return this.discardQtyField;
|
||||
}
|
||||
set {
|
||||
this.discardQtyField = value;
|
||||
this.RaisePropertyChanged("discardQty");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string effectiveQty {
|
||||
get {
|
||||
return this.effectiveQtyField;
|
||||
}
|
||||
set {
|
||||
this.effectiveQtyField = value;
|
||||
this.RaisePropertyChanged("effectiveQty");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string opCode {
|
||||
get {
|
||||
return this.opCodeField;
|
||||
}
|
||||
set {
|
||||
this.opCodeField = value;
|
||||
this.RaisePropertyChanged("opCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
|
||||
public string operateType {
|
||||
get {
|
||||
return this.operateTypeField;
|
||||
}
|
||||
set {
|
||||
this.operateTypeField = value;
|
||||
this.RaisePropertyChanged("operateType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
|
||||
public string produCode {
|
||||
get {
|
||||
return this.produCodeField;
|
||||
}
|
||||
set {
|
||||
this.produCodeField = value;
|
||||
this.RaisePropertyChanged("produCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)]
|
||||
public string site {
|
||||
get {
|
||||
return this.siteField;
|
||||
}
|
||||
set {
|
||||
this.siteField = value;
|
||||
this.RaisePropertyChanged("site");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)]
|
||||
public string station {
|
||||
get {
|
||||
return this.stationField;
|
||||
}
|
||||
set {
|
||||
this.stationField = value;
|
||||
this.RaisePropertyChanged("station");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)]
|
||||
public string unEffectiveQty {
|
||||
get {
|
||||
return this.unEffectiveQtyField;
|
||||
}
|
||||
set {
|
||||
this.unEffectiveQtyField = value;
|
||||
this.RaisePropertyChanged("unEffectiveQty");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)]
|
||||
public string workCenter {
|
||||
get {
|
||||
return this.workCenterField;
|
||||
}
|
||||
set {
|
||||
this.workCenterField = value;
|
||||
this.RaisePropertyChanged("workCenter");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)]
|
||||
public string workOrderCode {
|
||||
get {
|
||||
return this.workOrderCodeField;
|
||||
}
|
||||
set {
|
||||
this.workOrderCodeField = value;
|
||||
this.RaisePropertyChanged("workOrderCode");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="daq", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class daq {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_daq.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_daq.uexDaqInfoExTo[] arg1;
|
||||
|
||||
public daq() {
|
||||
}
|
||||
|
||||
public daq(ExternalDataSync.ESB_daq.interfaceRequestHeader arg0, ExternalDataSync.ESB_daq.uexDaqInfoExTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="daqResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class daqResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_daq.interfaceResponse @return;
|
||||
|
||||
public daqResponse() {
|
||||
}
|
||||
|
||||
public daqResponse(ExternalDataSync.ESB_daq.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface UexDaqInfoInterfaceChannel : ExternalDataSync.ESB_daq.UexDaqInfoInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class UexDaqInfoInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_daq.UexDaqInfoInterface>, ExternalDataSync.ESB_daq.UexDaqInfoInterface {
|
||||
|
||||
public UexDaqInfoInterfaceClient() {
|
||||
}
|
||||
|
||||
public UexDaqInfoInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public UexDaqInfoInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public UexDaqInfoInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public UexDaqInfoInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_daq.daqResponse ExternalDataSync.ESB_daq.UexDaqInfoInterface.daq(ExternalDataSync.ESB_daq.daq request) {
|
||||
return base.Channel.daq(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_daq.interfaceResponse daq(ExternalDataSync.ESB_daq.interfaceRequestHeader arg0, ExternalDataSync.ESB_daq.uexDaqInfoExTo[] arg1) {
|
||||
ExternalDataSync.ESB_daq.daq inValue = new ExternalDataSync.ESB_daq.daq();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_daq.daqResponse retVal = ((ExternalDataSync.ESB_daq.UexDaqInfoInterface)(this)).daq(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_daq.daqResponse> ExternalDataSync.ESB_daq.UexDaqInfoInterface.daqAsync(ExternalDataSync.ESB_daq.daq request) {
|
||||
return base.Channel.daqAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_daq.daqResponse> daqAsync(ExternalDataSync.ESB_daq.interfaceRequestHeader arg0, ExternalDataSync.ESB_daq.uexDaqInfoExTo[] arg1) {
|
||||
ExternalDataSync.ESB_daq.daq inValue = new ExternalDataSync.ESB_daq.daq();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_daq.UexDaqInfoInterface)(this)).daqAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
SlMesDbIterface/Connected Services/ESB_daq/Reference.svcmap
Normal file
32
SlMesDbIterface/Connected Services/ESB_daq/Reference.svcmap
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="9cba466f-eb98-4f73-b6d5-3a80dd30f27c" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="UexDaqInfoInterface2.wsdl" MetadataType="Wsdl" ID="de04cae3-23bb-4982-92ad-62f3c4ad9b75" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_PassingPointInfo%2FWSDLs%2FWSDL_1042018060" />
|
||||
<MetadataFile FileName="uexDaqInfoInterface.wsdl" MetadataType="Wsdl" ID="a4040abc-a4cd-4e0b-bf85-af4d04b5cadd" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS?wsdl" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="UexDaqInfoInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="daq" type="ns1:daq" />
|
||||
<xsd:element name="daqResponse" type="ns1:daqResponse" />
|
||||
<xsd:complexType name="daq">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:uexDaqInfoExTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="uexDaqInfoExTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="containerID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="daqDate" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="daqID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="daqType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="discardQty" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="effectiveQty" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="opCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="operateType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="produCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="site" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="station" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="unEffectiveQty" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCenter" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workOrderCode" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="daqResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="daq">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:daq" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="daqResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:daqResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="UexDaqInfoInterface">
|
||||
<WL5G3N0:operation name="daq">
|
||||
<WL5G3N0:input name="daq" message="WL5G3N1:daq" />
|
||||
<WL5G3N0:output name="daqResponse" message="WL5G3N1:daqResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="uexDaqInfoInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="uexDaqInfoInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS" binding="basicHttpBinding" bindingConfiguration="uexDaqInfoInterfaceSoapBinding" contract="ESB_daq.UexDaqInfoInterface" name="UexDaqInfoInterfaceImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS" binding="basicHttpBinding" bindingConfiguration="uexDaqInfoInterfaceSoapBinding" contract="ESB_daq.UexDaqInfoInterface" name="UexDaqInfoInterfaceImplPort" />" contractName="ESB_daq.UexDaqInfoInterface" name="UexDaqInfoInterfaceImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="QM4lB3sWea9hV5pvKDRwVFUdldT3A3pYVSs5J2/Ow+s=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="uexDaqInfoInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>uexDaqInfoInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="UexDaqInfoInterfaceImplPort" contract="ESB_daq.UexDaqInfoInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS" bindingConfiguration="uexDaqInfoInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>uexDaqInfoInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_daq.UexDaqInfoInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UexDaqInfoInterfaceImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="uexDaqInfoInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_PassingPointInfo%2FWSDLs%2FWSDL_1042018060" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="uexDaqInfoInterfaceSoapBinding" type="WL5G3N1:UexDaqInfoInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="daq">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="daq">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="daqResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="uexDaqInfoInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="UexDaqInfoInterfaceImplPort" binding="WL5G3N3:uexDaqInfoInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_PassingPointInfo/ProxyServices/PassingPointInfoPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="energyResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_energy.energyResponse, Connected Services.ESB_energy.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_energy.interfaceResponse, Connected Services.ESB_energy.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="PctEnergyInfoInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="energy" type="ns1:energy" />
|
||||
<xsd:element name="energyResponse" type="ns1:energyResponse" />
|
||||
<xsd:complexType name="energy">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:pctEnergyInfoTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="pctEnergyInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="accrueNum" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="energyType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="powerLevel" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="powerLoad" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sourceCode" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="energyResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="energyResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:energyResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="energy">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:energy" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="PctEnergyInfoInterface">
|
||||
<WL5G3N0:operation name="energy">
|
||||
<WL5G3N0:input name="energy" message="WL5G3N1:energy" />
|
||||
<WL5G3N0:output name="energyResponse" message="WL5G3N1:energyResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
413
SlMesDbIterface/Connected Services/ESB_energy/Reference.cs
Normal file
413
SlMesDbIterface/Connected Services/ESB_energy/Reference.cs
Normal file
@@ -0,0 +1,413 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_energy {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_energy.PctEnergyInfoInterface")]
|
||||
public interface PctEnergyInfoInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_energy.energyResponse energy(ExternalDataSync.ESB_energy.energy request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_energy.energyResponse> energyAsync(ExternalDataSync.ESB_energy.energy request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class pctEnergyInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string accrueNumField;
|
||||
|
||||
private string energyTypeField;
|
||||
|
||||
private string powerLevelField;
|
||||
|
||||
private string powerLoadField;
|
||||
|
||||
private string sourceCodeField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string accrueNum {
|
||||
get {
|
||||
return this.accrueNumField;
|
||||
}
|
||||
set {
|
||||
this.accrueNumField = value;
|
||||
this.RaisePropertyChanged("accrueNum");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string energyType {
|
||||
get {
|
||||
return this.energyTypeField;
|
||||
}
|
||||
set {
|
||||
this.energyTypeField = value;
|
||||
this.RaisePropertyChanged("energyType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string powerLevel {
|
||||
get {
|
||||
return this.powerLevelField;
|
||||
}
|
||||
set {
|
||||
this.powerLevelField = value;
|
||||
this.RaisePropertyChanged("powerLevel");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string powerLoad {
|
||||
get {
|
||||
return this.powerLoadField;
|
||||
}
|
||||
set {
|
||||
this.powerLoadField = value;
|
||||
this.RaisePropertyChanged("powerLoad");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string sourceCode {
|
||||
get {
|
||||
return this.sourceCodeField;
|
||||
}
|
||||
set {
|
||||
this.sourceCodeField = value;
|
||||
this.RaisePropertyChanged("sourceCode");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="energy", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class energy {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_energy.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_energy.pctEnergyInfoTo[] arg1;
|
||||
|
||||
public energy() {
|
||||
}
|
||||
|
||||
public energy(ExternalDataSync.ESB_energy.interfaceRequestHeader arg0, ExternalDataSync.ESB_energy.pctEnergyInfoTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="energyResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class energyResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_energy.interfaceResponse @return;
|
||||
|
||||
public energyResponse() {
|
||||
}
|
||||
|
||||
public energyResponse(ExternalDataSync.ESB_energy.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface PctEnergyInfoInterfaceChannel : ExternalDataSync.ESB_energy.PctEnergyInfoInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class PctEnergyInfoInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_energy.PctEnergyInfoInterface>, ExternalDataSync.ESB_energy.PctEnergyInfoInterface {
|
||||
|
||||
public PctEnergyInfoInterfaceClient() {
|
||||
}
|
||||
|
||||
public PctEnergyInfoInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public PctEnergyInfoInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public PctEnergyInfoInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public PctEnergyInfoInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_energy.energyResponse ExternalDataSync.ESB_energy.PctEnergyInfoInterface.energy(ExternalDataSync.ESB_energy.energy request) {
|
||||
return base.Channel.energy(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_energy.interfaceResponse energy(ExternalDataSync.ESB_energy.interfaceRequestHeader arg0, ExternalDataSync.ESB_energy.pctEnergyInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_energy.energy inValue = new ExternalDataSync.ESB_energy.energy();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_energy.energyResponse retVal = ((ExternalDataSync.ESB_energy.PctEnergyInfoInterface)(this)).energy(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_energy.energyResponse> ExternalDataSync.ESB_energy.PctEnergyInfoInterface.energyAsync(ExternalDataSync.ESB_energy.energy request) {
|
||||
return base.Channel.energyAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_energy.energyResponse> energyAsync(ExternalDataSync.ESB_energy.interfaceRequestHeader arg0, ExternalDataSync.ESB_energy.pctEnergyInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_energy.energy inValue = new ExternalDataSync.ESB_energy.energy();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_energy.PctEnergyInfoInterface)(this)).energyAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="ae6707dc-5274-42a9-a407-44a02fe7b381" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="pctEnergyInfoInterface.wsdl" MetadataType="Wsdl" ID="c2709c9d-09e5-4ae7-8097-8401301695d7" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS?wsdl" />
|
||||
<MetadataFile FileName="PctEnergyInfoInterface1.wsdl" MetadataType="Wsdl" ID="efea952a-2683-4bb8-8fca-d4169972e424" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EnergyInfo%2FWSDLs%2FWSDL_2013299143" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="pctEnergyInfoInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="pctEnergyInfoInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS" binding="basicHttpBinding" bindingConfiguration="pctEnergyInfoInterfaceSoapBinding" contract="ESB_energy.PctEnergyInfoInterface" name="PctEnergyInfoImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS" binding="basicHttpBinding" bindingConfiguration="pctEnergyInfoInterfaceSoapBinding" contract="ESB_energy.PctEnergyInfoInterface" name="PctEnergyInfoImplPort" />" contractName="ESB_energy.PctEnergyInfoInterface" name="PctEnergyInfoImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="ddt6azn2uC73fWuvID7sDxATLJZ8pdFL7Z68vC2r3TI=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="pctEnergyInfoInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>pctEnergyInfoInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="PctEnergyInfoImplPort" contract="ESB_energy.PctEnergyInfoInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS" bindingConfiguration="pctEnergyInfoInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>pctEnergyInfoInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_energy.PctEnergyInfoInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>PctEnergyInfoImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="pctEnergyInfoInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EnergyInfo%2FWSDLs%2FWSDL_2013299143" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="pctEnergyInfoInterfaceSoapBinding" type="WL5G3N1:PctEnergyInfoInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="energy">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="energy">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="energyResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="pctEnergyInfoInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="PctEnergyInfoImplPort" binding="WL5G3N3:pctEnergyInfoInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EnergyInfo/ProxyServices/EnergyInfoPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="EquipExceInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="excep" type="ns1:excep" />
|
||||
<xsd:element name="excepResponse" type="ns1:excepResponse" />
|
||||
<xsd:complexType name="excep">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:equipExceInfoTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="equipExceInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="acqTime" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="alarmContent" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="alarmNumber" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="equipCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="equipState" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="isAlarm" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="opCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="site" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="stateValue" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCellCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCenter" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="excepResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="excepResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:excepResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="excep">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:excep" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="EquipExceInterface">
|
||||
<WL5G3N0:operation name="excep">
|
||||
<WL5G3N0:input name="excep" message="WL5G3N1:excep" />
|
||||
<WL5G3N0:output name="excepResponse" message="WL5G3N1:excepResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="excepResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_excep.excepResponse, Connected Services.ESB_excep.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_excep.interfaceResponse, Connected Services.ESB_excep.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
497
SlMesDbIterface/Connected Services/ESB_excep/Reference.cs
Normal file
497
SlMesDbIterface/Connected Services/ESB_excep/Reference.cs
Normal file
@@ -0,0 +1,497 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_excep {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_excep.EquipExceInterface")]
|
||||
public interface EquipExceInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_excep.excepResponse excep(ExternalDataSync.ESB_excep.excep request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_excep.excepResponse> excepAsync(ExternalDataSync.ESB_excep.excep request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class equipExceInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string acqTimeField;
|
||||
|
||||
private string alarmContentField;
|
||||
|
||||
private string alarmNumberField;
|
||||
|
||||
private string equipCodeField;
|
||||
|
||||
private string equipStateField;
|
||||
|
||||
private string isAlarmField;
|
||||
|
||||
private string opCodeField;
|
||||
|
||||
private string siteField;
|
||||
|
||||
private string stateValueField;
|
||||
|
||||
private string workCellCodeField;
|
||||
|
||||
private string workCenterField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string acqTime {
|
||||
get {
|
||||
return this.acqTimeField;
|
||||
}
|
||||
set {
|
||||
this.acqTimeField = value;
|
||||
this.RaisePropertyChanged("acqTime");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string alarmContent {
|
||||
get {
|
||||
return this.alarmContentField;
|
||||
}
|
||||
set {
|
||||
this.alarmContentField = value;
|
||||
this.RaisePropertyChanged("alarmContent");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string alarmNumber {
|
||||
get {
|
||||
return this.alarmNumberField;
|
||||
}
|
||||
set {
|
||||
this.alarmNumberField = value;
|
||||
this.RaisePropertyChanged("alarmNumber");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string equipCode {
|
||||
get {
|
||||
return this.equipCodeField;
|
||||
}
|
||||
set {
|
||||
this.equipCodeField = value;
|
||||
this.RaisePropertyChanged("equipCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string equipState {
|
||||
get {
|
||||
return this.equipStateField;
|
||||
}
|
||||
set {
|
||||
this.equipStateField = value;
|
||||
this.RaisePropertyChanged("equipState");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string isAlarm {
|
||||
get {
|
||||
return this.isAlarmField;
|
||||
}
|
||||
set {
|
||||
this.isAlarmField = value;
|
||||
this.RaisePropertyChanged("isAlarm");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string opCode {
|
||||
get {
|
||||
return this.opCodeField;
|
||||
}
|
||||
set {
|
||||
this.opCodeField = value;
|
||||
this.RaisePropertyChanged("opCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
|
||||
public string site {
|
||||
get {
|
||||
return this.siteField;
|
||||
}
|
||||
set {
|
||||
this.siteField = value;
|
||||
this.RaisePropertyChanged("site");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
|
||||
public string stateValue {
|
||||
get {
|
||||
return this.stateValueField;
|
||||
}
|
||||
set {
|
||||
this.stateValueField = value;
|
||||
this.RaisePropertyChanged("stateValue");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)]
|
||||
public string workCellCode {
|
||||
get {
|
||||
return this.workCellCodeField;
|
||||
}
|
||||
set {
|
||||
this.workCellCodeField = value;
|
||||
this.RaisePropertyChanged("workCellCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)]
|
||||
public string workCenter {
|
||||
get {
|
||||
return this.workCenterField;
|
||||
}
|
||||
set {
|
||||
this.workCenterField = value;
|
||||
this.RaisePropertyChanged("workCenter");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="excep", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class excep {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_excep.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_excep.equipExceInfoTo[] arg1;
|
||||
|
||||
public excep() {
|
||||
}
|
||||
|
||||
public excep(ExternalDataSync.ESB_excep.interfaceRequestHeader arg0, ExternalDataSync.ESB_excep.equipExceInfoTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="excepResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class excepResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_excep.interfaceResponse @return;
|
||||
|
||||
public excepResponse() {
|
||||
}
|
||||
|
||||
public excepResponse(ExternalDataSync.ESB_excep.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface EquipExceInterfaceChannel : ExternalDataSync.ESB_excep.EquipExceInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class EquipExceInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_excep.EquipExceInterface>, ExternalDataSync.ESB_excep.EquipExceInterface {
|
||||
|
||||
public EquipExceInterfaceClient() {
|
||||
}
|
||||
|
||||
public EquipExceInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public EquipExceInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public EquipExceInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public EquipExceInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_excep.excepResponse ExternalDataSync.ESB_excep.EquipExceInterface.excep(ExternalDataSync.ESB_excep.excep request) {
|
||||
return base.Channel.excep(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_excep.interfaceResponse excep(ExternalDataSync.ESB_excep.interfaceRequestHeader arg0, ExternalDataSync.ESB_excep.equipExceInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_excep.excep inValue = new ExternalDataSync.ESB_excep.excep();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_excep.excepResponse retVal = ((ExternalDataSync.ESB_excep.EquipExceInterface)(this)).excep(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_excep.excepResponse> ExternalDataSync.ESB_excep.EquipExceInterface.excepAsync(ExternalDataSync.ESB_excep.excep request) {
|
||||
return base.Channel.excepAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_excep.excepResponse> excepAsync(ExternalDataSync.ESB_excep.interfaceRequestHeader arg0, ExternalDataSync.ESB_excep.equipExceInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_excep.excep inValue = new ExternalDataSync.ESB_excep.excep();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_excep.EquipExceInterface)(this)).excepAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="74f33aae-1484-4fa1-8a1e-11acfa952616" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="EquipExceInterface2.wsdl" MetadataType="Wsdl" ID="2559116e-89fd-45cb-869c-00cb11f5e92a" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EquipmentFailInfo%2FWSDLs%2FWSDL_550822474" />
|
||||
<MetadataFile FileName="equipExceInterface1.wsdl" MetadataType="Wsdl" ID="674d5ed4-f73d-4bd9-b030-b12210ac1d09" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS?wsdl" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="equipExceInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="equipExceInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS" binding="basicHttpBinding" bindingConfiguration="equipExceInterfaceSoapBinding" contract="ESB_excep.EquipExceInterface" name="EquipExceInterfaceImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS" binding="basicHttpBinding" bindingConfiguration="equipExceInterfaceSoapBinding" contract="ESB_excep.EquipExceInterface" name="EquipExceInterfaceImplPort" />" contractName="ESB_excep.EquipExceInterface" name="EquipExceInterfaceImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="JYDj3hsebBO5XmGrB5DkQ6fv04NeLteCMXhusiChf7c=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="equipExceInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>equipExceInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="EquipExceInterfaceImplPort" contract="ESB_excep.EquipExceInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS" bindingConfiguration="equipExceInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>equipExceInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_excep.EquipExceInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>EquipExceInterfaceImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="equipExceInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EquipmentFailInfo%2FWSDLs%2FWSDL_550822474" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="equipExceInterfaceSoapBinding" type="WL5G3N1:EquipExceInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="excep">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="excep">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="excepResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="equipExceInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="EquipExceInterfaceImplPort" binding="WL5G3N3:equipExceInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentFailInfo/ProxyServices/EquipmentFailInfoPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="EquipHistoryInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="history" type="ns1:history" />
|
||||
<xsd:element name="historyResponse" type="ns1:historyResponse" />
|
||||
<xsd:complexType name="history">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:equipHistoryInfoTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="equipHistoryInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="equipCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="equipState" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="opCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="site" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="stateStartTime" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="stateSwtichTime" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="stateValue" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCellCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCenter" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="historyResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="history">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:history" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="historyResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:historyResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="EquipHistoryInterface">
|
||||
<WL5G3N0:operation name="history">
|
||||
<WL5G3N0:input name="history" message="WL5G3N1:history" />
|
||||
<WL5G3N0:output name="historyResponse" message="WL5G3N1:historyResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="historyResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_history.historyResponse, Connected Services.ESB_history.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_history.interfaceResponse, Connected Services.ESB_history.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
469
SlMesDbIterface/Connected Services/ESB_history/Reference.cs
Normal file
469
SlMesDbIterface/Connected Services/ESB_history/Reference.cs
Normal file
@@ -0,0 +1,469 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_history {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_history.EquipHistoryInterface")]
|
||||
public interface EquipHistoryInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_history.historyResponse history(ExternalDataSync.ESB_history.history request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_history.historyResponse> historyAsync(ExternalDataSync.ESB_history.history request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class equipHistoryInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string equipCodeField;
|
||||
|
||||
private string equipStateField;
|
||||
|
||||
private string opCodeField;
|
||||
|
||||
private string siteField;
|
||||
|
||||
private string stateStartTimeField;
|
||||
|
||||
private string stateSwtichTimeField;
|
||||
|
||||
private string stateValueField;
|
||||
|
||||
private string workCellCodeField;
|
||||
|
||||
private string workCenterField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string equipCode {
|
||||
get {
|
||||
return this.equipCodeField;
|
||||
}
|
||||
set {
|
||||
this.equipCodeField = value;
|
||||
this.RaisePropertyChanged("equipCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string equipState {
|
||||
get {
|
||||
return this.equipStateField;
|
||||
}
|
||||
set {
|
||||
this.equipStateField = value;
|
||||
this.RaisePropertyChanged("equipState");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string opCode {
|
||||
get {
|
||||
return this.opCodeField;
|
||||
}
|
||||
set {
|
||||
this.opCodeField = value;
|
||||
this.RaisePropertyChanged("opCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string site {
|
||||
get {
|
||||
return this.siteField;
|
||||
}
|
||||
set {
|
||||
this.siteField = value;
|
||||
this.RaisePropertyChanged("site");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string stateStartTime {
|
||||
get {
|
||||
return this.stateStartTimeField;
|
||||
}
|
||||
set {
|
||||
this.stateStartTimeField = value;
|
||||
this.RaisePropertyChanged("stateStartTime");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string stateSwtichTime {
|
||||
get {
|
||||
return this.stateSwtichTimeField;
|
||||
}
|
||||
set {
|
||||
this.stateSwtichTimeField = value;
|
||||
this.RaisePropertyChanged("stateSwtichTime");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string stateValue {
|
||||
get {
|
||||
return this.stateValueField;
|
||||
}
|
||||
set {
|
||||
this.stateValueField = value;
|
||||
this.RaisePropertyChanged("stateValue");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
|
||||
public string workCellCode {
|
||||
get {
|
||||
return this.workCellCodeField;
|
||||
}
|
||||
set {
|
||||
this.workCellCodeField = value;
|
||||
this.RaisePropertyChanged("workCellCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
|
||||
public string workCenter {
|
||||
get {
|
||||
return this.workCenterField;
|
||||
}
|
||||
set {
|
||||
this.workCenterField = value;
|
||||
this.RaisePropertyChanged("workCenter");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="history", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class history {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_history.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1;
|
||||
|
||||
public history() {
|
||||
}
|
||||
|
||||
public history(ExternalDataSync.ESB_history.interfaceRequestHeader arg0, ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="historyResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class historyResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_history.interfaceResponse @return;
|
||||
|
||||
public historyResponse() {
|
||||
}
|
||||
|
||||
public historyResponse(ExternalDataSync.ESB_history.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface EquipHistoryInterfaceChannel : ExternalDataSync.ESB_history.EquipHistoryInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class EquipHistoryInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_history.EquipHistoryInterface>, ExternalDataSync.ESB_history.EquipHistoryInterface {
|
||||
|
||||
public EquipHistoryInterfaceClient() {
|
||||
}
|
||||
|
||||
public EquipHistoryInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public EquipHistoryInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public EquipHistoryInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public EquipHistoryInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_history.historyResponse ExternalDataSync.ESB_history.EquipHistoryInterface.history(ExternalDataSync.ESB_history.history request) {
|
||||
return base.Channel.history(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_history.interfaceResponse history(ExternalDataSync.ESB_history.interfaceRequestHeader arg0, ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_history.history inValue = new ExternalDataSync.ESB_history.history();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_history.historyResponse retVal = ((ExternalDataSync.ESB_history.EquipHistoryInterface)(this)).history(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_history.historyResponse> ExternalDataSync.ESB_history.EquipHistoryInterface.historyAsync(ExternalDataSync.ESB_history.history request) {
|
||||
return base.Channel.historyAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_history.historyResponse> historyAsync(ExternalDataSync.ESB_history.interfaceRequestHeader arg0, ExternalDataSync.ESB_history.equipHistoryInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_history.history inValue = new ExternalDataSync.ESB_history.history();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_history.EquipHistoryInterface)(this)).historyAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="dc7546d5-f3fc-4980-80ff-b5014c73b7d8" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="equipHistoryInterface.wsdl" MetadataType="Wsdl" ID="6ca917bc-3b1f-42db-87fb-08deadb43810" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS?wsdl" />
|
||||
<MetadataFile FileName="EquipHistoryInterface2.wsdl" MetadataType="Wsdl" ID="65d70d22-a8e0-45fb-8917-8894052b027f" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EquipmentStateInfo%2FWSDLs%2FWSDL_-1541873354" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="equipHistoryInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="equipHistoryInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS" binding="basicHttpBinding" bindingConfiguration="equipHistoryInterfaceSoapBinding" contract="ESB_history.EquipHistoryInterface" name="EquipHistoryInterfaceImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS" binding="basicHttpBinding" bindingConfiguration="equipHistoryInterfaceSoapBinding" contract="ESB_history.EquipHistoryInterface" name="EquipHistoryInterfaceImplPort" />" contractName="ESB_history.EquipHistoryInterface" name="EquipHistoryInterfaceImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="wkl+HVD9zmeohdIkIYEveoGIbYGWr0eWx6AyTj4Nb4E=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="equipHistoryInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>equipHistoryInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="EquipHistoryInterfaceImplPort" contract="ESB_history.EquipHistoryInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS" bindingConfiguration="equipHistoryInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>equipHistoryInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_history.EquipHistoryInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>EquipHistoryInterfaceImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="equipHistoryInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_EquipmentStateInfo%2FWSDLs%2FWSDL_-1541873354" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="equipHistoryInterfaceSoapBinding" type="WL5G3N1:EquipHistoryInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="history">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="history">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="historyResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="equipHistoryInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="EquipHistoryInterfaceImplPort" binding="WL5G3N3:equipHistoryInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_EquipmentStateInfo/ProxyServices/EquipmentStateInfoPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="interfaceResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_life.interfaceResponse, Connected Services.ESB_life.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="lifeResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>ExternalDataSync.ESB_life.lifeResponse, Connected Services.ESB_life.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
567
SlMesDbIterface/Connected Services/ESB_life/Reference.cs
Normal file
567
SlMesDbIterface/Connected Services/ESB_life/Reference.cs
Normal file
@@ -0,0 +1,567 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.ESB_life {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_life.UrmRsBaseLifeInterface")]
|
||||
public interface UrmRsBaseLifeInterface {
|
||||
|
||||
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
ExternalDataSync.ESB_life.lifeResponse life(ExternalDataSync.ESB_life.life request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_life.lifeResponse> lifeAsync(ExternalDataSync.ESB_life.life request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string receiverField;
|
||||
|
||||
private string senderField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string receiver {
|
||||
get {
|
||||
return this.receiverField;
|
||||
}
|
||||
set {
|
||||
this.receiverField = value;
|
||||
this.RaisePropertyChanged("receiver");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string sender {
|
||||
get {
|
||||
return this.senderField;
|
||||
}
|
||||
set {
|
||||
this.senderField = value;
|
||||
this.RaisePropertyChanged("sender");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string commentField;
|
||||
|
||||
private string interfaceIDField;
|
||||
|
||||
private string messageIDField;
|
||||
|
||||
private string resultCodeField;
|
||||
|
||||
private string resultMessageField;
|
||||
|
||||
private string resultTypeField;
|
||||
|
||||
private string transIDField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string comment {
|
||||
get {
|
||||
return this.commentField;
|
||||
}
|
||||
set {
|
||||
this.commentField = value;
|
||||
this.RaisePropertyChanged("comment");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string interfaceID {
|
||||
get {
|
||||
return this.interfaceIDField;
|
||||
}
|
||||
set {
|
||||
this.interfaceIDField = value;
|
||||
this.RaisePropertyChanged("interfaceID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string messageID {
|
||||
get {
|
||||
return this.messageIDField;
|
||||
}
|
||||
set {
|
||||
this.messageIDField = value;
|
||||
this.RaisePropertyChanged("messageID");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string resultCode {
|
||||
get {
|
||||
return this.resultCodeField;
|
||||
}
|
||||
set {
|
||||
this.resultCodeField = value;
|
||||
this.RaisePropertyChanged("resultCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string resultMessage {
|
||||
get {
|
||||
return this.resultMessageField;
|
||||
}
|
||||
set {
|
||||
this.resultMessageField = value;
|
||||
this.RaisePropertyChanged("resultMessage");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string resultType {
|
||||
get {
|
||||
return this.resultTypeField;
|
||||
}
|
||||
set {
|
||||
this.resultTypeField = value;
|
||||
this.RaisePropertyChanged("resultType");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string transID {
|
||||
get {
|
||||
return this.transIDField;
|
||||
}
|
||||
set {
|
||||
this.transIDField = value;
|
||||
this.RaisePropertyChanged("transID");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
|
||||
public partial class baseLifeInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string acqTimeField;
|
||||
|
||||
private string dupField;
|
||||
|
||||
private string equipCodeField;
|
||||
|
||||
private string kpartCodeField;
|
||||
|
||||
private string magField;
|
||||
|
||||
private string placeField;
|
||||
|
||||
private string proCodeField;
|
||||
|
||||
private string siteField;
|
||||
|
||||
private string toolAlarmField;
|
||||
|
||||
private string toolCodeField;
|
||||
|
||||
private string toolProductionField;
|
||||
|
||||
private string toolResidualField;
|
||||
|
||||
private string toolSetField;
|
||||
|
||||
private string workCellCodeField;
|
||||
|
||||
private string workCenterField;
|
||||
|
||||
private string tNumberField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string acqTime {
|
||||
get {
|
||||
return this.acqTimeField;
|
||||
}
|
||||
set {
|
||||
this.acqTimeField = value;
|
||||
this.RaisePropertyChanged("acqTime");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string dup {
|
||||
get {
|
||||
return this.dupField;
|
||||
}
|
||||
set {
|
||||
this.dupField = value;
|
||||
this.RaisePropertyChanged("dup");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string equipCode {
|
||||
get {
|
||||
return this.equipCodeField;
|
||||
}
|
||||
set {
|
||||
this.equipCodeField = value;
|
||||
this.RaisePropertyChanged("equipCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string kpartCode {
|
||||
get {
|
||||
return this.kpartCodeField;
|
||||
}
|
||||
set {
|
||||
this.kpartCodeField = value;
|
||||
this.RaisePropertyChanged("kpartCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string mag {
|
||||
get {
|
||||
return this.magField;
|
||||
}
|
||||
set {
|
||||
this.magField = value;
|
||||
this.RaisePropertyChanged("mag");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string place {
|
||||
get {
|
||||
return this.placeField;
|
||||
}
|
||||
set {
|
||||
this.placeField = value;
|
||||
this.RaisePropertyChanged("place");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string proCode {
|
||||
get {
|
||||
return this.proCodeField;
|
||||
}
|
||||
set {
|
||||
this.proCodeField = value;
|
||||
this.RaisePropertyChanged("proCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
|
||||
public string site {
|
||||
get {
|
||||
return this.siteField;
|
||||
}
|
||||
set {
|
||||
this.siteField = value;
|
||||
this.RaisePropertyChanged("site");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
|
||||
public string toolAlarm {
|
||||
get {
|
||||
return this.toolAlarmField;
|
||||
}
|
||||
set {
|
||||
this.toolAlarmField = value;
|
||||
this.RaisePropertyChanged("toolAlarm");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)]
|
||||
public string toolCode {
|
||||
get {
|
||||
return this.toolCodeField;
|
||||
}
|
||||
set {
|
||||
this.toolCodeField = value;
|
||||
this.RaisePropertyChanged("toolCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)]
|
||||
public string toolProduction {
|
||||
get {
|
||||
return this.toolProductionField;
|
||||
}
|
||||
set {
|
||||
this.toolProductionField = value;
|
||||
this.RaisePropertyChanged("toolProduction");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)]
|
||||
public string toolResidual {
|
||||
get {
|
||||
return this.toolResidualField;
|
||||
}
|
||||
set {
|
||||
this.toolResidualField = value;
|
||||
this.RaisePropertyChanged("toolResidual");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)]
|
||||
public string toolSet {
|
||||
get {
|
||||
return this.toolSetField;
|
||||
}
|
||||
set {
|
||||
this.toolSetField = value;
|
||||
this.RaisePropertyChanged("toolSet");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)]
|
||||
public string workCellCode {
|
||||
get {
|
||||
return this.workCellCodeField;
|
||||
}
|
||||
set {
|
||||
this.workCellCodeField = value;
|
||||
this.RaisePropertyChanged("workCellCode");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)]
|
||||
public string workCenter {
|
||||
get {
|
||||
return this.workCenterField;
|
||||
}
|
||||
set {
|
||||
this.workCenterField = value;
|
||||
this.RaisePropertyChanged("workCenter");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=15)]
|
||||
public string tNumber {
|
||||
get {
|
||||
return this.tNumberField;
|
||||
}
|
||||
set {
|
||||
this.tNumberField = value;
|
||||
this.RaisePropertyChanged("tNumber");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="life", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class life {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_life.interfaceRequestHeader arg0;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1;
|
||||
|
||||
public life() {
|
||||
}
|
||||
|
||||
public life(ExternalDataSync.ESB_life.interfaceRequestHeader arg0, ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1) {
|
||||
this.arg0 = arg0;
|
||||
this.arg1 = arg1;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="lifeResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
|
||||
public partial class lifeResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public ExternalDataSync.ESB_life.interfaceResponse @return;
|
||||
|
||||
public lifeResponse() {
|
||||
}
|
||||
|
||||
public lifeResponse(ExternalDataSync.ESB_life.interfaceResponse @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface UrmRsBaseLifeInterfaceChannel : ExternalDataSync.ESB_life.UrmRsBaseLifeInterface, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class UrmRsBaseLifeInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_life.UrmRsBaseLifeInterface>, ExternalDataSync.ESB_life.UrmRsBaseLifeInterface {
|
||||
|
||||
public UrmRsBaseLifeInterfaceClient() {
|
||||
}
|
||||
|
||||
public UrmRsBaseLifeInterfaceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public UrmRsBaseLifeInterfaceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public UrmRsBaseLifeInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public UrmRsBaseLifeInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
ExternalDataSync.ESB_life.lifeResponse ExternalDataSync.ESB_life.UrmRsBaseLifeInterface.life(ExternalDataSync.ESB_life.life request) {
|
||||
return base.Channel.life(request);
|
||||
}
|
||||
|
||||
public ExternalDataSync.ESB_life.interfaceResponse life(ExternalDataSync.ESB_life.interfaceRequestHeader arg0, ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_life.life inValue = new ExternalDataSync.ESB_life.life();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
ExternalDataSync.ESB_life.lifeResponse retVal = ((ExternalDataSync.ESB_life.UrmRsBaseLifeInterface)(this)).life(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<ExternalDataSync.ESB_life.lifeResponse> ExternalDataSync.ESB_life.UrmRsBaseLifeInterface.lifeAsync(ExternalDataSync.ESB_life.life request) {
|
||||
return base.Channel.lifeAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<ExternalDataSync.ESB_life.lifeResponse> lifeAsync(ExternalDataSync.ESB_life.interfaceRequestHeader arg0, ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1) {
|
||||
ExternalDataSync.ESB_life.life inValue = new ExternalDataSync.ESB_life.life();
|
||||
inValue.arg0 = arg0;
|
||||
inValue.arg1 = arg1;
|
||||
return ((ExternalDataSync.ESB_life.UrmRsBaseLifeInterface)(this)).lifeAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
32
SlMesDbIterface/Connected Services/ESB_life/Reference.svcmap
Normal file
32
SlMesDbIterface/Connected Services/ESB_life/Reference.svcmap
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="62efe3fb-e53a-4e49-8d20-b3acf731557f" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="UrmRsBaseLifeInterface2.wsdl" MetadataType="Wsdl" ID="f979cb2f-5ad6-4547-8593-b78b0fff9081" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_CutterStateInfo%2FWSDLs%2FWSDL_2137697370" />
|
||||
<MetadataFile FileName="urmRsBaseLifeInterface1.wsdl" MetadataType="Wsdl" ID="0293b1cb-7855-4266-92e2-5e768b5aa0a2" SourceId="1" SourceUrl="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS?wsdl" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" name="UrmRsBaseLifeInterface" targetNamespace="http://zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:types>
|
||||
<xs:schema xmlns:tns="http://zk.ws.epichust.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://zk.ws.epichust.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" targetNamespace="http://zk.ws.epichust.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="life" type="ns1:life" />
|
||||
<xsd:element name="lifeResponse" type="ns1:lifeResponse" />
|
||||
<xsd:complexType name="life">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="arg0" type="ns1:interfaceRequestHeader" />
|
||||
<xsd:element minOccurs="0" maxOccurs="unbounded" name="arg1" type="ns1:baseLifeInfoTo" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceRequestHeader">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="receiver" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="sender" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="baseLifeInfoTo">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="acqTime" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="dup" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="equipCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="kpartCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="mag" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="place" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="proCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="site" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolAlarm" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolProduction" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolResidual" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="toolSet" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCellCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="workCenter" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="tNumber" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="lifeResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="return" type="ns1:interfaceResponse" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="interfaceResponse">
|
||||
<xsd:sequence>
|
||||
<xsd:element minOccurs="0" name="comment" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="interfaceID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="messageID" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultCode" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultMessage" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="resultType" type="xsd:string" />
|
||||
<xsd:element minOccurs="0" name="transID" type="xsd:string" />
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xs:schema>
|
||||
</WL5G3N0:types>
|
||||
<WL5G3N0:message name="life">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:life" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:message name="lifeResponse">
|
||||
<WL5G3N0:part name="parameters" element="WL5G3N1:lifeResponse" />
|
||||
</WL5G3N0:message>
|
||||
<WL5G3N0:portType name="UrmRsBaseLifeInterface">
|
||||
<WL5G3N0:operation name="life">
|
||||
<WL5G3N0:input name="life" message="WL5G3N1:life" />
|
||||
<WL5G3N0:output name="lifeResponse" message="WL5G3N1:lifeResponse" />
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:portType>
|
||||
</WL5G3N0:definitions>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="urmRsBaseLifeInterfaceSoapBinding" />" bindingType="basicHttpBinding" name="urmRsBaseLifeInterfaceSoapBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS" binding="basicHttpBinding" bindingConfiguration="urmRsBaseLifeInterfaceSoapBinding" contract="ESB_life.UrmRsBaseLifeInterface" name="UrmRsBaseLifeInterfaceImplPort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS" binding="basicHttpBinding" bindingConfiguration="urmRsBaseLifeInterfaceSoapBinding" contract="ESB_life.UrmRsBaseLifeInterface" name="UrmRsBaseLifeInterfaceImplPort" />" contractName="ESB_life.UrmRsBaseLifeInterface" name="UrmRsBaseLifeInterfaceImplPort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="WlBvSO0elkKimLezJfwwal7fK9rjBaSYL7t7OALIu/I=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="urmRsBaseLifeInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>urmRsBaseLifeInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(集合)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="UrmRsBaseLifeInterfaceImplPort" contract="ESB_life.UrmRsBaseLifeInterface" bindingType="basicHttpBinding" address="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS" bindingConfiguration="urmRsBaseLifeInterfaceSoapBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>urmRsBaseLifeInterfaceSoapBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>ESB_life.UrmRsBaseLifeInterface</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UrmRsBaseLifeInterfaceImplPort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<WL5G3N0:definitions xmlns:WL5G3N1="http://zk.ws.epichust.com/" xmlns:WL5G3N3="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/" name="urmRsBaseLifeInterface" targetNamespace="http://impl.zk.ws.epichust.com/" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/">
|
||||
<WL5G3N0:import namespace="http://zk.ws.epichust.com/" location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS?WSDL%2FCDMOM%2FCOMMON%2FCOMMON2CDMOM_CutterStateInfo%2FWSDLs%2FWSDL_2137697370" />
|
||||
<WL5G3N0:types />
|
||||
<WL5G3N0:binding name="urmRsBaseLifeInterfaceSoapBinding" type="WL5G3N1:UrmRsBaseLifeInterface">
|
||||
<WL5G3N2:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<WL5G3N0:operation name="life">
|
||||
<WL5G3N2:operation soapAction="" style="document" />
|
||||
<WL5G3N0:input name="life">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:input>
|
||||
<WL5G3N0:output name="lifeResponse">
|
||||
<WL5G3N2:body use="literal" />
|
||||
</WL5G3N0:output>
|
||||
</WL5G3N0:operation>
|
||||
</WL5G3N0:binding>
|
||||
<WL5G3N0:service name="urmRsBaseLifeInterface">
|
||||
<WL5G3N0:documentation>OSB Service</WL5G3N0:documentation>
|
||||
<WL5G3N0:port name="UrmRsBaseLifeInterfaceImplPort" binding="WL5G3N3:urmRsBaseLifeInterfaceSoapBinding">
|
||||
<WL5G3N2:address location="http://10.6.201.184:8011/CDMOM/COMMON/COMMON2CDMOM_CutterStateInfo/ProxyServices/CutterStateInfoPS" />
|
||||
</WL5G3N0:port>
|
||||
</WL5G3N0:service>
|
||||
</WL5G3N0:definitions>
|
||||
457
SlMesDbIterface/ExternalDataSync.csproj
Normal file
457
SlMesDbIterface/ExternalDataSync.csproj
Normal file
@@ -0,0 +1,457 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" 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>{2F33D79D-1DFF-4CDA-B357-FCD5221CAB9A}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>ExternalDataSync</RootNamespace>
|
||||
<AssemblyName>ExternalDataSync</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\ExternalDataSync\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup />
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>系统管理和监控服务.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<Reference Include="BasicData">
|
||||
<HintPath>..\DLL\BasicData.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DataLinkMesWork">
|
||||
<HintPath>..\DLL\DataLinkMesWork.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpZipLib">
|
||||
<HintPath>..\DLL\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.2.0.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Owin, Version=2.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Owin.2.0.2\lib\net45\Microsoft.Owin.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Win32.Registry, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Win32.Registry.5.0.0\lib\net461\Microsoft.Win32.Registry.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI">
|
||||
<HintPath>..\DLL\NPOI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OOXML">
|
||||
<HintPath>..\DLL\NPOI.OOXML.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OpenXml4Net">
|
||||
<HintPath>..\DLL\NPOI.OpenXml4Net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OpenXmlFormats">
|
||||
<HintPath>..\DLL\NPOI.OpenXmlFormats.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpCompress, Version=0.30.1.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpCompress.0.30.1\lib\net461\SharpCompress.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.Composition" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.4.3.0\lib\net462\System.IO.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http.Formatting, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.9\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security.AccessControl, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.AccessControl.5.0.0\lib\net461\System.Security.AccessControl.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Principal.Windows, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Encoding.CodePages.5.0.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Cors, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Cors.5.2.9\lib\net45\System.Web.Cors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.9\lib\net45\System.Web.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.Cors, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Cors.5.2.9\lib\net45\System.Web.Http.Cors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.Owin, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Owin.5.2.9\lib\net45\System.Web.Http.Owin.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.SelfHost, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.SelfHost.5.2.9\lib\net45\System.Web.Http.SelfHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Http.WebHost, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.9\lib\net45\System.Web.Http.WebHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.Web.Services.Description, Version=4.10.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Web.Services.Description.4.10.2\lib\net461\System.Web.Services.Description.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AnalysisMsg.cs" />
|
||||
<Compile Include="Connected Services\ESB_base\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ESB_collt\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ESB_daq\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ESB_energy\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ESB_excep\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ESB_history\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Connected Services\ESB_life\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MessageHanlder\InterfaceUpLoad.cs" />
|
||||
<Compile Include="MessageHanlder\DeviceTools.cs" />
|
||||
<Compile Include="MessageHanlder\FTPHelper.cs" />
|
||||
<Compile Include="MessageHanlder\GetVal.cs" />
|
||||
<Compile Include="MessageHanlder\HttpCli.cs" />
|
||||
<Compile Include="MessageHanlder\IOrderController.cs" />
|
||||
<Compile Include="MessageHanlder\Re.cs" />
|
||||
<Compile Include="MessageHanlder\CallWebApi.cs" />
|
||||
<Compile Include="MessageHanlder\OExcel.cs" />
|
||||
<Compile Include="Form_MoveSqlTable.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form_MoveSqlTable.Designer.cs">
|
||||
<DependentUpon>Form_MoveSqlTable.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MOM\ReportUploadQualityData.cs" />
|
||||
<Compile Include="MOM\ReportUploadData.cs" />
|
||||
<Compile Include="MOM\ProductionCalendarBodyData.cs" />
|
||||
<Compile Include="MOM\ProductionCalendarNonProductionData.cs" />
|
||||
<Compile Include="MOM\ProductionCalendarStatutoryData.cs" />
|
||||
<Compile Include="MOM\ProductionCalendarData.cs" />
|
||||
<Compile Include="MOM\msgResHeader.cs" />
|
||||
<Compile Include="msgBody.cs" />
|
||||
<Compile Include="msg.cs" />
|
||||
<Compile Include="msgTask.cs" />
|
||||
<Compile Include="msgWork.cs" />
|
||||
<Compile Include="Mysql\solveUploadData.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="MessageHanlder\ApiTools.cs" />
|
||||
<Compile Include="MessageHanlder\ZSavePositionController.cs" />
|
||||
<Compile Include="MessageHanlder\WCController.cs" />
|
||||
<Compile Include="MessageHanlder\ZSaveTagController.cs" />
|
||||
<Compile Include="MessageHanlder\InitServer.cs" />
|
||||
<Compile Include="MessageHanlder\Z_Save_Position.cs" />
|
||||
<Compile Include="MessageHanlder\Z_Save_Tag.cs" />
|
||||
<Compile Include="MessageHanlder\msgHeader.cs" />
|
||||
<Compile Include="UMPP_ORDER.cs" />
|
||||
<Compile Include="UMPP_TASK_ORDER.cs" />
|
||||
<Compile Include="UMPP_WORK_ORDER.cs" />
|
||||
<Compile Include="uploadMessage\UpLoadMessage.cs" />
|
||||
<EmbeddedResource Include="Form_MoveSqlTable.resx">
|
||||
<DependentUpon>Form_MoveSqlTable.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="Connected Services\ESB_base\ExternalDataSync.ESB_base.baseResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_base\ExternalDataSync.ESB_base.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_base\urmRsBaseInterface.wsdl" />
|
||||
<None Include="Connected Services\ESB_base\UrmRsBaseInterface2.wsdl" />
|
||||
<None Include="Connected Services\ESB_collt\colltReInterface.wsdl" />
|
||||
<None Include="Connected Services\ESB_collt\ColltReInterface2.wsdl" />
|
||||
<None Include="Connected Services\ESB_collt\ExternalDataSync.ESB_collt.colltResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_collt\ExternalDataSync.ESB_collt.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_daq\.editorconfig" />
|
||||
<None Include="Connected Services\ESB_daq\ExternalDataSync.ESB_daq.daqResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_daq\ExternalDataSync.ESB_daq.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_daq\uexDaqInfoInterface.wsdl" />
|
||||
<None Include="Connected Services\ESB_daq\UexDaqInfoInterface2.wsdl" />
|
||||
<None Include="Connected Services\ESB_energy\ExternalDataSync.ESB_energy.energyResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_energy\ExternalDataSync.ESB_energy.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_energy\pctEnergyInfoInterface.wsdl" />
|
||||
<None Include="Connected Services\ESB_energy\PctEnergyInfoInterface1.wsdl" />
|
||||
<None Include="Connected Services\ESB_excep\equipExceInterface1.wsdl" />
|
||||
<None Include="Connected Services\ESB_excep\EquipExceInterface2.wsdl" />
|
||||
<None Include="Connected Services\ESB_excep\ExternalDataSync.ESB_excep.excepResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_excep\ExternalDataSync.ESB_excep.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_history\equipHistoryInterface.wsdl" />
|
||||
<None Include="Connected Services\ESB_history\EquipHistoryInterface2.wsdl" />
|
||||
<None Include="Connected Services\ESB_history\ExternalDataSync.ESB_history.historyResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_history\ExternalDataSync.ESB_history.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_life\ExternalDataSync.ESB_life.interfaceResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_life\ExternalDataSync.ESB_life.lifeResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_life\urmRsBaseLifeInterface1.wsdl" />
|
||||
<None Include="Connected Services\ESB_life\UrmRsBaseLifeInterface2.wsdl" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\按键分割线.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\按键分割线浅.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\动态数据查询.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\断开连接.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\连接.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\日志.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\重新加载数据.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\关闭系统.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\任务监控和查询.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon\清除.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\ESB_energy\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_energy\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_energy\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_base\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_base\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_base\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_life\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_life\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_life\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_collt\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_collt\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_collt\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_excep\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_excep\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_excep\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_history\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_history\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_history\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Connected Services\ESB_daq\configuration91.svcinfo" />
|
||||
<None Include="Connected Services\ESB_daq\configuration.svcinfo" />
|
||||
<None Include="Connected Services\ESB_daq\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<Content Include="系统管理和监控服务.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CallWebApi\03_CallWebApi.csproj">
|
||||
<Project>{727a1b50-d83a-4319-bdf6-e923f4bd41b3}</Project>
|
||||
<Name>03_CallWebApi</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\DatabaseClient\01_DatabaseClient.csproj">
|
||||
<Project>{C7C5E929-BE10-4ED6-94DB-B8D65E05E52F}</Project>
|
||||
<Name>01_DatabaseClient</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\MyLog4Net\00_MyLog4Net.csproj">
|
||||
<Project>{1dc48c83-1842-4de8-acaf-26e1e7f7c58f}</Project>
|
||||
<Name>00_MyLog4Net</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_base\" />
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_collt\" />
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_daq\" />
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_energy\" />
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_excep\" />
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_history\" />
|
||||
<WCFMetadataStorage Include="Connected Services\ESB_life\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
93
SlMesDbIterface/Form_MoveSqlTable.Designer.cs
generated
Normal file
93
SlMesDbIterface/Form_MoveSqlTable.Designer.cs
generated
Normal file
@@ -0,0 +1,93 @@
|
||||
|
||||
namespace SlMesDbIterface
|
||||
{
|
||||
partial class Form_MoveSqlTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_MoveSqlTable));
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.richTextBoxLogBox = new System.Windows.Forms.RichTextBox();
|
||||
this.button2_passstation = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(3, 29);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(141, 37);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "模拟订单下达";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// richTextBoxLogBox
|
||||
//
|
||||
this.richTextBoxLogBox.Location = new System.Drawing.Point(150, 12);
|
||||
this.richTextBoxLogBox.Name = "richTextBoxLogBox";
|
||||
this.richTextBoxLogBox.Size = new System.Drawing.Size(518, 385);
|
||||
this.richTextBoxLogBox.TabIndex = 2;
|
||||
this.richTextBoxLogBox.Text = "";
|
||||
//
|
||||
// button2_passstation
|
||||
//
|
||||
this.button2_passstation.Location = new System.Drawing.Point(3, 90);
|
||||
this.button2_passstation.Name = "button2_passstation";
|
||||
this.button2_passstation.Size = new System.Drawing.Size(141, 37);
|
||||
this.button2_passstation.TabIndex = 0;
|
||||
this.button2_passstation.Text = "开始上传按钮";
|
||||
this.button2_passstation.UseVisualStyleBackColor = true;
|
||||
this.button2_passstation.Click += new System.EventHandler(this.button1_Click1111);
|
||||
//
|
||||
// Form_MoveSqlTable
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(680, 409);
|
||||
this.Controls.Add(this.richTextBoxLogBox);
|
||||
this.Controls.Add(this.button2_passstation);
|
||||
this.Controls.Add(this.button1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "Form_MoveSqlTable";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "2023.04.09.1250";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_MoveSqlTable_FormClosing_1);
|
||||
this.Load += new System.EventHandler(this.Form_MoveSqlTable_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.RichTextBox richTextBoxLogBox;
|
||||
private System.Windows.Forms.Button button2_passstation;
|
||||
}
|
||||
}
|
||||
208
SlMesDbIterface/Form_MoveSqlTable.cs
Normal file
208
SlMesDbIterface/Form_MoveSqlTable.cs
Normal file
@@ -0,0 +1,208 @@
|
||||
using ExternalDataSync;
|
||||
using ExternalDataSync.MOM;
|
||||
using Newtonsoft.Json;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using PLMTEST;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WebApi;
|
||||
using static NPOI.HSSF.Record.UnicodeString;
|
||||
using static System.Configuration.ConfigurationManager;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
namespace SlMesDbIterface
|
||||
{
|
||||
public partial class Form_MoveSqlTable : Form
|
||||
{
|
||||
public static Action<double, String, String> Delegate_UpdateValue = null;
|
||||
public int count = 0;
|
||||
public static int upload_Interval = Convert.ToInt32(AppSettings["upload_Interval"]);
|
||||
public static int upload_Interval_error = Convert.ToInt32(AppSettings["upload_Interval_error"]);
|
||||
InitServer initServer = null;
|
||||
UpLoadMessage uploadMessage = new UpLoadMessage();
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public Form_MoveSqlTable()
|
||||
{
|
||||
InitializeComponent();
|
||||
initServer = new WebApi.InitServer(Program.WebSvrPort);
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var a = new msg();
|
||||
// a.insertOrderData = new InsertOrderData();
|
||||
a.msgHeader = new msgHeader();
|
||||
//string bodyData = JsonConvert.SerializeObject(a);
|
||||
string bodyData = "{\r\n \"msgHeader\": {\r\n \"messageID\": \"865f0c4ed27f45718189a6cb0e83c1a4\",\r\n \"interfaceID\": \"MOM-中控-011\",\r\n \"transID\": \"865f0c4ed27f45718189a6cb0e83c1a4\",\r\n \"sender\": \"mom\",\r\n \"receiver\": \"中控\"\r\n },\r\n \"msgBody\": {\r\n \"batchNo\": null,\r\n \"flag\": \"1\",\r\n \"HasProduSerial\": \"0\",\r\n \"isOiling\": \"0\",\r\n \"isPainting\": \"0\",\r\n \"markDate\": null,\r\n \"markTime\": null,\r\n \"nature\": \"0\",\r\n \"numCode\": null,\r\n \"orderCode\": null,\r\n \"planDate\": \"2023-06-08\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"priority\": \"0\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"proShift\": \"7\",\r\n \"produceType\": \"0\",\r\n \"productState\": \"生产\",\r\n \"qty\": \"1\",\r\n \"routeCode\": \"2401016-B4C/B\",\r\n \"routeVer\": \"2401016-B4C/B_0\",\r\n \"seqNo\": \"1\",\r\n \"serialOrlor\": \"1\",\r\n \"site\": \"W13\",\r\n \"sn\": \"0\",\r\n \"workCenter\": \"中重型桥壳冲压一线\",\r\n \"workOrderCode\": \"10BK10|PO-202306027-001_002\",\r\n \"msgTaskList\": [\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1001\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2588\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1002\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2589\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1003\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2590\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1004\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2591\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1005\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2592\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1006\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2593\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1007\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2594\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1008\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2595\",\r\n \"workCell\": null\r\n },\r\n {\r\n \"equiCode\": null,\r\n \"opCode\": \"10BK1009\",\r\n \"planEndDate\": \"2023-06-27\",\r\n \"planStartDate\": \"2023-06-27\",\r\n \"proCode\": \"2401016-B4C/B\",\r\n \"proName\": \"后桥半壳\",\r\n \"qty\": \"1\",\r\n \"taskOrderCode\": \"TO-20230627-2596\",\r\n \"workCell\": null\r\n }\r\n ]\r\n }\r\n}";
|
||||
string urlStr = "http://127.0.0.1:9981/api/IOrder/person";
|
||||
string retString;
|
||||
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(urlStr);
|
||||
request.Method = "POST";
|
||||
byte[] bytes = Encoding.UTF8.GetBytes(bodyData);
|
||||
request.Accept = "*/*";
|
||||
request.ContentType = "application/json;charset=UTF-8";
|
||||
|
||||
msgHeader mHeader = new msgHeader();
|
||||
//mHeader.messageID = "API_InsertOrder_002";
|
||||
//mHeader.interfaceID = "API_InsertOrder_002";
|
||||
//mHeader.transID = "API_InsertOrder_002";
|
||||
//mHeader.sender = "JF_MTD00002";
|
||||
//mHeader.receiver = "JF_D00002";
|
||||
|
||||
////请求头
|
||||
//request.Headers.Add("messageID", mHeader.messageID);
|
||||
//request.Headers.Add("interfaceID", mHeader.interfaceID);
|
||||
//request.Headers.Add("transID", mHeader.transID);
|
||||
//request.Headers.Add("sender", mHeader.sender);
|
||||
//request.Headers.Add("receiver", mHeader.receiver);
|
||||
|
||||
|
||||
request.ContentLength = bytes.Length;
|
||||
try
|
||||
{
|
||||
Stream myResponseStream = request.GetRequestStream();
|
||||
myResponseStream.Write(bytes, 0, bytes.Length);
|
||||
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
|
||||
StreamReader myStreamReader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
|
||||
retString = myStreamReader.ReadToEnd();
|
||||
msgResHeader mrh = JsonConvert.DeserializeObject<msgResHeader>(retString);
|
||||
int statusCode = (int)response.StatusCode;
|
||||
if (statusCode == 200)
|
||||
{
|
||||
myStreamReader.Close();
|
||||
myResponseStream.Close();
|
||||
if (response != null)
|
||||
{
|
||||
response.Close();
|
||||
}
|
||||
if (request != null)
|
||||
{
|
||||
request.Abort();
|
||||
}
|
||||
}
|
||||
MyLog4Net.MyLogHelper.Info("res:", retString);
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 过点信息上传测试
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void button1_Click1111(object sender, EventArgs e)
|
||||
{
|
||||
//uploadMessage.GetUpLoadMessageButton("MES_产品过点信息", 1);
|
||||
new Thread(new ThreadStart(delegate () {
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
uploadMessage.GetUpLoadMessageButton("接口_上传_质量数据");
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
}
|
||||
Thread.Sleep(5000);
|
||||
}
|
||||
}))
|
||||
{ IsBackground = true }.Start();
|
||||
}
|
||||
/// <summary>
|
||||
/// 报警信息上传测试
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void button1_Click2222(object sender, EventArgs e)
|
||||
{
|
||||
new Thread(new ThreadStart(delegate () {
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
//uploadMessage.GetUpLoadMessageButton("上传MES_设备报警信息");
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
}
|
||||
Thread.Sleep(5000);
|
||||
}
|
||||
}))
|
||||
{ IsBackground = true }.Start();
|
||||
}
|
||||
|
||||
private void Form_MoveSqlTable_Load(object sender, EventArgs e)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.LogCommit += MyLogHelper_LogCommit;
|
||||
}
|
||||
|
||||
private void MyLogHelper_LogCommit(object sender, MyLog4Net.MyLogEventArgs e)
|
||||
{
|
||||
var module = e.Module;
|
||||
var message = e.Message;
|
||||
|
||||
var log = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss fff") + " " + module + " " + message + "\r\n";
|
||||
|
||||
count++;
|
||||
|
||||
|
||||
if (this.InvokeRequired)
|
||||
{
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
if (count > 100)
|
||||
{
|
||||
this.richTextBoxLogBox.Text = "";
|
||||
}
|
||||
this.richTextBoxLogBox.AppendText(log);
|
||||
// this.richTextBoxLogBox.Text += log;
|
||||
richTextBoxLogBox.Focus();
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (count > 100)
|
||||
{
|
||||
this.richTextBoxLogBox.Text = "";
|
||||
}
|
||||
this.richTextBoxLogBox.AppendText(log);
|
||||
// this.richTextBoxLogBox.Text += log;
|
||||
richTextBoxLogBox.Focus();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void Form_MoveSqlTable_FormClosing_1(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (MessageBox.Show("确认关闭?", "是否关闭", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
//initServer.Close();
|
||||
Process.GetCurrentProcess().Kill();
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
200
SlMesDbIterface/Form_MoveSqlTable.resx
Normal file
200
SlMesDbIterface/Form_MoveSqlTable.resx
Normal file
@@ -0,0 +1,200 @@
|
||||
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<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" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>47</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnVsKAKFdDgChXQ4CoV0OBaFdDgWhXQ4FoVwNBaBc
|
||||
DAWgXAwFoFwMBaBcDAWhXA0FoV0OBaFdDgWhXQ4FoV0OAqFdDgChXQ4AAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACdWwoAoV0OAKFdDk6hXQ6voV0OrqFd
|
||||
Dq6hXA2uoFwMrqBcDK6gXAyuoFwMrqFcDa6hXQ6uoV0OrqFdDq+hXQ5IoV0OAKFdDgAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJ1bCwCiXQ4AoV0OLaFd
|
||||
DmWhXQ11o2EU7MKYZv/OrYX/zayD/82sg//OrYX/xZxs/6RjF+yhXA11oV0OZKFdDimhXQ4AoV0OAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChXQ4AoVwOAKFdDgChXQ4AoV0OAKFdDgChXQ4AoV0OAKFd
|
||||
DgChXQ4AoV0OAJ9YBhSlZBnZ3Mar//Hs4v/w6t//8Orf//Hr4v/gzrb/p2ge2Z1VAhShXQ4AoV0OAKFd
|
||||
DgChXQ4AoV0OAKFdDgChXQ4AoV0OAKFdDgCiXhAAoVwNAKFdDgChXQ4AoV0OD6FdDiqhXQ4uoV0OLaFd
|
||||
Di2hXQ4toV0OLaFdDi2hXQ4soFwMQ6RjF+LStI//49K8/+LQuv/i0Lr/49K8/9W6mP+mZhvioFsLQ6Fd
|
||||
DiyhXQ4toV0OLaFdDi2hXQ4toV0OLaFdDi6hXQ4poV0ODaFdDgCiXQ8AoV0OAKFdDiehXQ60oV0OzqFd
|
||||
DsmhXQ7KoV0OyqFdDsqhXQ7KoV0OyqFdDsmhXQ7MoV4P3KdoH9+pbCXfqWwk36lsJN+pbCTfqGkg36Fe
|
||||
ENyhXQ7MoV0OyaFdDsqhXQ7KoV0OyqFdDsqhXQ7KoV0OyaFdDs6hXQ6woV0OI6FdDgChXQ0AoV0Oj6Fd
|
||||
DqyhXQ4ooF0OIaBdDiGgXQ4hoF0OIaBdDiGgXQ4hoF0OIaBdDiGgXA4gnVgGIJxWBCCdVgQgnVYEIJxW
|
||||
BCCdVwYgoFwNIKBdDiGgXQ4hoF0OIaBdDiGgXQ4hoF0OIaBdDiGgXQ4hoV0OKqFdDrKhXQ6JolwOAKFd
|
||||
DgShXQ6woV0ObqFdDgCgXQ4AoF0OAKBdDgCgXQ4AoF0OAKBdDgCgXQ4AoF0OAKBdDgCgXQ4AoF0OAKBd
|
||||
DgCgXQ4AoV0OAKFdDgCgXQ4AoF0OAKBdDgCgXQ4AoF0OAKBdDgCgXQ4AoF0OAKBdDgChXQ4AoV0Ob6Fd
|
||||
DqeiXQ0DoV0OBaFdDrChXQ5toV0OAKFdDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoV4NAKBd
|
||||
DgCdXw4AoV0OAKFdDg+hXQ5WoV0OIKFdDgChXQ4An10OAAAAAAAAAAAAAAAAAAAAAAAAAAAAoV0OAKFd
|
||||
DgChXQ5toV0Op6NdDAOhXQ4FoV0OsKFdDm2hXQ4AoV0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKJb
|
||||
CwChXQ4AoV0OAKFdDgChXQ4moV0OqKFdDuOhXQ6toV0OFKFdDgChXQ4AAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAChXQ4AoV0OAKFdDm2hXQ6no10MA6FdDgWhXQ6woV0ObaFdDgChXQ4AoV0OAKFdDgCfWwwAAAAAAAAA
|
||||
AAChXg4AoV0OAKFdDgCgXg0BoV0OTaFdDsuhXQ6eoV0ONKFdDrKhXQ6VoV0OCKFdDgAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAKFdDgChXQ4AoV0ObaFdDqejXQwDoV0OBaFdDrChXQ5toV8TAaFdDimhXA4HoV0OAKFc
|
||||
DQChXg8AoV0OAKBdDwChXQ4AoV0ODqFdDn2hXQ7VoV0OcaFdDgmhXQ4AoV0OKqFdDnajXAkMg3lpAFCo
|
||||
/wBQqP8AUKn/AFCp/wAAAAAAoV0OAKFdDgChXQ5toV0Op6NdDAOhXQ4FoV0OsKFdDmyhXQ4VoV0Ot6Fd
|
||||
DpShXQ4boV0OAKFdDgChXQ4AoV0OAKFdDiihXQ6soV0OxqFdDkOfXA8AoV0OAKFdDwCiXAsAdomUAEO0
|
||||
/wNQqP4HUKj/B1Co/wVQqf8AUKr/AAAAAAChXQ4AoV0OAKFdDm2hXQ6no10MA6FdDgWhXQ6woV0ObaFd
|
||||
DgChXQ4woV0OraFdDsKhXQ5GoVwRAKBgDQGhXQ5QoV0OzaFdDqKhXQ4goV0OALJOAABPqv8AUKn/AFKn
|
||||
+gBPqv8OUKn/kU+p/7lPqf+4UKn/pFCp/x5Qqf8AUKn/AFCp/wCiXAsAoV0ObaFdDqejXQwDoV0OBaFd
|
||||
DrChXQ5toV0OAKFdDgChXQ4NoV0OdKFdDtChXQ6BoV0OhKFdDtihXQ5zoV0OCqFdDgBok7kAUKn/AFCp
|
||||
/wtQqf8zUKn/BE2n/xlWrP/Xjcf//47H//9XrP/zTqj/N1Co/wBQqf8wUKn/FIZ2XgChXQ5uoV0OqaNd
|
||||
DAOhXQ4FoV0OsKFdDm2hXQ4AoV0OAKFdDgChXQ8AoV0OPKFdDrmhXQ7FoV0ORaJcDQChXQ4AdIeUAFCp
|
||||
/wBPqf8NT6n/j1Gp/+pPqP92TKf/OVit/9i+3v/1vt//+lqu//BNp/9STqj/XFCp/+RPqf+pQrb/FaNb
|
||||
B1ihXQ6Lo10MAqFdDgWhXQ6woV0ObaFdDgChXQ4AoV0OAKFdDQChXQ4AoV0OEKFdDhWhXQ4AoV0OAKFd
|
||||
DgBQqf8AUKn/D0+p/5ZuuP/0lcv/+V2v//NUq//gdrz/8cXi//nG4v/8eLz/+VWs/+Zbrv/sksn/93G5
|
||||
//xQqf+wZJbDJalUAA2hXA0AoV0OBaFdDrChXQ5toV0OAKFdDgB9TQkAoV0NAKFdDgChXQ4AoV0OAKZc
|
||||
DQCiXQ4AfhIAAFCp/wBPqf8vUan/4ZfM/+vQ6P/8sdn/+6zW//nI5P/70Of//9Dn///I5P/+rdb//rDY
|
||||
//vQ6P/8m87/+FKq//NPqf9LYZnLAKJbCAChXQ4FoV0OsKFdDm2hXQ4AoV0OAKFdDgChXQ4AAAAAAAAA
|
||||
AAAAAAAAAAAAAFCp/wBQqf8AUKn/AFCo/wBPqP9aXK//47LZ//TS6P//0ej//9Dn///I4///x+P//8/n
|
||||
///R6P//0uj//7Xa//tfsP/yT6j/dlCq/wNQqf8AUKn/AKFdDgWhXQ6woV0ObaFdDgChXQ4BoV0OAKFd
|
||||
DgAAAAAAAAAAAAAAAAAAAAAAUKn/AFCp/wBQqf8XTqj/N0un/0xXrP/astn/9tHo///L5f//mMz//3C5
|
||||
//9vuP//jsf//8fj///R6P//tdr//Vmt/+5Lpv9eTaf/NlCp/x5Qqf8AoV0OBaFdDrChXQ5roV0OT6Fd
|
||||
DmmhXQ4AoV0OAKFdDgChXQ4AoV0OAJ9cDABQqf8AUKn/AFCp/35Yrf/tYLH/6YDB/+7L5f/70ej//6HR
|
||||
//9ptf//pNL//6vV//9vuP//ksn//9Dn///N5v/+iMT/+mOy//Fcr//zUKn/nlCp/wOhXQ4FoV0OsKFd
|
||||
DmmhXQ58oV0Ow6FdDkWhXQ4OoV0OMqFdDh2hXQ4An1wMAFCp/wBQqf8ATaj/jYfE//PH4//1y+X/+s/n
|
||||
///O5///fr///5DI///S6f//0+n//6LR//9wuf//yeT//9Dn///M5v/+yOT//JTK//9Pqf+vT6n/BaFd
|
||||
DgShXQ6voV0ObqFdDjyhXQ67oV0OraFdDiGhXQ5+oV0OSaFdDgChXQ4AoV0PAGCa0ABOqP+Oeb3//qjU
|
||||
//+63f/9z+f//8/n//+Fw///gcH//8zl///P5///kcn//3W7///L5f//0Of//7rd//am0//wf8D//U+p
|
||||
/7FPqf8FoV0OAKFdDn+hXQ6/oV0OSKFdDkWhXQ5IoV0OPaFdDkShXQ5AoV0OO6FdDjuhXQ42uUYACE+p
|
||||
/19Rqv/HUan/zmy3//PE4v/80ej//7Ta//9otf//eLz//32///9ls///p9T//9Ho///I5P/7cLn/8k+o
|
||||
/8tQqf+/UKn/dlCp/wGhXQ4AoV0OF6FdDpKhXQ7HoV0OxqFdDsahXQ7HoV0OxqFdDsehXQ7HoV0OyKFd
|
||||
DrahXAwiAP//AU6o/wpOqP8pUqr/16fT//nR6P//z+f//7jc//+PyP//i8b//7DY///O5///0ej//7HY
|
||||
//hVq//pTqj/P0+q/wZQqv8EUKn/AKFdDgChXQ4AoV0OA6FdDhSiXQ0Xol0NFqJdDRaiXQ0Wol0NFqJd
|
||||
DRaiXQ0XoV0NFaBdDgRenNYAUKn/Dk+p/5VvuP/wv9//+dDn///P5//+0uj//9Ho///Q6P//0uj//9Dn
|
||||
//7Q5//+w+H/+nW7//NQqf+1UKn/HlCp/wBQqf8AoF0PAKFdDgChXQ4AoV0OAKJdDQCiXQ0Aol0NAKJd
|
||||
DQCiXQ0Aol0NAKJdDQChXQ0AoV0OAFCp/wBPqf8vUan/45PK//jJ5P/8kcn//IbD//6x2P/7zeb//s7n
|
||||
//+12//5iMT/+o3H//nI5P/7nc//91Oq//FPqf9LUKn/AFCp/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUKn/AFCp/wJPqP9bXK//5nK6//9Sqv/aTKf/ql6w
|
||||
/+y93v/2xOH//Ga0//ZMp/+xUan/xnC5//tesP/uT6j/b1Cp/wZQqf8AUKn/AAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQqf8AUKn/AEmk/wBOqP9UTqj/tk+p
|
||||
/z5Mp/8bV63/07bb//S+3//8XrD/70yn/zhPqP8jTqj/p06o/2ZTq/8CUKn/AFCp/wBQqP8AAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFCq/wBQqf8AUKn/AEmq
|
||||
/wBQqf8KUKn/AE+o/xlSqv/Ub7j//XO6//5Vq//tT6j/NFCp/wBQqf8HUKn/AVCp/wBQqf8AUKz/AAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFCx
|
||||
/wBQqf8AUKn/AFCp/wBQqf8AUKn/BVCp/0lMp/9hS6f/YU+p/1NQqf8NUKn/AFCp/wBQqf8AUKn/AFCo
|
||||
/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAFCp/wBQqf8AUKn/AFCp/wBQqf8AUKn/AFCp/wBQqf8AAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAA/gAAf/4AAH/+AAB/AAAAAAAAAAAAAAAAAAAAAAAAAAAH8APgB+AD4ADA
|
||||
A+AAAAAgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAeAAAAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAA//gAAP/4AAD/+AAB//wAA///wD8=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
21
SlMesDbIterface/MOM/ProductionCalendarBodyData.cs
Normal file
21
SlMesDbIterface/MOM/ProductionCalendarBodyData.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///生产日历下发 Body
|
||||
public class ProductionCalendarBodyData
|
||||
{
|
||||
/// <summary>
|
||||
// 日历组
|
||||
/// </summary>
|
||||
public List<ProductionCalendarData> calendarGroup
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
}
|
||||
}
|
||||
109
SlMesDbIterface/MOM/ProductionCalendarData.cs
Normal file
109
SlMesDbIterface/MOM/ProductionCalendarData.cs
Normal file
@@ -0,0 +1,109 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///物料主数据下发 Body
|
||||
public class ProductionCalendarData
|
||||
{
|
||||
/// <summary>
|
||||
// 类型
|
||||
/// </summary>
|
||||
public string typesOf
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 类型编码
|
||||
/// </summary>
|
||||
public string typeCode
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 日历编码
|
||||
/// </summary>
|
||||
public string calendarEncoding
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 班次名称
|
||||
/// </summary>
|
||||
public string shiftName
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 开始时间
|
||||
/// </summary>
|
||||
public string timeOn
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
public string endTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 开始日期
|
||||
/// </summary>
|
||||
public string startDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 结束日期
|
||||
/// </summary>
|
||||
public string endDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 班次描述
|
||||
/// </summary>
|
||||
public string shiftDescription
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 固定休息日
|
||||
/// </summary>
|
||||
public string fixedRestDays
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 法定节日
|
||||
/// </summary>
|
||||
public List<ProductionCalendarStatutoryData> statutoryHolidays
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
/// <summary>
|
||||
// 非生产时间
|
||||
/// </summary>
|
||||
public List<ProductionCalendarNonProductionData> nonProductionTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
}
|
||||
}
|
||||
29
SlMesDbIterface/MOM/ProductionCalendarNonProductionData.cs
Normal file
29
SlMesDbIterface/MOM/ProductionCalendarNonProductionData.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///物料主数据下发 非生产时间
|
||||
public class ProductionCalendarNonProductionData
|
||||
{
|
||||
/// <summary>
|
||||
// 开始时间
|
||||
/// </summary>
|
||||
public string timeOn
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 结束时间
|
||||
/// </summary>
|
||||
public string endTime
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
}
|
||||
}
|
||||
29
SlMesDbIterface/MOM/ProductionCalendarStatutoryData.cs
Normal file
29
SlMesDbIterface/MOM/ProductionCalendarStatutoryData.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///物料主数据下发 法定节日
|
||||
public class ProductionCalendarStatutoryData
|
||||
{
|
||||
/// <summary>
|
||||
// 开始日期
|
||||
/// </summary>
|
||||
public string startDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 结束日期
|
||||
/// </summary>
|
||||
public string endDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
}
|
||||
}
|
||||
77
SlMesDbIterface/MOM/ReportUploadData.cs
Normal file
77
SlMesDbIterface/MOM/ReportUploadData.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///生产报工上传
|
||||
public class ReportUploadData
|
||||
{
|
||||
/// <summary>
|
||||
// 订单号
|
||||
/// </summary>
|
||||
public string orderNumber
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// SN号
|
||||
/// </summary>
|
||||
public string snCode
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 产品型号
|
||||
/// </summary>
|
||||
public string productModel
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 配方号
|
||||
/// </summary>
|
||||
public string recipeNumber
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
/// 合格标志
|
||||
/// </summary>
|
||||
public string qualityResult
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 工位号
|
||||
/// </summary>
|
||||
public string stationCode
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 生产日期
|
||||
/// </summary>
|
||||
public string productionDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 质量数据列表
|
||||
/// </summary>
|
||||
public List<ReportUploadQualityData> qualityList
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
}
|
||||
}
|
||||
45
SlMesDbIterface/MOM/ReportUploadQualityData.cs
Normal file
45
SlMesDbIterface/MOM/ReportUploadQualityData.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///生产报工上传
|
||||
public class ReportUploadQualityData
|
||||
{
|
||||
/// <summary>
|
||||
// 螺钉孔号
|
||||
/// </summary>
|
||||
public string screwPositionNumber
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 扭矩
|
||||
/// </summary>
|
||||
public string torque
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 螺桩高度测量值
|
||||
/// </summary>
|
||||
public string dowelHeightValue
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 合格标志
|
||||
/// </summary>
|
||||
public string qualityResult
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
}
|
||||
}
|
||||
213
SlMesDbIterface/MOM/TemporaryChangeData.cs
Normal file
213
SlMesDbIterface/MOM/TemporaryChangeData.cs
Normal file
@@ -0,0 +1,213 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
///临时工艺通知下发
|
||||
public class TemporaryChangeData
|
||||
{
|
||||
/// <summary>
|
||||
// 产品编码、型号
|
||||
/// </summary>
|
||||
public string productNo
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 产品名称
|
||||
/// </summary>
|
||||
public string productName
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 项目代号
|
||||
/// </summary>
|
||||
public string projectNo
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 项目名称
|
||||
/// </summary>
|
||||
public string projectName
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
/// 临时工艺通知单号
|
||||
/// </summary>
|
||||
public string technicalChangeOrderNo
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 批次数量
|
||||
/// </summary>
|
||||
public string batchQty
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 发放时间
|
||||
/// </summary>
|
||||
public string createOn
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 开始时间
|
||||
/// </summary>
|
||||
public decimal effectiveDateStart
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = 0;
|
||||
/// <summary>
|
||||
// 结束时间
|
||||
/// </summary>
|
||||
public string effectiveDateEnd
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 临时工艺通知单文件链接
|
||||
/// </summary>
|
||||
public string techFileUrl
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 原因
|
||||
/// </summary>
|
||||
public int reason
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = 0;
|
||||
/// <summary>
|
||||
// 编制
|
||||
/// </summary>
|
||||
public string staffing
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 编制日期
|
||||
/// </summary>
|
||||
public string staffingDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 校对
|
||||
/// </summary>
|
||||
public string proofread
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 校对日期
|
||||
/// </summary>
|
||||
public string proofreadDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 审核
|
||||
/// </summary>
|
||||
public string check
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 审核日期
|
||||
/// </summary>
|
||||
public string checkDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 会签
|
||||
/// </summary>
|
||||
public string countersign
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 会签日期
|
||||
/// </summary>
|
||||
public string countersignDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 批准
|
||||
/// </summary>
|
||||
public string approve
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 批准日期
|
||||
/// </summary>
|
||||
public string approveDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
/// <summary>
|
||||
// 临时工艺通知详细列表
|
||||
/// </summary>
|
||||
public List<ProductOrderLineCodeData> changeList
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
/// <summary>
|
||||
// 临时工艺文件列表
|
||||
/// </summary>
|
||||
public List<ProductOrderLineCodeData> fileList
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
/// <summary>
|
||||
// 接收部门列表
|
||||
/// </summary>
|
||||
public List<ProductOrderLineCodeData> departmentList
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
/// <summary>
|
||||
// 绑定工单列表
|
||||
/// </summary>
|
||||
public List<ProductOrderLineCodeData> wipOrderList
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = null;
|
||||
}
|
||||
}
|
||||
44
SlMesDbIterface/MOM/msgResHeader.cs
Normal file
44
SlMesDbIterface/MOM/msgResHeader.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class msgResHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务ID
|
||||
/// </summary>
|
||||
public string taskId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回结果
|
||||
/// </summary>
|
||||
public string code
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回消息
|
||||
/// </summary>
|
||||
public string msg
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回结果集
|
||||
/// </summary>
|
||||
public string returnData
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
46
SlMesDbIterface/MessageHanlder/ApiTools.cs
Normal file
46
SlMesDbIterface/MessageHanlder/ApiTools.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web.Http;
|
||||
using System.Net.Http;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
public enum ResponseCode
|
||||
{
|
||||
Fail = 00000,
|
||||
Success = 00200,
|
||||
}
|
||||
|
||||
public class ApiTools
|
||||
{
|
||||
private string msgModel = "{{\"code\":{0},\"message\":\"{1}\",\"result\":{2}}}";
|
||||
public ApiTools()
|
||||
{
|
||||
}
|
||||
public HttpResponseMessage MsgFormat(ResponseCode code, string explanation, string result)
|
||||
{
|
||||
string r = @"^(\-|\+)?\d+(\.\d+)?$";
|
||||
string json = string.Empty;
|
||||
if (Regex.IsMatch(result, r) || result.ToLower() == "true" || result.ToLower() == "false" || result == "[]" || result.Contains('{'))
|
||||
{
|
||||
json = string.Format(msgModel, (int)code, explanation, result);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (result.Contains('"'))
|
||||
{
|
||||
json = string.Format(msgModel, (int)code, explanation, result);
|
||||
}
|
||||
else
|
||||
{
|
||||
json = string.Format(msgModel, (int)code, explanation, "\"" + result + "\"");
|
||||
}
|
||||
}
|
||||
return new HttpResponseMessage { Content = new StringContent(json, System.Text.Encoding.UTF8, "application/json") };
|
||||
}
|
||||
}
|
||||
}
|
||||
148
SlMesDbIterface/MessageHanlder/CallWebApi.cs
Normal file
148
SlMesDbIterface/MessageHanlder/CallWebApi.cs
Normal file
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SlMesDbIterface
|
||||
{
|
||||
public partial class MyHttpRequest {
|
||||
|
||||
public static string MyPost(string url,string jsonStr)
|
||||
{
|
||||
string result = "";
|
||||
|
||||
try
|
||||
{
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Method = "POST";
|
||||
req.ContentType = "text/html, application/xhtml+xml, application/json, */*";
|
||||
req.Proxy = null;
|
||||
req.KeepAlive = false;
|
||||
|
||||
byte[] data = Encoding.UTF8.GetBytes(jsonStr);
|
||||
req.ContentLength = data.Length;
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
reqStream.Close();
|
||||
}
|
||||
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
|
||||
|
||||
//获取响应内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
Console.WriteLine(result);
|
||||
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
Console.WriteLine("<Error> " + err.Message);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string MyPost(string url,Dictionary<string,string> paramDict, string jsonStr)
|
||||
{
|
||||
string result = "";
|
||||
|
||||
try
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
builder.Append(url);
|
||||
if (paramDict.Count > 0)
|
||||
{
|
||||
builder.Append("?");
|
||||
int i = 0;
|
||||
foreach (var item in paramDict)
|
||||
{
|
||||
if (i > 0)
|
||||
builder.Append("&");
|
||||
builder.AppendFormat("{0}={1}", item.Key, item.Value);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(builder.ToString());
|
||||
req.Method = "POST";
|
||||
req.ContentType = "text/html, application/xhtml+xml, application/json, */*";
|
||||
req.Proxy = null;
|
||||
req.KeepAlive = false;
|
||||
|
||||
byte[] data = Encoding.UTF8.GetBytes(jsonStr);
|
||||
req.ContentLength = data.Length;
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
reqStream.Close();
|
||||
}
|
||||
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
|
||||
|
||||
//获取响应内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
Console.WriteLine(result);
|
||||
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
Console.WriteLine("<Error> " + err.Message);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string MyGet(string url, Dictionary<string,string> paramDict)
|
||||
{
|
||||
string result = "";
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
builder.Append(url);
|
||||
if (paramDict.Count > 0)
|
||||
{
|
||||
builder.Append("?");
|
||||
int i = 0;
|
||||
foreach (var item in paramDict)
|
||||
{
|
||||
if (i > 0)
|
||||
builder.Append("&");
|
||||
builder.AppendFormat("{0}={1}", item.Key, item.Value);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(builder.ToString());
|
||||
req.Method = "GET";
|
||||
req.ContentType = "text/html, application/xhtml+xml, application/json, */*";
|
||||
req.Proxy = null;
|
||||
req.KeepAlive = false;
|
||||
|
||||
HttpWebResponse response = (HttpWebResponse)req.GetResponse();
|
||||
Stream rs = response.GetResponseStream();
|
||||
StreamReader sr = new StreamReader(rs, Encoding.UTF8);
|
||||
result = sr.ReadToEnd();
|
||||
sr.Close();
|
||||
rs.Close();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
313
SlMesDbIterface/MessageHanlder/DeviceTools.cs
Normal file
313
SlMesDbIterface/MessageHanlder/DeviceTools.cs
Normal file
@@ -0,0 +1,313 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TECSharpFunction;
|
||||
|
||||
namespace SlMesDbIterface
|
||||
{
|
||||
public class DeviceTools
|
||||
{
|
||||
public static void GetToolExcel(string FtpServer, string FtpUser,string FtpPassWord, string FtpFileList)
|
||||
{
|
||||
FTPHelper ftpClient = new FTPHelper(FtpServer, @"", FtpUser, FtpPassWord);
|
||||
//ListType=1代表获取文件列表,ListType=2代表获取文件夹列表,ListType=3代表获取文件和文件夹列表。
|
||||
//Detail=true时获文件或文件夹详细信息,Detail=false时只获取文件或文件夹名称。
|
||||
//Keyword是只需list名称包含Keyword的文件或文件夹,若要list所有文件或文件夹,则该参数为空。若ListType=3,则该参数无效。
|
||||
|
||||
int ListType = 1;
|
||||
bool Detail = false;
|
||||
string Keyword = "";
|
||||
|
||||
var fileList = ftpClient.GetFileDirctoryList(ListType, Detail, Keyword);
|
||||
|
||||
foreach (string itemFileName in fileList)
|
||||
{
|
||||
string tableName = itemFileName.Substring(0, itemFileName.LastIndexOf("."));
|
||||
if (FtpFileList.Contains(itemFileName))
|
||||
{
|
||||
ftpClient.Download(itemFileName, itemFileName, null);
|
||||
ExcelToDataTable(itemFileName, tableName);
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void ExcelToDataTable(string excelPath, string tableName)
|
||||
{
|
||||
////判断是否包含当前日期的记录
|
||||
//int excelSheetindex = 0;
|
||||
//var dt = NPOITest.ExeclHelper.ExcelToDataTable(excelPath, excelSheetindex, true);
|
||||
//switch (tableName)
|
||||
//{
|
||||
// case "刀具柜-库存明细":
|
||||
// {
|
||||
// string str1 = "delete from[刀具柜-库存明细] where[导入日期] = '" + DateTime.Now.ToShortDateString() + "'";
|
||||
// DataLinkMesWork.SQLCommon.ExecuteSql(str1, Program.ConnectionString_MES, out string errorMessage1);
|
||||
// var dt_DB = GetToolDetail(dt);
|
||||
// SqlBulkCopyByDatatable(Program.ConnectionString_MES, tableName, dt_DB);
|
||||
// }
|
||||
// break;
|
||||
// case "刀具领用记录":
|
||||
// {
|
||||
// string str2 = "delete from[刀具领用记录] where[导入日期] = '" + DateTime.Now.ToShortDateString() + "'";
|
||||
// DataLinkMesWork.SQLCommon.ExecuteSql(str2, Program.ConnectionString_MES, out string errorMessage2);
|
||||
// var dt_DB = GetToolRecoder(dt);
|
||||
// SqlBulkCopyByDatatable(Program.ConnectionString_MES, tableName, dt_DB);
|
||||
// }
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 刀具领用记录
|
||||
/// </summary>
|
||||
private static DataTable GetToolRecoder(DataTable dtData)
|
||||
{
|
||||
//刀具领用记录.xls
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt.Columns.Add("物料名称", typeof(System.String));
|
||||
dt.Columns.Add("物料编号", typeof(System.String));
|
||||
dt.Columns.Add("物料型号", typeof(System.String));
|
||||
dt.Columns.Add("供应商", typeof(System.String));//品牌(供应商)
|
||||
dt.Columns.Add("领取来源", typeof(System.String));
|
||||
dt.Columns.Add("领取数量", typeof(System.Int32));
|
||||
dt.Columns.Add("实领数量", typeof(System.Int32));
|
||||
dt.Columns.Add("领取单位", typeof(System.String));
|
||||
dt.Columns.Add("包装数量", typeof(System.Int32));
|
||||
dt.Columns.Add("包装单位", typeof(System.String));
|
||||
dt.Columns.Add("领用类型", typeof(System.String));
|
||||
dt.Columns.Add("单价", typeof(System.Double));//单价(元)
|
||||
dt.Columns.Add("金额", typeof(System.Double));
|
||||
dt.Columns.Add("部门", typeof(System.String));
|
||||
dt.Columns.Add("领用人员", typeof(System.String));
|
||||
dt.Columns.Add("已归还数量", typeof(System.Int32));
|
||||
dt.Columns.Add("是否归还", typeof(System.String));
|
||||
dt.Columns.Add("领用时间", typeof(System.DateTime));
|
||||
DataRow dr = dt.NewRow();
|
||||
for (int i = 0; i < dtData.Rows.Count; i++)
|
||||
{
|
||||
dr = dt.NewRow();
|
||||
var 物料名称 = dtData.Rows[i][0].ToString();
|
||||
if (物料名称 == "合计")
|
||||
{
|
||||
continue;
|
||||
}
|
||||
dr["物料名称"] = 物料名称;
|
||||
dr["物料编号"] = dtData.Rows[i][1].ToString();
|
||||
dr["物料型号"] = dtData.Rows[i][2].ToString();
|
||||
dr["供应商"] = dtData.Rows[i][3].ToString();
|
||||
dr["领取来源"] = dtData.Rows[i][4].ToString();
|
||||
try
|
||||
{
|
||||
dr["领取数量"] = Convert.ToInt32(dtData.Rows[i][5]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["领取数量"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["实领数量"] = Convert.ToInt32(dtData.Rows[i][6]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["实领数量"] = 0;
|
||||
}
|
||||
dr["领取单位"] = dtData.Rows[i][7].ToString();
|
||||
try
|
||||
{
|
||||
dr["包装数量"] = Convert.ToInt32(dtData.Rows[i][8]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["包装数量"] = 0;
|
||||
}
|
||||
|
||||
|
||||
dr["包装单位"] = dtData.Rows[i][9].ToString();
|
||||
dr["领用类型"] = dtData.Rows[i][10].ToString();
|
||||
try
|
||||
{
|
||||
dr["单价"] = Convert.ToDouble(dtData.Rows[i][11]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["单价"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["金额"] = Convert.ToDouble(dtData.Rows[i][12]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["金额"] = 0;
|
||||
}
|
||||
dr["部门"] = dtData.Rows[i][13].ToString();
|
||||
dr["领用人员"] = dtData.Rows[i][14].ToString();
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
dr["已归还数量"] = Convert.ToInt32(dtData.Rows[i][15]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["已归还数量"] = 0;
|
||||
}
|
||||
dr["是否归还"] = dtData.Rows[i][16].ToString();
|
||||
try
|
||||
{
|
||||
dr["领用时间"] = Convert.ToDateTime(dtData.Rows[i][17]);
|
||||
// dr["领用时间"] = dtData.Rows[i][17].ToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["领用时间"] = DBNull.Value;
|
||||
}
|
||||
|
||||
dt.Rows.Add(dr);
|
||||
}
|
||||
|
||||
|
||||
return dt;
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 刀具柜-库存明细
|
||||
/// </summary>
|
||||
private static DataTable GetToolDetail(DataTable dtData)
|
||||
{
|
||||
//刀具柜 - 库存明细.xls
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt.Columns.Add("刀具柜名称", typeof(System.String));
|
||||
dt.Columns.Add("行号", typeof(System.Int32));
|
||||
dt.Columns.Add("列号", typeof(System.Int32));
|
||||
dt.Columns.Add("物料名称", typeof(System.String));
|
||||
dt.Columns.Add("物料编号", typeof(System.String));
|
||||
dt.Columns.Add("物料型号", typeof(System.String));
|
||||
dt.Columns.Add("当前数量", typeof(System.Double));
|
||||
dt.Columns.Add("包装单位", typeof(System.String));
|
||||
dt.Columns.Add("单价", typeof(System.Double));
|
||||
dt.Columns.Add("金额", typeof(System.Double));
|
||||
dt.Columns.Add("最大存储", typeof(System.Int32));
|
||||
dt.Columns.Add("警告阀值", typeof(System.Int32));
|
||||
dt.Columns.Add("最后上架时间", typeof(System.DateTime));
|
||||
DataRow dr = dt.NewRow();
|
||||
for (int i = 0; i < dtData.Rows.Count; i++)
|
||||
{
|
||||
dr = dt.NewRow();
|
||||
dr["刀具柜名称"] = dtData.Rows[i]["刀具柜名称"].ToString();
|
||||
try
|
||||
{
|
||||
dr["行号"] = Convert.ToInt32(dtData.Rows[i]["行号"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["行号"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["列号"] = Convert.ToInt32(dtData.Rows[i]["列号"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["列号"] = 0;
|
||||
}
|
||||
dr["物料名称"] = dtData.Rows[i]["物料名称"].ToString();
|
||||
dr["物料编号"] = dtData.Rows[i]["物料编号"].ToString();
|
||||
dr["物料型号"] = dtData.Rows[i]["物料型号"].ToString();
|
||||
try
|
||||
{
|
||||
dr["当前数量"] = Convert.ToDouble(dtData.Rows[i]["当前数量"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["当前数量"] = 0;
|
||||
}
|
||||
dr["包装单位"] = dtData.Rows[i]["包装单位"].ToString();
|
||||
try
|
||||
{
|
||||
dr["单价"] = Convert.ToDouble(dtData.Rows[i]["单价"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["单价"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["金额"] = Convert.ToDouble(dtData.Rows[i]["金额"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["金额"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["最大存储"] = Convert.ToDouble(dtData.Rows[i]["最大存储"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["最大存储"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["警告阀值"] = Convert.ToDouble(dtData.Rows[i]["警告阀值"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["警告阀值"] = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
dr["最后上架时间"] = Convert.ToDateTime(dtData.Rows[i]["最后上架时间"]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
dr["警告阀值"] = DBNull.Value;
|
||||
}
|
||||
dt.Rows.Add(dr);
|
||||
}
|
||||
|
||||
|
||||
return dt;
|
||||
|
||||
}
|
||||
|
||||
static void SqlBulkCopyByDatatable(string connectionString, string TableName, DataTable dt)
|
||||
{
|
||||
using (SqlConnection conn = new SqlConnection(connectionString))
|
||||
{
|
||||
using (SqlBulkCopy sqlbulkcopy =
|
||||
new SqlBulkCopy(connectionString, SqlBulkCopyOptions.UseInternalTransaction))
|
||||
{
|
||||
try
|
||||
{
|
||||
sqlbulkcopy.DestinationTableName = "[" + TableName + "]";
|
||||
dt.TableName = TableName;
|
||||
for (int i = 0; i < dt.Columns.Count; i++)
|
||||
{
|
||||
sqlbulkcopy.ColumnMappings.Add(dt.Columns[i].ColumnName.Trim(), "[" + dt.Columns[i].ColumnName + "]");
|
||||
}
|
||||
sqlbulkcopy.WriteToServer(dt);
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
//throw ex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
332
SlMesDbIterface/MessageHanlder/FTPHelper.cs
Normal file
332
SlMesDbIterface/MessageHanlder/FTPHelper.cs
Normal file
@@ -0,0 +1,332 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace TECSharpFunction
|
||||
{
|
||||
/// <summary>
|
||||
/// FTP操作
|
||||
/// </summary>
|
||||
public class FTPHelper
|
||||
{
|
||||
#region FTPConfig
|
||||
string ftpURI;
|
||||
string ftpUserID;
|
||||
string ftpServerIP;
|
||||
string ftpPassword;
|
||||
string ftpRemotePath;
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 连接FTP服务器
|
||||
/// </summary>
|
||||
/// <param name="FtpServerIP">FTP连接地址</param>
|
||||
/// <param name="FtpRemotePath">指定FTP连接成功后的当前目录, 如果不指定即默认为根目录</param>
|
||||
/// <param name="FtpUserID">用户名</param>
|
||||
/// <param name="FtpPassword">密码</param>
|
||||
public FTPHelper(string FtpServerIP, string FtpRemotePath, string FtpUserID, string FtpPassword)
|
||||
{
|
||||
ftpServerIP = FtpServerIP;
|
||||
ftpRemotePath = FtpRemotePath;
|
||||
ftpUserID = FtpUserID;
|
||||
ftpPassword = FtpPassword;
|
||||
ftpURI = "ftp://" + ftpServerIP + "/" + ftpRemotePath + "/";
|
||||
}
|
||||
|
||||
public bool CheckFtp()
|
||||
{
|
||||
try
|
||||
{
|
||||
FtpWebRequest ftprequest = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI));
|
||||
// ftp用户名和密码
|
||||
ftprequest.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
ftprequest.Method = WebRequestMethods.Ftp.ListDirectory;
|
||||
ftprequest.Timeout = 3000;
|
||||
FtpWebResponse ftpResponse = (FtpWebResponse)ftprequest.GetResponse();
|
||||
|
||||
ftpResponse.Close();
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// 参数localfile为要上传的本地文件,ftpfile为上传到FTP的文件名称,ProgressBar为显示上传进度的滚动条,适用于WinForm。若应用于控制台程序,只要重写该函数,将参数ProgressBar去掉即可,同时将函数实现里所有涉及ProgressBar的地方都删掉。
|
||||
//————————————————
|
||||
//版权声明:本文为CSDN博主「只会搬运的小菜鸟」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
|
||||
//原文链接:https://blog.csdn.net/u011465910/article/details/126563124
|
||||
public void Upload(string localfile, string ftpfile, System.Windows.Forms.ProgressBar pb)
|
||||
{
|
||||
FileInfo fileInf = new FileInfo(localfile);
|
||||
FtpWebRequest reqFTP;
|
||||
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI + ftpfile));
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
reqFTP.Method = WebRequestMethods.Ftp.UploadFile;
|
||||
reqFTP.KeepAlive = false;
|
||||
reqFTP.UseBinary = true;
|
||||
reqFTP.ContentLength = fileInf.Length;
|
||||
if (pb != null)
|
||||
{
|
||||
pb.Maximum = Convert.ToInt32(reqFTP.ContentLength / 2048);
|
||||
pb.Maximum = pb.Maximum + 1;
|
||||
pb.Minimum = 0;
|
||||
pb.Value = 0;
|
||||
}
|
||||
int buffLength = 2048;
|
||||
byte[] buff = new byte[buffLength];
|
||||
int contentLen;
|
||||
FileStream fs = fileInf.OpenRead();
|
||||
try
|
||||
{
|
||||
Stream strm = reqFTP.GetRequestStream();
|
||||
contentLen = fs.Read(buff, 0, buffLength);
|
||||
while (contentLen != 0)
|
||||
{
|
||||
strm.Write(buff, 0, contentLen);
|
||||
if (pb != null)
|
||||
{
|
||||
if (pb.Value != pb.Maximum)
|
||||
pb.Value = pb.Value + 1;
|
||||
}
|
||||
contentLen = fs.Read(buff, 0, buffLength);
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
}
|
||||
if (pb != null)
|
||||
pb.Value = pb.Maximum;
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
strm.Close();
|
||||
fs.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
}
|
||||
//参数localfilename为将下载到本地的文件名称,ftpfilename为要下载的FTP上文件名称,
|
||||
// ProcessBar为用于显示下载进度的进度条。该函数用于WinForm,若用于控制台,只要重写该函数,删除所有涉及ProcessBar的代码即可。
|
||||
public void Download(string localfilename, string ftpfileName, System.Windows.Forms.ProgressBar pb)
|
||||
{
|
||||
long fileSize = GetFileSize(ftpfileName);
|
||||
if (fileSize > 0)
|
||||
{
|
||||
if (pb != null)
|
||||
{
|
||||
pb.Maximum = Convert.ToInt32(fileSize / 2048);
|
||||
pb.Maximum = pb.Maximum + 1;
|
||||
pb.Minimum = 0;
|
||||
pb.Value = 0;
|
||||
}
|
||||
try
|
||||
{
|
||||
FileStream outputStream = new FileStream(localfilename, FileMode.Create);
|
||||
FtpWebRequest reqFTP;
|
||||
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI + ftpfileName));
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
reqFTP.Method = WebRequestMethods.Ftp.DownloadFile;
|
||||
reqFTP.UseBinary = true;
|
||||
FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
|
||||
Stream ftpStream = response.GetResponseStream();
|
||||
int bufferSize = 2048;
|
||||
|
||||
int readCount;
|
||||
byte[] buffer = new byte[bufferSize];
|
||||
readCount = ftpStream.Read(buffer, 0, bufferSize);
|
||||
while (readCount > 0)
|
||||
{
|
||||
outputStream.Write(buffer, 0, readCount);
|
||||
if (pb != null)
|
||||
{
|
||||
if (pb.Value != pb.Maximum)
|
||||
pb.Value = pb.Value + 1;
|
||||
}
|
||||
readCount = ftpStream.Read(buffer, 0, bufferSize);
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
}
|
||||
if (pb != null)
|
||||
pb.Value = pb.Maximum;
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
ftpStream.Close();
|
||||
outputStream.Close();
|
||||
response.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
File.Delete(localfilename);
|
||||
//throw new Exception(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Delete(string fileName)
|
||||
{
|
||||
try
|
||||
{
|
||||
FtpWebRequest reqFTP;
|
||||
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI + fileName));
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
reqFTP.Method = WebRequestMethods.Ftp.DeleteFile;
|
||||
reqFTP.KeepAlive = false;
|
||||
string result = String.Empty;
|
||||
FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
|
||||
long size = response.ContentLength;
|
||||
Stream datastream = response.GetResponseStream();
|
||||
StreamReader sr = new StreamReader(datastream);
|
||||
result = sr.ReadToEnd();
|
||||
sr.Close();
|
||||
datastream.Close();
|
||||
response.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
}
|
||||
//ListType=1代表获取文件列表,ListType=2代表获取文件夹列表,ListType=3代表获取文件和文件夹列表。
|
||||
//Detail=true时获文件或文件夹详细信息,Detail=false时只获取文件或文件夹名称。
|
||||
//Keyword是只需list名称包含Keyword的文件或文件夹,若要list所有文件或文件夹,则该参数为空。若ListType=3,则该参数无效。
|
||||
//————————————————
|
||||
//版权声明:本文为CSDN博主「只会搬运的小菜鸟」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
|
||||
public List<string> GetFileDirctoryList(int ListType, bool Detail, string Keyword)
|
||||
{
|
||||
List<string> strs = new List<string>();
|
||||
try
|
||||
{
|
||||
FtpWebRequest reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI));
|
||||
// ftp用户名和密码
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
if (Detail)
|
||||
reqFTP.Method = WebRequestMethods.Ftp.ListDirectoryDetails;
|
||||
else
|
||||
reqFTP.Method = WebRequestMethods.Ftp.ListDirectory;
|
||||
WebResponse response = reqFTP.GetResponse();
|
||||
|
||||
|
||||
StreamReader reader = new StreamReader(response.GetResponseStream(), System.Text.Encoding.Default);//中文文件名
|
||||
string line = reader.ReadLine();
|
||||
while (line != null)
|
||||
{
|
||||
if (ListType == 1)
|
||||
{
|
||||
if (line.Contains("."))
|
||||
{
|
||||
if (Keyword.Trim() == "*.*" || Keyword.Trim() == "")
|
||||
{
|
||||
strs.Add(line);
|
||||
}
|
||||
else if (line.IndexOf(Keyword.Trim()) > -1)
|
||||
{
|
||||
strs.Add(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (ListType == 2)
|
||||
{
|
||||
if (!line.Contains("."))
|
||||
{
|
||||
if (Keyword.Trim() == "*" || Keyword.Trim() == "")
|
||||
{
|
||||
strs.Add(line);
|
||||
}
|
||||
else if (line.IndexOf(Keyword.Trim()) > -1)
|
||||
{
|
||||
strs.Add(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (ListType == 3)
|
||||
{
|
||||
strs.Add(line);
|
||||
}
|
||||
line = reader.ReadLine();
|
||||
}
|
||||
reader.Close();
|
||||
response.Close();
|
||||
return strs;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void MakeDir(string dirName)
|
||||
{
|
||||
FtpWebRequest reqFTP;
|
||||
try
|
||||
{
|
||||
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI + dirName));
|
||||
reqFTP.Method = WebRequestMethods.Ftp.MakeDirectory;
|
||||
reqFTP.UseBinary = true;
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
|
||||
Stream ftpStream = response.GetResponseStream();
|
||||
ftpStream.Close();
|
||||
response.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
public long GetFileSize(string ftpfileName)
|
||||
{
|
||||
long fileSize = 0;
|
||||
try
|
||||
{
|
||||
FtpWebRequest reqFTP;
|
||||
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI + ftpfileName));
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
reqFTP.Method = WebRequestMethods.Ftp.GetFileSize;
|
||||
reqFTP.UseBinary = true;
|
||||
FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
|
||||
Stream ftpStream = response.GetResponseStream();
|
||||
fileSize = response.ContentLength;
|
||||
ftpStream.Close();
|
||||
response.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
return fileSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ReName(string currentFilename, string newFilename)
|
||||
{
|
||||
FtpWebRequest reqFTP;
|
||||
try
|
||||
{
|
||||
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri(ftpURI + currentFilename));
|
||||
reqFTP.Method = WebRequestMethods.Ftp.Rename;
|
||||
reqFTP.RenameTo = newFilename;
|
||||
reqFTP.UseBinary = true;
|
||||
reqFTP.Credentials = new NetworkCredential(ftpUserID, ftpPassword);
|
||||
FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();
|
||||
Stream ftpStream = response.GetResponseStream();
|
||||
ftpStream.Close();
|
||||
response.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
public void MovieFile(string currentFilename, string newDirectory)
|
||||
{
|
||||
ReName(currentFilename, newDirectory);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
69
SlMesDbIterface/MessageHanlder/GetVal.cs
Normal file
69
SlMesDbIterface/MessageHanlder/GetVal.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecData
|
||||
{
|
||||
public class GetVal
|
||||
{
|
||||
|
||||
public static string JObject_Value(JObject jObj,string name)
|
||||
{
|
||||
var objVal = "NULL";
|
||||
if (jObj[name] != null)
|
||||
{
|
||||
objVal = jObj[name].ToString();
|
||||
}
|
||||
return objVal;
|
||||
}
|
||||
public static string JObject_Value_Int(JObject jObj, string name)
|
||||
{
|
||||
var objVal = "-1";
|
||||
if (jObj[name] != null)
|
||||
{
|
||||
objVal = jObj[name].ToString();
|
||||
}
|
||||
return objVal;
|
||||
}
|
||||
public static string JToken_Value(JToken jToken, string name)
|
||||
{
|
||||
var objVal = "NULL";
|
||||
var jTokenStr = jToken.ToString();
|
||||
if (!jTokenStr.Contains(name))
|
||||
{
|
||||
return objVal;
|
||||
}
|
||||
|
||||
if (jToken[name] != null)
|
||||
{
|
||||
objVal = jToken[name].ToString();
|
||||
}
|
||||
return objVal;
|
||||
|
||||
}
|
||||
public static string JToken_Value_Int(JToken jToken, string name)
|
||||
{
|
||||
var objVal = "-1";
|
||||
if (jToken[name] != null)
|
||||
{
|
||||
objVal = jToken[name].ToString();
|
||||
}
|
||||
return objVal;
|
||||
|
||||
}
|
||||
public static JArray JObject_JArray(JObject jObj, string name)
|
||||
{
|
||||
var jArray = new JArray();
|
||||
if (jObj[name] != null)
|
||||
{
|
||||
jArray = (JArray)jObj[name];
|
||||
}
|
||||
return jArray;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
349
SlMesDbIterface/MessageHanlder/HttpCli.cs
Normal file
349
SlMesDbIterface/MessageHanlder/HttpCli.cs
Normal file
@@ -0,0 +1,349 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PLMTEST
|
||||
{
|
||||
public class HttpCli
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 指定Url地址使用Get 方式获取全部字符串
|
||||
/// </summary>
|
||||
/// <param name="url">请求链接地址</param>
|
||||
/// <returns></returns>
|
||||
public static string Get(string url)
|
||||
{
|
||||
string result = "";
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
try
|
||||
{
|
||||
//获取内容
|
||||
using (StreamReader reader = new StreamReader(stream))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
stream.Close();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static void GetFile(string url,string path)
|
||||
{
|
||||
WebRequest request = WebRequest.Create(url);
|
||||
WebResponse response = request.GetResponse();
|
||||
if (response.ContentType.ToLower().Length > 0)
|
||||
{
|
||||
using (Stream reader = response.GetResponseStream())
|
||||
{
|
||||
using (FileStream writer = new FileStream(path, FileMode.OpenOrCreate, FileAccess.Write))
|
||||
{
|
||||
byte[] buffer = new byte[1024];
|
||||
int c = 0;
|
||||
while ((c = reader.Read(buffer, 0, buffer.Length)) > 0)
|
||||
{
|
||||
writer.Write(buffer, 0, c);
|
||||
}
|
||||
}
|
||||
}
|
||||
//HttpContext
|
||||
}
|
||||
}
|
||||
|
||||
public static byte[] GetFile_Bytes(string url)
|
||||
{
|
||||
byte[] bytesAll = null;
|
||||
WebRequest request = WebRequest.Create(url);
|
||||
WebResponse response = request.GetResponse();
|
||||
if (response.ContentType.ToLower().Length > 0)
|
||||
{
|
||||
using (Stream reader = response.GetResponseStream())
|
||||
{
|
||||
MemoryStream ms = new MemoryStream();
|
||||
byte[] buffer = new byte[1024];
|
||||
while (true)
|
||||
{
|
||||
int sz = reader.Read(buffer, 0, 1024);
|
||||
if (sz == 0) break;
|
||||
ms.Write(buffer, 0, sz);
|
||||
}
|
||||
bytesAll = ms.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
//如是图片
|
||||
//System.Drawing.Image img = System.Drawing.Image.FromStream(ms);
|
||||
|
||||
return bytesAll;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void FGHJ()
|
||||
{
|
||||
|
||||
// Create a 'WebRequest' object with the specified url.
|
||||
WebRequest myWebRequest = WebRequest.Create("http://www.contoso.com");
|
||||
|
||||
// Send the 'WebRequest' and wait for response.
|
||||
WebResponse myWebResponse = myWebRequest.GetResponse();
|
||||
|
||||
// Obtain a 'Stream' object associated with the response object.
|
||||
Stream ReceiveStream = myWebResponse.GetResponseStream();
|
||||
|
||||
Encoding encode = System.Text.Encoding.GetEncoding("utf-8");
|
||||
|
||||
// Pipe the stream to a higher level stream reader with the required encoding format.
|
||||
StreamReader readStream = new StreamReader(ReceiveStream, encode);
|
||||
Console.WriteLine("\nResponse stream received");
|
||||
Char[] read = new Char[256];
|
||||
|
||||
// Read 256 charcters at a time.
|
||||
int count = readStream.Read(read, 0, 256);
|
||||
Console.WriteLine("HTML...\r\n");
|
||||
|
||||
while (count > 0)
|
||||
{
|
||||
// Dump the 256 characters on a string and display the string onto the console.
|
||||
String str = new String(read, 0, count);
|
||||
Console.Write(str);
|
||||
count = readStream.Read(read, 0, 256);
|
||||
}
|
||||
|
||||
Console.WriteLine("");
|
||||
// Release the resources of stream object.
|
||||
readStream.Close();
|
||||
|
||||
// Release the resources of response object.
|
||||
myWebResponse.Close();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送Get请求
|
||||
/// </summary>
|
||||
/// <param name="url">地址</param>
|
||||
/// <param name="dic">请求参数定义</param>
|
||||
/// <returns></returns>
|
||||
public static string Get(string url, Dictionary<string, string> dic)
|
||||
{
|
||||
string result = "";
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.Append(url);
|
||||
if (dic.Count > 0)
|
||||
{
|
||||
builder.Append("?");
|
||||
int i = 0;
|
||||
foreach (var item in dic)
|
||||
{
|
||||
if (i > 0)
|
||||
builder.Append("&");
|
||||
builder.AppendFormat("{0}={1}", item.Key, item.Value);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(builder.ToString());
|
||||
//添加参数
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
try
|
||||
{
|
||||
//获取内容
|
||||
using (StreamReader reader = new StreamReader(stream))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
stream.Close();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 指定Post地址使用Get 方式获取全部字符串
|
||||
/// </summary>
|
||||
/// <param name="url">请求后台地址</param>
|
||||
/// <returns></returns>
|
||||
public static string Post(string url)
|
||||
{
|
||||
string result = "";
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Method = "POST";
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
//获取内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 指定Post地址使用Get 方式获取全部字符串
|
||||
/// </summary>
|
||||
/// <param name="url">请求后台地址</param>
|
||||
/// <returns></returns>
|
||||
public static string Post(string url, Dictionary<string, string> dic)
|
||||
{
|
||||
string result = "";
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Method = "POST";
|
||||
req.ContentType = "application/x-www-form-urlencoded";
|
||||
#region 添加Post 参数
|
||||
StringBuilder builder = new StringBuilder();
|
||||
int i = 0;
|
||||
foreach (var item in dic)
|
||||
{
|
||||
if (i > 0)
|
||||
builder.Append("&");
|
||||
builder.AppendFormat("{0}={1}", item.Key, item.Value);
|
||||
i++;
|
||||
}
|
||||
byte[] data = Encoding.UTF8.GetBytes(builder.ToString());
|
||||
req.ContentLength = data.Length;
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
reqStream.Close();
|
||||
}
|
||||
#endregion
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
//获取响应内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 指定Post地址使用Get 方式获取全部字符串
|
||||
/// </summary>
|
||||
/// <param name="url">请求后台地址</param>
|
||||
/// <param name="content">Post提交数据内容(utf-8编码的)</param>
|
||||
/// <returns></returns>
|
||||
public static string Post(string url, string content)
|
||||
{
|
||||
string result = "";
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Method = "POST";
|
||||
req.ContentType = "application/json";
|
||||
|
||||
#region 添加Post 参数
|
||||
byte[] data = Encoding.UTF8.GetBytes(content);
|
||||
req.ContentLength = data.Length;
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
reqStream.Close();
|
||||
}
|
||||
#endregion
|
||||
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
//获取响应内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Http下载文件
|
||||
/// </summary>
|
||||
/// <param name="uri">下载地址</param>
|
||||
/// <param name="filefullpath">存放完整路径(含文件名)</param>
|
||||
/// <param name="size">每次多的大小</param>
|
||||
/// <returns>下载操作是否成功</returns>
|
||||
|
||||
public static bool DownLoadFiles(string uri, string filefullpath, int size = 1000000)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (File.Exists(filefullpath))
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(filefullpath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
string fileDirectory = System.IO.Path.GetDirectoryName(filefullpath);
|
||||
|
||||
if (!Directory.Exists(fileDirectory))
|
||||
{
|
||||
Directory.CreateDirectory(fileDirectory);
|
||||
}
|
||||
|
||||
FileStream fs = new FileStream(filefullpath, FileMode.Create);
|
||||
|
||||
byte[] buffer = new byte[size];
|
||||
|
||||
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
|
||||
|
||||
request.Timeout = 100000;
|
||||
|
||||
request.AddRange((int)fs.Length);
|
||||
|
||||
Stream ns = request.GetResponse().GetResponseStream();
|
||||
|
||||
long contentLength = request.GetResponse().ContentLength;
|
||||
|
||||
int length = ns.Read(buffer, 0, buffer.Length);
|
||||
|
||||
while (length > 0)
|
||||
{
|
||||
fs.Write(buffer,0 , length);
|
||||
buffer = new byte[size];
|
||||
length = ns.Read(buffer, 0, buffer.Length);
|
||||
}
|
||||
|
||||
fs.Close();
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
68
SlMesDbIterface/MessageHanlder/IOrderController.cs
Normal file
68
SlMesDbIterface/MessageHanlder/IOrderController.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
using System.Collections.Concurrent;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Threading;
|
||||
using SlMesDbIterface;
|
||||
using PLMTEST;
|
||||
using System.Net;
|
||||
using System.Net.Http.Headers;
|
||||
using System.IO;
|
||||
using ExternalDataSync;
|
||||
|
||||
|
||||
/////http://127.0.0.1:9981/api/IOrder/InsertOrder
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
namespace WebApi
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[RoutePrefix("api/IOrder")]
|
||||
public class IOrderController : ApiController
|
||||
{
|
||||
readonly string headUrl = "Project/";
|
||||
|
||||
/// <summary>
|
||||
/// 上传测试接收
|
||||
/// </summary>
|
||||
/// <param name="jobj"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public HttpResponseMessage test([FromBody] JObject jobj)
|
||||
{
|
||||
string JsonStr = jobj.ToString();
|
||||
|
||||
return new HttpResponseMessage
|
||||
{
|
||||
Content = new StringContent(AnalysisMsg.ProductionCalendarData(headUrl + System.Reflection.MethodBase.GetCurrentMethod().Name, jobj.ToString()), Encoding.GetEncoding("UTF-8"), "application/json")
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 生产建模基础数据
|
||||
/// </summary>
|
||||
/// <param name="jobj"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public HttpResponseMessage productCalendar([FromBody] JObject jobj)
|
||||
{
|
||||
return new HttpResponseMessage
|
||||
{
|
||||
Content = new StringContent(AnalysisMsg.ProductionCalendarData(headUrl + System.Reflection.MethodBase.GetCurrentMethod().Name, jobj.ToString()), Encoding.GetEncoding("UTF-8"), "application/json")
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
151
SlMesDbIterface/MessageHanlder/InitServer.cs
Normal file
151
SlMesDbIterface/MessageHanlder/InitServer.cs
Normal file
@@ -0,0 +1,151 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Formatting;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Web.Http;
|
||||
using System.Web.Http.Cors;
|
||||
using System.Web.Http.SelfHost;
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class InitServer
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
HttpSelfHostConfiguration config = null;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
HttpSelfHostServer server = null;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="port"></param>
|
||||
public InitServer(int port)
|
||||
{
|
||||
config = new HttpSelfHostConfiguration($"http://0.0.0.0:{port}");
|
||||
|
||||
config.EnableCors(new EnableCorsAttribute("*", "*", "*"));
|
||||
|
||||
config.MapHttpAttributeRoutes();
|
||||
|
||||
//config.Routes.MapHttpRoute(
|
||||
// name: "DefaultApi",
|
||||
// routeTemplate: "api/{controller}/{id}",
|
||||
// defaults: new { id = RouteParameter.Optional }
|
||||
//);
|
||||
|
||||
// 自定义路由匹配到action
|
||||
config.Routes.MapHttpRoute(
|
||||
name: "API Default",
|
||||
routeTemplate: "api/{controller}/{action}/{id}",
|
||||
defaults: new { id = RouteParameter.Optional }
|
||||
);
|
||||
|
||||
server = new HttpSelfHostServer(config);
|
||||
|
||||
server.OpenAsync().Wait();
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="port"></param>
|
||||
public void Init(int port)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
public void Close()
|
||||
{
|
||||
server.CloseAsync();
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class JsonContentNegotiator : IContentNegotiator
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private readonly JsonMediaTypeFormatter _jsonFormatter;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="formatter"></param>
|
||||
public JsonContentNegotiator(JsonMediaTypeFormatter formatter)
|
||||
{
|
||||
_jsonFormatter = formatter;
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="type"></param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="formatters"></param>
|
||||
/// <returns></returns>
|
||||
public ContentNegotiationResult Negotiate(Type type, HttpRequestMessage request, IEnumerable<MediaTypeFormatter> formatters)
|
||||
{
|
||||
var result = new ContentNegotiationResult(_jsonFormatter, new MediaTypeHeaderValue("application/json"));
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string Postring1(string url, string token, Dictionary<string, string> dic)
|
||||
{
|
||||
string results = "";
|
||||
//url = "http://172.16.22.15:8000/" + url;
|
||||
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Method = "POST";
|
||||
req.ContentType = "application/x-www-form-urlencoded";
|
||||
req.Headers.Add("Authorization", "Bearer " + token);
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
int i = 0;
|
||||
foreach (var item in dic)
|
||||
{
|
||||
if (i > 0)
|
||||
builder.Append("&");
|
||||
builder.AppendFormat("{0}={1}", item.Key, item.Value);
|
||||
i++;
|
||||
}
|
||||
byte[] data = Encoding.UTF8.GetBytes(builder.ToString());
|
||||
req.ContentLength = data.Length;
|
||||
try
|
||||
{
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
reqStream.Close();
|
||||
}
|
||||
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
|
||||
Stream stream = resp.GetResponseStream();
|
||||
//获取响应内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
results = reader.ReadToEnd();
|
||||
}
|
||||
return results;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine(e.Message);
|
||||
return e.Message;
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
20
SlMesDbIterface/MessageHanlder/InterfaceUpLoad.cs
Normal file
20
SlMesDbIterface/MessageHanlder/InterfaceUpLoad.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
using PLMTEST;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class InterfaceUpLoad
|
||||
{
|
||||
public static msgResHeader RequestPost(string url, msg m_msg)
|
||||
{
|
||||
return JsonConvert.DeserializeObject<msgResHeader>(HttpCli.Post(url, JsonConvert.SerializeObject(m_msg)));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
517
SlMesDbIterface/MessageHanlder/OExcel.cs
Normal file
517
SlMesDbIterface/MessageHanlder/OExcel.cs
Normal file
@@ -0,0 +1,517 @@
|
||||
using NPOI.HPSF;
|
||||
using NPOI.HSSF.UserModel;
|
||||
using NPOI.SS.UserModel;
|
||||
using NPOI.XSSF.UserModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NPOITest
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Execl工具辅助类
|
||||
/// </summary>
|
||||
public class ExeclHelper
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 读取Execl数据到DataTable中
|
||||
/// </summary>
|
||||
/// <param name="filePath">指定Execl文件路径</param>
|
||||
/// <param name="isColumnName">设置第一行是否是列名</param>
|
||||
/// <returns>返回一个DataTable数据集</returns>
|
||||
public static DataTable ExcelToDataTable(string filePath, string sheetName, bool isColumnName)
|
||||
{
|
||||
DataTable dataTable = null;
|
||||
FileStream fs = null;
|
||||
DataColumn column = null;
|
||||
DataRow dataRow = null;
|
||||
IWorkbook workbook = null;
|
||||
ISheet sheet = null;
|
||||
IRow row = null;
|
||||
ICell cell = null;
|
||||
int startRow = 0;
|
||||
try
|
||||
{
|
||||
using (fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
|
||||
{
|
||||
// 2007版本
|
||||
if (filePath.IndexOf(".xlsx") > 0)
|
||||
workbook = new XSSFWorkbook(fs);
|
||||
// 2003版本
|
||||
else if (filePath.IndexOf(".xls") > 0)
|
||||
workbook = new HSSFWorkbook(fs);
|
||||
if (workbook != null)
|
||||
{
|
||||
sheet = workbook.GetSheet(sheetName);//读取第一个sheet,当然也可以循环读取每个sheet
|
||||
dataTable = new DataTable();
|
||||
if (sheet != null)
|
||||
{
|
||||
int rowCount = sheet.LastRowNum;//总行数
|
||||
if (rowCount > 0)
|
||||
{
|
||||
IRow firstRow = sheet.GetRow(0);//第一行
|
||||
int cellCount = firstRow.LastCellNum;//列数
|
||||
|
||||
//构建datatable的列
|
||||
if (isColumnName)
|
||||
{
|
||||
startRow = 1;//如果第一行是列名,则从第二行开始读取
|
||||
for (int i = firstRow.FirstCellNum; i < cellCount; ++i)
|
||||
{
|
||||
cell = firstRow.GetCell(i);
|
||||
if (cell != null)
|
||||
{
|
||||
if (cell.StringCellValue != null)
|
||||
{
|
||||
column = new DataColumn(cell.StringCellValue);
|
||||
dataTable.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = firstRow.FirstCellNum; i < cellCount; ++i)
|
||||
{
|
||||
column = new DataColumn("column" + (i + 1));
|
||||
dataTable.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
|
||||
//填充行
|
||||
for (int i = startRow; i <= rowCount; ++i)
|
||||
{
|
||||
row = sheet.GetRow(i);
|
||||
if (row == null) continue;
|
||||
|
||||
dataRow = dataTable.NewRow();
|
||||
for (int j = row.FirstCellNum; j < cellCount; ++j)
|
||||
{
|
||||
cell = row.GetCell(j);
|
||||
if (cell == null)
|
||||
{
|
||||
dataRow[j] = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
//CellType(Unknown = -1,Numeric = 0,String = 1,Formula = 2,Blank = 3,Boolean = 4,Error = 5,)
|
||||
switch (cell.CellType)
|
||||
{
|
||||
case CellType.Blank:
|
||||
dataRow[j] = "";
|
||||
break;
|
||||
case CellType.Numeric:
|
||||
short format = cell.CellStyle.DataFormat;
|
||||
//对时间格式(2015.12.5、2015/12/5、2015-12-5等)的处理
|
||||
if (format == 14 || format == 31 || format == 57 || format == 58)
|
||||
dataRow[j] = cell.DateCellValue;
|
||||
else
|
||||
dataRow[j] = cell.NumericCellValue;
|
||||
break;
|
||||
case CellType.String:
|
||||
dataRow[j] = cell.StringCellValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
dataTable.Rows.Add(dataRow);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return dataTable;
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
if (fs != null)
|
||||
{
|
||||
fs.Close();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static DataTable ExcelToDataTable(string filePath,int sheetIndex, bool isColumnName)
|
||||
{
|
||||
DataTable dataTable = null;
|
||||
FileStream fs = null;
|
||||
DataColumn column = null;
|
||||
DataRow dataRow = null;
|
||||
IWorkbook workbook = null;
|
||||
ISheet sheet = null;
|
||||
IRow row = null;
|
||||
ICell cell = null;
|
||||
int startRow = 0;
|
||||
try
|
||||
{
|
||||
using (fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
|
||||
{
|
||||
// 2007版本
|
||||
if (filePath.IndexOf(".xlsx") > 0)
|
||||
workbook = new XSSFWorkbook(fs);
|
||||
// 2003版本
|
||||
else if (filePath.IndexOf(".xls") > 0)
|
||||
workbook = new HSSFWorkbook(fs);
|
||||
if (workbook != null)
|
||||
{
|
||||
sheet = workbook.GetSheetAt(sheetIndex);//读取第一个sheet,当然也可以循环读取每个sheet
|
||||
dataTable = new DataTable();
|
||||
if (sheet != null)
|
||||
{
|
||||
int rowCount = sheet.LastRowNum;//总行数
|
||||
if (rowCount > 0)
|
||||
{
|
||||
IRow firstRow = sheet.GetRow(0);//第一行
|
||||
int cellCount = firstRow.LastCellNum;//列数
|
||||
|
||||
//构建datatable的列
|
||||
if (isColumnName)
|
||||
{
|
||||
startRow = 1;//如果第一行是列名,则从第二行开始读取
|
||||
for (int i = firstRow.FirstCellNum; i < cellCount; ++i)
|
||||
{
|
||||
cell = firstRow.GetCell(i);
|
||||
if (cell != null)
|
||||
{
|
||||
if (cell.StringCellValue != null)
|
||||
{
|
||||
column = new DataColumn(cell.StringCellValue);
|
||||
dataTable.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = firstRow.FirstCellNum; i < cellCount; ++i)
|
||||
{
|
||||
column = new DataColumn("column" + (i + 1));
|
||||
dataTable.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
|
||||
//填充行
|
||||
for (int i = startRow; i <= rowCount; ++i)
|
||||
{
|
||||
row = sheet.GetRow(i);
|
||||
if (row == null) continue;
|
||||
|
||||
dataRow = dataTable.NewRow();
|
||||
for (int j = row.FirstCellNum; j < cellCount; ++j)
|
||||
{
|
||||
cell = row.GetCell(j);
|
||||
if (cell == null)
|
||||
{
|
||||
dataRow[j] = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
//CellType(Unknown = -1,Numeric = 0,String = 1,Formula = 2,Blank = 3,Boolean = 4,Error = 5,)
|
||||
switch (cell.CellType)
|
||||
{
|
||||
case CellType.Blank:
|
||||
dataRow[j] = "";
|
||||
break;
|
||||
case CellType.Numeric:
|
||||
short format = cell.CellStyle.DataFormat;
|
||||
//对时间格式(2015.12.5、2015/12/5、2015-12-5等)的处理
|
||||
if (format == 14 || format == 31 || format == 57 || format == 58 || format == 22)
|
||||
dataRow[j] = cell.DateCellValue;
|
||||
else
|
||||
dataRow[j] = cell.NumericCellValue;
|
||||
break;
|
||||
case CellType.String:
|
||||
dataRow[j] = cell.StringCellValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
dataTable.Rows.Add(dataRow);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return dataTable;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
if (fs != null)
|
||||
{
|
||||
fs.Close();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 将DataTable导出到Execl文档
|
||||
/// </summary>
|
||||
/// <param name="dt">传入一个DataTable数据集</param>
|
||||
/// <returns>返回一个Bool类型的值,表示是否导出成功</returns>
|
||||
/// True表示导出成功,Flase表示导出失败
|
||||
public static bool DataTableToExcel(DataTable dt, string sheetName, string Outpath)
|
||||
{
|
||||
bool result = false;
|
||||
IWorkbook workbook = null;
|
||||
FileStream fs = null;
|
||||
IRow row = null;
|
||||
ISheet sheet = null;
|
||||
ICell cell = null;
|
||||
try
|
||||
{
|
||||
if (dt != null && dt.Rows.Count > 0)
|
||||
{
|
||||
workbook = new HSSFWorkbook();
|
||||
sheet = workbook.CreateSheet(sheetName);//创建一个名称为Sheet0的表
|
||||
int rowCount = dt.Rows.Count;//行数
|
||||
int columnCount = dt.Columns.Count;//列数
|
||||
|
||||
//设置列头
|
||||
row = sheet.CreateRow(0);//excel第一行设为列头
|
||||
for (int c = 0; c < columnCount; c++)
|
||||
{
|
||||
cell = row.CreateCell(c);
|
||||
cell.SetCellValue(dt.Columns[c].ColumnName);
|
||||
}
|
||||
|
||||
//设置每行每列的单元格,
|
||||
for (int i = 0; i < rowCount; i++)
|
||||
{
|
||||
row = sheet.CreateRow(i + 1);
|
||||
for (int j = 0; j < columnCount; j++)
|
||||
{
|
||||
cell = row.CreateCell(j);//excel第二行开始写入数据
|
||||
cell.SetCellValue(dt.Rows[i][j].ToString());
|
||||
}
|
||||
}
|
||||
//向outPath输出数据
|
||||
using (fs = File.OpenWrite(Outpath))
|
||||
{
|
||||
workbook.Write(fs);//向打开的这个xls文件中写入数据
|
||||
result = true;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (fs != null)
|
||||
{
|
||||
fs.Close();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 读取Execl数据到DataTable(DataSet)中
|
||||
/// </summary>
|
||||
/// <param name="filePath">指定Execl文件路径</param>
|
||||
/// <param name="isFirstLineColumnName">设置第一行是否是列名</param>
|
||||
/// <returns>返回一个DataTable数据集</returns>
|
||||
public static DataSet ExcelToDataSet(string filePath, bool isFirstLineColumnName)
|
||||
{
|
||||
DataSet dataSet = new DataSet();
|
||||
int startRow = 0;
|
||||
try
|
||||
{
|
||||
using (FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
|
||||
{
|
||||
IWorkbook workbook = null;
|
||||
// 如果是2007+的Excel版本
|
||||
if (filePath.IndexOf(".xlsx") > 0)
|
||||
{
|
||||
workbook = new XSSFWorkbook(fs);
|
||||
}
|
||||
// 如果是2003-的Excel版本
|
||||
else if (filePath.IndexOf(".xls") > 0)
|
||||
{
|
||||
workbook = new HSSFWorkbook(fs);
|
||||
}
|
||||
if (workbook != null)
|
||||
{
|
||||
//循环读取Excel的每个sheet,每个sheet页都转换为一个DataTable,并放在DataSet中
|
||||
for (int p = 0; p < workbook.NumberOfSheets; p++)
|
||||
{
|
||||
ISheet sheet = workbook.GetSheetAt(p);
|
||||
DataTable dataTable = new DataTable();
|
||||
dataTable.TableName = sheet.SheetName;
|
||||
if (sheet != null)
|
||||
{
|
||||
int rowCount = sheet.LastRowNum;//获取总行数
|
||||
if (rowCount > 0)
|
||||
{
|
||||
IRow firstRow = sheet.GetRow(0);//获取第一行
|
||||
int cellCount = firstRow.LastCellNum;//获取总列数
|
||||
|
||||
//构建datatable的列
|
||||
if (isFirstLineColumnName)
|
||||
{
|
||||
startRow = 1;//如果第一行是列名,则从第二行开始读取
|
||||
for (int i = firstRow.FirstCellNum; i < cellCount; ++i)
|
||||
{
|
||||
ICell cell = firstRow.GetCell(i);
|
||||
if (cell != null)
|
||||
{
|
||||
if (cell.StringCellValue != null)
|
||||
{
|
||||
DataColumn column = new DataColumn(cell.StringCellValue);
|
||||
dataTable.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = firstRow.FirstCellNum; i < cellCount; ++i)
|
||||
{
|
||||
DataColumn column = new DataColumn("column" + (i + 1));
|
||||
dataTable.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
|
||||
//填充行
|
||||
for (int i = startRow; i <= rowCount; ++i)
|
||||
{
|
||||
IRow row = sheet.GetRow(i);
|
||||
if (row == null) continue;
|
||||
|
||||
DataRow dataRow = dataTable.NewRow();
|
||||
for (int j = row.FirstCellNum; j < cellCount; ++j)
|
||||
{
|
||||
ICell cell = row.GetCell(j);
|
||||
if (cell == null)
|
||||
{
|
||||
dataRow[j] = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
//CellType(Unknown = -1,Numeric = 0,String = 1,Formula = 2,Blank = 3,Boolean = 4,Error = 5,)
|
||||
switch (cell.CellType)
|
||||
{
|
||||
case CellType.Blank:
|
||||
dataRow[j] = "";
|
||||
break;
|
||||
case CellType.Numeric:
|
||||
short format = cell.CellStyle.DataFormat;
|
||||
//对时间格式(2015.12.5、2015/12/5、2015-12-5等)的处理
|
||||
if (format == 14 || format == 31 || format == 57 || format == 58)
|
||||
dataRow[j] = cell.DateCellValue;
|
||||
else
|
||||
dataRow[j] = cell.NumericCellValue;
|
||||
break;
|
||||
case CellType.String:
|
||||
dataRow[j] = cell.StringCellValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
dataTable.Rows.Add(dataRow);
|
||||
}
|
||||
}
|
||||
}
|
||||
dataSet.Tables.Add(dataTable);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return dataSet;
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 将DataTable(DataSet)导出到Execl文档
|
||||
/// </summary>
|
||||
/// <param name="dataSet">传入一个DataSet</param>
|
||||
/// <param name="Outpath">导出路径(可以不加扩展名,不加默认为.xls)</param>
|
||||
/// <returns>返回一个Bool类型的值,表示是否导出成功</returns>
|
||||
/// True表示导出成功,Flase表示导出失败
|
||||
public static bool DataSetToExcel(DataSet dataSet, string Outpath)
|
||||
{
|
||||
bool result = false;
|
||||
try
|
||||
{
|
||||
if (dataSet == null || dataSet.Tables == null || dataSet.Tables.Count == 0 || string.IsNullOrEmpty(Outpath))
|
||||
throw new Exception("输入的DataSet或路径异常");
|
||||
int sheetIndex = 0;
|
||||
//根据输出路径的扩展名判断workbook的实例类型
|
||||
IWorkbook workbook = null;
|
||||
string pathExtensionName = Outpath.Trim().Substring(Outpath.Length - 5);
|
||||
if (pathExtensionName.Contains(".xlsx"))
|
||||
{
|
||||
workbook = new XSSFWorkbook();
|
||||
}
|
||||
else if (pathExtensionName.Contains(".xls"))
|
||||
{
|
||||
workbook = new HSSFWorkbook();
|
||||
}
|
||||
else
|
||||
{
|
||||
Outpath = Outpath.Trim() + ".xls";
|
||||
workbook = new HSSFWorkbook();
|
||||
}
|
||||
//将DataSet导出为Excel
|
||||
foreach (DataTable dt in dataSet.Tables)
|
||||
{
|
||||
sheetIndex++;
|
||||
if (dt != null && dt.Rows.Count > 0)
|
||||
{
|
||||
ISheet sheet = workbook.CreateSheet(string.IsNullOrEmpty(dt.TableName) ? ("sheet" + sheetIndex) : dt.TableName);//创建一个名称为Sheet0的表
|
||||
int rowCount = dt.Rows.Count;//行数
|
||||
int columnCount = dt.Columns.Count;//列数
|
||||
|
||||
//设置列头
|
||||
IRow row = sheet.CreateRow(0);//excel第一行设为列头
|
||||
for (int c = 0; c < columnCount; c++)
|
||||
{
|
||||
ICell cell = row.CreateCell(c);
|
||||
cell.SetCellValue(dt.Columns[c].ColumnName);
|
||||
}
|
||||
|
||||
//设置每行每列的单元格,
|
||||
for (int i = 0; i < rowCount; i++)
|
||||
{
|
||||
row = sheet.CreateRow(i + 1);
|
||||
for (int j = 0; j < columnCount; j++)
|
||||
{
|
||||
ICell cell = row.CreateCell(j);//excel第二行开始写入数据
|
||||
cell.SetCellValue(dt.Rows[i][j].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//向outPath输出数据
|
||||
using (FileStream fs = File.OpenWrite(Outpath))
|
||||
{
|
||||
workbook.Write(fs);//向打开的这个xls文件中写入数据
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
173
SlMesDbIterface/MessageHanlder/Re.cs
Normal file
173
SlMesDbIterface/MessageHanlder/Re.cs
Normal file
@@ -0,0 +1,173 @@
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using RecData;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PLMTEST
|
||||
{
|
||||
public class Re
|
||||
{
|
||||
|
||||
|
||||
public static DataTable Analysis_DataObject(string jsonStr)
|
||||
{
|
||||
/*
|
||||
{
|
||||
"list": [
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": null,
|
||||
"objId": "01_18AC913FCA4A4DA99BDF01A99C232219",
|
||||
"objNo": "0100045006",
|
||||
"fname": null,
|
||||
"suffix": null,
|
||||
"hasAffine": null,
|
||||
"name": "油泵轴油封",
|
||||
"fsize": null,
|
||||
"fsizeStr": "未知",
|
||||
"type": "D",
|
||||
"tablename": "MPART",
|
||||
"smemo": null,
|
||||
"ctimestr": "2017-07-11 16:03",
|
||||
"mtimestr": "2020-12-21 15:36",
|
||||
"creator": "5914洪杰",
|
||||
"modifier": "11458戚亚克",
|
||||
"ver": "1",
|
||||
"stimestr": null,
|
||||
"etimestr": null,
|
||||
"extra": null,//这里加了俩字段:PTYPE(小类)、DTYPE(大类)
|
||||
"searchText": null
|
||||
}
|
||||
],
|
||||
"errcode": 0,
|
||||
"errmsg": null,
|
||||
"total": 1
|
||||
}
|
||||
*/
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt.Columns.Add("errcode");
|
||||
dt.Columns.Add("errmsg");
|
||||
dt.Columns.Add("objId");
|
||||
dt.Columns.Add("objNo");
|
||||
dt.Columns.Add("fname");
|
||||
dt.Columns.Add("suffix");
|
||||
dt.Columns.Add("hasAffine");
|
||||
dt.Columns.Add("name");
|
||||
dt.Columns.Add("fsize");
|
||||
dt.Columns.Add("fsizeStr");
|
||||
dt.Columns.Add("type");
|
||||
dt.Columns.Add("tablename");
|
||||
dt.Columns.Add("smemo");
|
||||
dt.Columns.Add("ctimestr");
|
||||
dt.Columns.Add("mtimestr");
|
||||
dt.Columns.Add("creator");
|
||||
dt.Columns.Add("modifier");
|
||||
dt.Columns.Add("ver");
|
||||
dt.Columns.Add("stimestr");
|
||||
dt.Columns.Add("etimestr");
|
||||
dt.Columns.Add("extra");
|
||||
dt.Columns.Add("PTYPE");
|
||||
dt.Columns.Add("DTYPE");
|
||||
dt.Columns.Add("searchText");
|
||||
|
||||
|
||||
|
||||
var json = JsonConvert.DeserializeObject<JObject>(jsonStr);
|
||||
var errcode = json["errcode"].ToString();
|
||||
var errmsg = json["errmsg"].ToString();
|
||||
// var total = json["total"].ToString();
|
||||
if (errcode != "0")
|
||||
{
|
||||
dt = new DataTable();
|
||||
dt.Columns.Add("errcode");
|
||||
dt.Columns.Add("errmsg");
|
||||
// dt.Columns.Add("total");
|
||||
var dr = dt.NewRow();
|
||||
dr["errcode"] = errcode;
|
||||
dr["errmsg"] = errmsg;
|
||||
//dr["total"] = total;
|
||||
dt.Rows.Add(dr);
|
||||
return dt;
|
||||
}
|
||||
var array = json["list"];
|
||||
foreach (var a in array)
|
||||
{
|
||||
var _errcode = a["errcode"].ToString();
|
||||
var _errmsg = a["errmsg"].ToString();
|
||||
var objId = a["objId"].ToString();
|
||||
var objNo = a["objNo"].ToString();
|
||||
var fname = a["fname"].ToString();
|
||||
var suffix = a["suffix"].ToString();
|
||||
var hasAffine = a["hasAffine"].ToString();
|
||||
var name = a["name"].ToString();
|
||||
var fsize = a["fsize"].ToString();
|
||||
var fsizeStr = a["fsizeStr"].ToString();
|
||||
var type = a["type"].ToString();
|
||||
var tablename = a["tablename"].ToString();
|
||||
var smemo = a["smemo"].ToString();
|
||||
var ctimestr = a["ctimestr"].ToString();
|
||||
var mtimestr = a["mtimestr"].ToString();
|
||||
var creator = a["creator"].ToString();
|
||||
var modifier = a["modifier"].ToString();
|
||||
var ver = a["ver"].ToString();
|
||||
var stimestr = a["stimestr"].ToString();
|
||||
var etimestr = a["etimestr"].ToString();
|
||||
var extra_O = a["extra"];
|
||||
var extra = "-1";
|
||||
if (a["extra"] != null)
|
||||
{
|
||||
extra = a["extra"].ToString();
|
||||
}
|
||||
var PTYPE = GetVal.JToken_Value(extra_O, "PTYPE");
|
||||
var DTYPE = GetVal.JToken_Value(extra_O, "DTYPE");
|
||||
|
||||
var searchText = a["searchText"].ToString();
|
||||
|
||||
var dr = dt.NewRow();
|
||||
dr["errcode"] = _errcode;
|
||||
dr["errmsg"] = _errmsg;
|
||||
dr["objId"] = objId;
|
||||
dr["objNo"] = objNo;
|
||||
dr["fname"] = fname;
|
||||
dr["suffix"] = suffix;
|
||||
dr["hasAffine"] = hasAffine;
|
||||
dr["name"] = name;
|
||||
dr["fsize"] = fsize;
|
||||
dr["fsizeStr"] = fsizeStr;
|
||||
dr["type"] = type;
|
||||
dr["tablename"] = tablename;
|
||||
dr["smemo"] = smemo;
|
||||
|
||||
dr["ctimestr"] = ctimestr;
|
||||
dr["mtimestr"] = mtimestr;
|
||||
dr["creator"] = creator;
|
||||
dr["modifier"] = modifier;
|
||||
dr["ver"] = ver;
|
||||
|
||||
dr["stimestr"] = stimestr;
|
||||
dr["etimestr"] = etimestr;
|
||||
dr["extra"] = extra;
|
||||
dr["PTYPE"] = PTYPE;
|
||||
dr["DTYPE"] = DTYPE;
|
||||
dr["searchText"] = searchText;
|
||||
|
||||
dt.Rows.Add(dr);
|
||||
}
|
||||
|
||||
return dt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
131
SlMesDbIterface/MessageHanlder/WCController.cs
Normal file
131
SlMesDbIterface/MessageHanlder/WCController.cs
Normal file
@@ -0,0 +1,131 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
using System.Collections.Concurrent;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Threading;
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
|
||||
[RoutePrefix("api/WC")] //定义路由前缀
|
||||
public class WCController : ApiController
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 插入数据库
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public HttpResponseMessage ReportUp()
|
||||
{
|
||||
string pp = @"{\""Result\"":\""OK\""}";
|
||||
try
|
||||
{
|
||||
// pp = jObject.ToString();
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
}
|
||||
return new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public HttpResponseMessage ReportUpCancel()
|
||||
{
|
||||
string pp = @"{\""Result\"":\""别试了,就不好用,试了也不好用\""}";
|
||||
try
|
||||
{
|
||||
// pp = jObject.ToString();
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
}
|
||||
return new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
[HttpPost]
|
||||
public HttpResponseMessage SelectPage([FromBody]JObject jobj)
|
||||
{
|
||||
string pp = "";
|
||||
|
||||
try
|
||||
{
|
||||
var OpName = jobj["OpName"].ToString();
|
||||
var StartTime = jobj["StartTime"].ToString();
|
||||
var EndTime = jobj["EndTime"].ToString();
|
||||
var PageCurrent = jobj["PageCurrent"].ToString();
|
||||
var PageSize = jobj["PageSize"].ToString();
|
||||
|
||||
|
||||
string sql = "SELECT * FROM z_save_tag " +
|
||||
"WHERE(OperationTime BETWEEN '" + StartTime + "' AND '" + EndTime + "') AND OpName like '" + OpName + "%' " +
|
||||
"ORDER BY OperationTime;\n";
|
||||
// var res = GlobalVar.dbClient.ExecQuery(sql);
|
||||
|
||||
// var zSavePersonList = Z_Save_Position.DataTableToClass(res);
|
||||
|
||||
// var newZSaveList = DatabaseClient.DBClient.SplitePage<Z_Save_Position>(zSavePersonList, Convert.ToInt32(PageSize), Convert.ToInt32(PageCurrent));
|
||||
//var tableData = (JArray)JsonConvert.DeserializeObject(JsonConvert.SerializeObject(newZSaveList));
|
||||
//JObject resjobj = new JObject() {
|
||||
// new JProperty("ItemCount", zSavePersonList.Count.ToString()),
|
||||
// new JProperty("TableData",tableData)
|
||||
//};
|
||||
|
||||
//pp = resjobj.ToString()
|
||||
// //.Replace("\r\n","")
|
||||
// ;
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
//GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine(err.Message);
|
||||
}
|
||||
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
return result;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public HttpResponseMessage Select([FromBody] JObject jobj)
|
||||
{
|
||||
string pp = "";
|
||||
try
|
||||
{
|
||||
string OpName = jobj["OpName"].ToString();
|
||||
string StartTime = jobj["StartTime"].ToString();
|
||||
string EndTime = jobj["EndTime"].ToString();
|
||||
|
||||
string sql = "SELECT * FROM z_save_tag " +
|
||||
"WHERE(OperationTime BETWEEN '"+StartTime+"' AND '"+EndTime+"') AND OpName like '"+OpName+"%' " +
|
||||
"ORDER BY OperationTime;\n";
|
||||
// var res = GlobalVar.dbClient.ExecQuery(sql);
|
||||
|
||||
//var zSavePersonList = Z_Save_Position.DataTableToClass(res);
|
||||
|
||||
//var zSavePersonListStr = JsonConvert.SerializeObject(zSavePersonList);
|
||||
|
||||
//pp = zSavePersonListStr.ToString();
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
// GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine(err.Message);
|
||||
}
|
||||
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
119
SlMesDbIterface/MessageHanlder/ZSavePositionController.cs
Normal file
119
SlMesDbIterface/MessageHanlder/ZSavePositionController.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
using System.Collections.Concurrent;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
|
||||
[RoutePrefix("api/ZSavePosition")] //定义路由前缀
|
||||
public class ZSavePositionController : ApiController
|
||||
{
|
||||
/// <summary>
|
||||
/// 插入数据库
|
||||
/// </summary>
|
||||
/// <param name="jObject"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public void Insert(JObject jObject)
|
||||
{
|
||||
string pp = "";
|
||||
try
|
||||
{
|
||||
var z_Save_Position = JsonConvert.DeserializeObject<Z_Save_Position>(JsonConvert.SerializeObject(jObject));
|
||||
|
||||
//z_Save_Position.OpName = "a1";
|
||||
//z_Save_Position.Value = "asd";
|
||||
//z_Save_Position.OperationTime = "2022/06/29 16:40:43";
|
||||
//z_Save_Position.ProjectCode = "123";
|
||||
|
||||
string sql = "INSERT INTO z_save_position(OpName, Value, OperationTime, ProjectCode) VALUES('" + z_Save_Position.OpName + "', '" + z_Save_Position.Value + "', '" + z_Save_Position.OperationTime + "', '" + z_Save_Position.ProjectCode + "');\n";
|
||||
// var res = GlobalVar.dbClient.ExecNonQuery(sql);
|
||||
|
||||
// pp = res.ToString();
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
// GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine(err.Message);
|
||||
}
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public HttpResponseMessage SelectPage([FromBody] JObject jobj)
|
||||
{
|
||||
string pp = "";
|
||||
try
|
||||
{
|
||||
var OpName = jobj["OpName"].ToString();
|
||||
var StartTime = jobj["StartTime"].ToString();
|
||||
var EndTime = jobj["EndTime"].ToString();
|
||||
var PageCurrent = jobj["PageCurrent"].ToString();
|
||||
var PageSize = jobj["PageSize"].ToString();
|
||||
|
||||
string sql = "SELECT * FROM z_save_position " +
|
||||
"WHERE(OperationTime BETWEEN '" + StartTime + "' AND '" + EndTime + "') AND OpName like '" + OpName + "%' " +
|
||||
"ORDER BY OperationTime;\n";
|
||||
// var res = GlobalVar.dbClient.ExecQuery(sql);
|
||||
|
||||
//var zSavePersonList = Z_Save_Position.DataTableToClass(res);
|
||||
|
||||
// var newZSaveList = DatabaseClient.DBClient.SplitePage<Z_Save_Position>(zSavePersonList, Convert.ToInt32(PageSize), Convert.ToInt32(PageCurrent));
|
||||
// var tableData = (JArray)JsonConvert.DeserializeObject(JsonConvert.SerializeObject(newZSaveList));
|
||||
//JObject resjobj = new JObject() {
|
||||
// new JProperty("ItemCount", zSavePersonList.Count.ToString()),
|
||||
// new JProperty("TableData",tableData)
|
||||
//};
|
||||
|
||||
// pp = resjobj.ToString();
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
// GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine(err.Message);
|
||||
}
|
||||
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
return result;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public HttpResponseMessage Select([FromBody] JObject jobj)
|
||||
{
|
||||
string pp = "";
|
||||
try
|
||||
{
|
||||
var OpName = jobj["OpName"].ToString();
|
||||
var StartTime = jobj["StartTime"].ToString();
|
||||
var EndTime = jobj["EndTime"].ToString();
|
||||
|
||||
string sql = "SELECT * FROM z_save_position " +
|
||||
"WHERE(OperationTime BETWEEN '"+StartTime+"' AND '"+EndTime+"') AND OpName like '"+OpName+"%' " +
|
||||
"ORDER BY OperationTime;\n";
|
||||
//var res = GlobalVar.dbClient.ExecQuery(sql);
|
||||
|
||||
// var zSavePersonList = Z_Save_Position.DataTableToClass(res);
|
||||
|
||||
// var zSavePersonListStr = JsonConvert.SerializeObject(zSavePersonList);
|
||||
|
||||
// pp = zSavePersonListStr.ToString();
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
//GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine (err.Message);
|
||||
}
|
||||
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
122
SlMesDbIterface/MessageHanlder/ZSaveTagController.cs
Normal file
122
SlMesDbIterface/MessageHanlder/ZSaveTagController.cs
Normal file
@@ -0,0 +1,122 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
using System.Collections.Concurrent;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
|
||||
[RoutePrefix("api/ZSaveTag")] //定义路由前缀
|
||||
public class ZSaveTagController : ApiController
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 插入数据库
|
||||
/// </summary>
|
||||
/// <param name="jObject"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public void Insert(JObject jObject)
|
||||
{
|
||||
string pp = "";
|
||||
try
|
||||
{
|
||||
var z_Save_Tag = JsonConvert.DeserializeObject<Z_Save_Tag>(JsonConvert.SerializeObject(jObject));
|
||||
|
||||
string sql = "" +
|
||||
"INSERT INTO z_save_tag (OpName, TagID, Value, KeepTime, OperationTime, ProjectCode) " +
|
||||
" VALUES('"+ z_Save_Tag.OpName+ "', '"+ z_Save_Tag.TagID+ "', '"+ z_Save_Tag.Value+ "', '"+ z_Save_Tag .KeepTime+ "', '"+ z_Save_Tag .OperationTime+ "', '"+ z_Save_Tag .ProjectCode+ "'); \n";
|
||||
//var res = GlobalVar.dbClient.ExecNonQuery(sql);
|
||||
|
||||
// pp = res.ToString();
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
//GlobalVar.log.Error(err.Message);
|
||||
}
|
||||
// HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
// return result;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public HttpResponseMessage SelectPage([FromBody]JObject jobj)
|
||||
{
|
||||
string pp = "";
|
||||
|
||||
try
|
||||
{
|
||||
var OpName = jobj["OpName"].ToString();
|
||||
var StartTime = jobj["StartTime"].ToString();
|
||||
var EndTime = jobj["EndTime"].ToString();
|
||||
var PageCurrent = jobj["PageCurrent"].ToString();
|
||||
var PageSize = jobj["PageSize"].ToString();
|
||||
|
||||
|
||||
string sql = "SELECT * FROM z_save_tag " +
|
||||
"WHERE(OperationTime BETWEEN '" + StartTime + "' AND '" + EndTime + "') AND OpName like '" + OpName + "%' " +
|
||||
"ORDER BY OperationTime;\n";
|
||||
// var res = GlobalVar.dbClient.ExecQuery(sql);
|
||||
|
||||
// var zSavePersonList = Z_Save_Position.DataTableToClass(res);
|
||||
|
||||
// var newZSaveList = DatabaseClient.DBClient.SplitePage<Z_Save_Position>(zSavePersonList, Convert.ToInt32(PageSize), Convert.ToInt32(PageCurrent));
|
||||
//var tableData = (JArray)JsonConvert.DeserializeObject(JsonConvert.SerializeObject(newZSaveList));
|
||||
//JObject resjobj = new JObject() {
|
||||
// new JProperty("ItemCount", zSavePersonList.Count.ToString()),
|
||||
// new JProperty("TableData",tableData)
|
||||
//};
|
||||
|
||||
//pp = resjobj.ToString()
|
||||
// //.Replace("\r\n","")
|
||||
// ;
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
//GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine(err.Message);
|
||||
}
|
||||
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
return result;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public HttpResponseMessage Select([FromBody] JObject jobj)
|
||||
{
|
||||
string pp = "";
|
||||
try
|
||||
{
|
||||
string OpName = jobj["OpName"].ToString();
|
||||
string StartTime = jobj["StartTime"].ToString();
|
||||
string EndTime = jobj["EndTime"].ToString();
|
||||
|
||||
string sql = "SELECT * FROM z_save_tag " +
|
||||
"WHERE(OperationTime BETWEEN '"+StartTime+"' AND '"+EndTime+"') AND OpName like '"+OpName+"%' " +
|
||||
"ORDER BY OperationTime;\n";
|
||||
// var res = GlobalVar.dbClient.ExecQuery(sql);
|
||||
|
||||
//var zSavePersonList = Z_Save_Position.DataTableToClass(res);
|
||||
|
||||
//var zSavePersonListStr = JsonConvert.SerializeObject(zSavePersonList);
|
||||
|
||||
//pp = zSavePersonListStr.ToString();
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
// GlobalVar.log.Error(err.Message);
|
||||
// Console.WriteLine(err.Message);
|
||||
}
|
||||
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(pp, Encoding.GetEncoding("UTF-8"), "application/json") };
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
40
SlMesDbIterface/MessageHanlder/Z_Save_Position.cs
Normal file
40
SlMesDbIterface/MessageHanlder/Z_Save_Position.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using System.Data;
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
class Z_Save_Position
|
||||
{
|
||||
public int ID;
|
||||
public string OpName;
|
||||
public string Value;
|
||||
public string OperationTime;
|
||||
public string ProjectCode;
|
||||
|
||||
public Z_Save_Position() { }
|
||||
|
||||
public static List<Z_Save_Position> DataTableToClass(DataTable dt_Z_Save_Position)
|
||||
{
|
||||
List<Z_Save_Position> z_Save_PositionList = new List<Z_Save_Position>();
|
||||
Z_Save_Position z_Save_Position;
|
||||
for (int i = 0; i < dt_Z_Save_Position.Rows.Count; i++)
|
||||
{
|
||||
z_Save_Position = new Z_Save_Position();
|
||||
var row = dt_Z_Save_Position.Rows[i];
|
||||
z_Save_Position.ID = Convert.ToInt32(row["ID"]);
|
||||
z_Save_Position.OpName = row["OpName"].ToString();
|
||||
z_Save_Position.Value = row["Value"].ToString();
|
||||
z_Save_Position.OperationTime = row["OperationTime"].ToString();
|
||||
z_Save_Position.ProjectCode = row["ProjectCode"].ToString();
|
||||
z_Save_PositionList.Add(z_Save_Position);
|
||||
}
|
||||
|
||||
return z_Save_PositionList;
|
||||
}
|
||||
}
|
||||
}
|
||||
46
SlMesDbIterface/MessageHanlder/Z_Save_Tag.cs
Normal file
46
SlMesDbIterface/MessageHanlder/Z_Save_Tag.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
class Z_Save_Tag
|
||||
{
|
||||
public int ID;
|
||||
public string OpName;
|
||||
public string TagID;
|
||||
public string Value;
|
||||
public string KeepTime;
|
||||
public string OperationTime;
|
||||
public string ProjectCode;
|
||||
public Z_Save_Tag()
|
||||
{
|
||||
|
||||
}
|
||||
public static List<Z_Save_Tag> DataTableToClass(DataTable dt_Z_Save_Tag)
|
||||
{
|
||||
List<Z_Save_Tag> z_Save_TagList = new List<Z_Save_Tag>();
|
||||
Z_Save_Tag z_Save_Tag;
|
||||
for (int i = 0; i < dt_Z_Save_Tag.Rows.Count; i++)
|
||||
{
|
||||
z_Save_Tag = new Z_Save_Tag();
|
||||
|
||||
var row = dt_Z_Save_Tag.Rows[i];
|
||||
z_Save_Tag.ID = Convert.ToInt32(row["ID"]);
|
||||
z_Save_Tag.OpName = row["OpName"].ToString();
|
||||
z_Save_Tag.TagID = row["TagID"].ToString();
|
||||
z_Save_Tag.Value = row["Value"].ToString();
|
||||
z_Save_Tag.KeepTime = row["KeepTime"].ToString();
|
||||
z_Save_Tag.OperationTime = row["OperationTime"].ToString();
|
||||
z_Save_Tag.ProjectCode = row["ProjectCode"].ToString();
|
||||
|
||||
z_Save_TagList.Add(z_Save_Tag);
|
||||
}
|
||||
|
||||
return z_Save_TagList;
|
||||
}
|
||||
}
|
||||
}
|
||||
36
SlMesDbIterface/MessageHanlder/msgHeader.cs
Normal file
36
SlMesDbIterface/MessageHanlder/msgHeader.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class msgHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// 协议版本,默认1.0
|
||||
/// </summary>
|
||||
public int version
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = 1;
|
||||
/// <summary>
|
||||
/// 消息ID
|
||||
/// </summary>
|
||||
public string taskId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 事务号
|
||||
/// </summary>
|
||||
public string taskType
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "";
|
||||
}
|
||||
}
|
||||
50
SlMesDbIterface/Mysql/solveUploadData.cs
Normal file
50
SlMesDbIterface/Mysql/solveUploadData.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using DatabaseClient;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace SlMesDbIterface
|
||||
{
|
||||
public class solveUploadData {
|
||||
|
||||
public static DataTable GetUpLoadData(int dataType, string tableName, out string erorrMessage)
|
||||
{
|
||||
erorrMessage = "";
|
||||
DataTable dt = new DataTable();
|
||||
var dbClient = new DBClientFactory("mysql").Create();
|
||||
dbClient.Connect(Program.MySqlConnectString);
|
||||
try
|
||||
{
|
||||
string sql = "select * from " + tableName + " WHERE S001 = '" + dataType.ToString() + "' AND S028 = '0' order by S029 DESC limit 10";
|
||||
dt = dbClient.ExecQuery(sql);
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
erorrMessage = err.Message;
|
||||
}
|
||||
return dt;
|
||||
}
|
||||
|
||||
public static void UpDateUpLoadData(int id, string tableName, string resCode, string resMsg)
|
||||
{
|
||||
|
||||
var dbClient = new DBClientFactory("mysql").Create();
|
||||
dbClient.Connect(Program.MySqlConnectString);
|
||||
try
|
||||
{
|
||||
string sql = "update " + tableName + " set S028 = '" + resCode
|
||||
+ "', S029 = '" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff") + "', S030 = '" + resMsg + "'"
|
||||
+ " WHERE id = '" + id.ToString() + "'";
|
||||
dbClient.ExecNonQuery(sql);
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
56
SlMesDbIterface/Program.cs
Normal file
56
SlMesDbIterface/Program.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SlMesDbIterface
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
public static int WebSvrPort = Convert.ToInt32(ConfigurationManager.AppSettings["WebSvrPort"]);
|
||||
public static string ConnectionString = ConfigurationManager.AppSettings["ConnectionString"];
|
||||
public static string MySqlConnectString = ConfigurationManager.AppSettings["MySqlConnectString"];
|
||||
|
||||
public static string interfaceIDField = ConfigurationManager.AppSettings["interfaceIDField"];
|
||||
public static string messageIDField = ConfigurationManager.AppSettings["messageIDField"];
|
||||
public static string receiverField = ConfigurationManager.AppSettings["receiverField"];
|
||||
public static string senderField = ConfigurationManager.AppSettings["senderField"];
|
||||
public static string transIDField = ConfigurationManager.AppSettings["transIDField"];
|
||||
public static string changeUploadUrl = ConfigurationManager.AppSettings["changeUploadUrl"];
|
||||
public static string reportUploadUrl = ConfigurationManager.AppSettings["HL_urlStr"];
|
||||
public static string andonAbnormalUploadUr = ConfigurationManager.AppSettings["HL_urlStr"];
|
||||
public static string emptyContainerRecoveryUploadUr = ConfigurationManager.AppSettings["HL_urlStr"];
|
||||
public static string temporaryChangeUploadUrl = ConfigurationManager.AppSettings["HL_urlStr"];
|
||||
|
||||
/// <summary>
|
||||
/// 应用程序的主入口点。
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
bool bCanRun = false;
|
||||
System.Threading.Mutex mutex = new System.Threading.Mutex(true, "InterfaceUpLoad", out bCanRun);
|
||||
if (!bCanRun)
|
||||
{
|
||||
MessageBox.Show("接口数据上传 程序 正在运行!不可重复启动!");
|
||||
return;
|
||||
}
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form_MoveSqlTable());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
36
SlMesDbIterface/Properties/AssemblyInfo.cs
Normal file
36
SlMesDbIterface/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("SlMesDbIterface")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("SlMesDbIterface")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("2f33d79d-1dff-4cda-b357-fcd5221cab9a")]
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
163
SlMesDbIterface/Properties/Resources.Designer.cs
generated
Normal file
163
SlMesDbIterface/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,163 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ExternalDataSync.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写当前线程的 CurrentUICulture 属性,对
|
||||
/// 使用此强类型资源类的所有资源查找执行重写。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 任务监控和查询 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("任务监控和查询", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 关闭系统 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("关闭系统", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 动态数据查询 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("动态数据查询", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 按键分割线 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("按键分割线", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 按键分割线浅 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("按键分割线浅", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 断开连接 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("断开连接", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 日志 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("日志", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 清除 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("清除", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 连接 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("连接", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap 重新加载数据 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("重新加载数据", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
151
SlMesDbIterface/Properties/Resources.resx
Normal file
151
SlMesDbIterface/Properties/Resources.resx
Normal file
@@ -0,0 +1,151 @@
|
||||
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<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" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="任务监控和查询" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\任务监控和查询.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="关闭系统" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\关闭系统.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="动态数据查询" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\动态数据查询.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="按键分割线" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\按键分割线.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="按键分割线浅" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\按键分割线浅.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="断开连接" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\断开连接.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="日志" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\日志.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="清除" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\清除.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="连接" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\连接.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="重新加载数据" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\icon\重新加载数据.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
26
SlMesDbIterface/Properties/Settings.Designer.cs
generated
Normal file
26
SlMesDbIterface/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ExternalDataSync.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
SlMesDbIterface/Properties/Settings.settings
Normal file
7
SlMesDbIterface/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
23
SlMesDbIterface/UMPP_ORDER.cs
Normal file
23
SlMesDbIterface/UMPP_ORDER.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class UMPP_ORDER
|
||||
{
|
||||
|
||||
public List<UMPP_WORK_ORDER> List_UMPP_WORK_ORDER
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<UMPP_TASK_ORDER> List_UMPP_TASK_ORDER
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
176
SlMesDbIterface/UMPP_TASK_ORDER.cs
Normal file
176
SlMesDbIterface/UMPP_TASK_ORDER.cs
Normal file
@@ -0,0 +1,176 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class UMPP_TASK_ORDER
|
||||
{
|
||||
/// <summary>
|
||||
/// 1
|
||||
/// 工厂编码
|
||||
/// </summary>
|
||||
public string SITE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 2
|
||||
/// 工作中心
|
||||
/// </summary>
|
||||
public string WORK_CENTER
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 3
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string ORDER_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 4
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public string WORK_ORDER_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 5
|
||||
/// 派工单号
|
||||
/// </summary>
|
||||
public string TASK_ORDER_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 6
|
||||
/// 产品编码
|
||||
/// </summary>
|
||||
public string PRO_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 7
|
||||
/// 产品名称
|
||||
/// </summary>
|
||||
public string PRO_NAME
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 8
|
||||
/// 工序编码
|
||||
/// </summary>
|
||||
public string OP_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 9
|
||||
/// 工作单元
|
||||
/// </summary>
|
||||
public string WORK_CELL
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 10
|
||||
/// 设备编码
|
||||
/// </summary>
|
||||
public string EQUIP_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 11
|
||||
/// 生产数量
|
||||
/// </summary>
|
||||
public string QTY
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 12
|
||||
/// 计划开始时间
|
||||
/// </summary>
|
||||
public string PLAN_START_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 13
|
||||
/// 计划结束时间
|
||||
/// </summary>
|
||||
public string PLAN_END_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 14
|
||||
/// 批次号
|
||||
/// </summary>
|
||||
public string BATCH_NO
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 15
|
||||
/// 操作标示
|
||||
/// </summary>
|
||||
public string FLAG
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 16
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public string SN
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 17
|
||||
/// 时间戳
|
||||
/// </summary>
|
||||
public string MARK_TIME
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 18
|
||||
/// 日期
|
||||
/// </summary>
|
||||
public string MARK_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
265
SlMesDbIterface/UMPP_WORK_ORDER.cs
Normal file
265
SlMesDbIterface/UMPP_WORK_ORDER.cs
Normal file
@@ -0,0 +1,265 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync
|
||||
{
|
||||
public class UMPP_WORK_ORDER
|
||||
{
|
||||
/// <summary>
|
||||
/// 1
|
||||
/// 工厂编码
|
||||
/// </summary>
|
||||
public string SITE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 2
|
||||
/// 工作中心
|
||||
/// </summary>
|
||||
public string WORK_CENTER
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 3
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
public string ORDER_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 4
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public string WORK_ORDER_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 5
|
||||
/// 工单性质
|
||||
/// </summary>
|
||||
public string NATURE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 6
|
||||
/// 产品编码
|
||||
/// </summary>
|
||||
public string PRO_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 7
|
||||
/// 产品名称
|
||||
/// </summary>
|
||||
public string PRO_NAME
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 8
|
||||
/// 工艺路线编码
|
||||
/// </summary>
|
||||
public string ROUTE_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 9
|
||||
/// 工艺路线版本
|
||||
/// </summary>
|
||||
public string ROUTE_VER
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 10
|
||||
/// 产品状态
|
||||
/// </summary>
|
||||
public string PRODUCT_STATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 11
|
||||
/// 是否注油
|
||||
/// </summary>
|
||||
public string IS_OILING
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 12
|
||||
/// 是否喷漆
|
||||
/// </summary>
|
||||
public string IS_PAINTING
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 13
|
||||
/// 生产方式
|
||||
/// </summary>
|
||||
public string PRODUCE_TYPE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 14
|
||||
/// 优先级
|
||||
/// </summary>
|
||||
public string PRIORITY
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 15
|
||||
/// 生产数量
|
||||
/// </summary>
|
||||
public string QTY
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 16
|
||||
/// 追溯码类型
|
||||
/// </summary>
|
||||
public string SERIAL_OR_LOR
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 17
|
||||
/// 追溯码状态
|
||||
/// </summary>
|
||||
public string HAS_PRODU_SERIAL
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 18
|
||||
/// 追溯码信息
|
||||
/// </summary>
|
||||
public string NUM_CODE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 19
|
||||
/// 生产日期
|
||||
/// </summary>
|
||||
public string PLAN_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 20
|
||||
/// 生产班次
|
||||
/// </summary>
|
||||
public string PRO_SHIFT
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 21
|
||||
/// 生产顺序
|
||||
/// </summary>
|
||||
public string SEQ_NO
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 22
|
||||
/// 计划开始时间
|
||||
/// </summary>
|
||||
public string PLAN_START_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 23
|
||||
/// 计划结束时间
|
||||
/// </summary>
|
||||
public string PLAN_END_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 24
|
||||
/// 批次号
|
||||
/// </summary>
|
||||
public string BATCH_NO
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 25
|
||||
/// 操作标示
|
||||
/// </summary>
|
||||
public string FLAG
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 26
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public string SN
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 27
|
||||
/// 时间戳
|
||||
/// </summary>
|
||||
public string MARK_TIME
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
/// <summary>
|
||||
/// 28
|
||||
/// 日期
|
||||
/// </summary>
|
||||
public string MARK_DATE
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = "1";
|
||||
|
||||
}
|
||||
}
|
||||
BIN
SlMesDbIterface/icon/002_列表.png
Normal file
BIN
SlMesDbIterface/icon/002_列表.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
BIN
SlMesDbIterface/icon/0780fca3def52d8a02649c7aa2f8093a.gif
Normal file
BIN
SlMesDbIterface/icon/0780fca3def52d8a02649c7aa2f8093a.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user