chore: initial commit
This commit is contained in:
@@ -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>
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
522
Interface_WebAPI/SlMesDbIterface/ExternalDataSync.csproj
Normal file
522
Interface_WebAPI/SlMesDbIterface/ExternalDataSync.csproj
Normal file
@@ -0,0 +1,522 @@
|
||||
<?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, Version=20.20.2.12, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\ExternalDataSync\DataLinkMesWork.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpZipLib">
|
||||
<HintPath>..\DLL\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MesWork.DeviceDriver, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\dll_common\MesWork.DeviceDriver.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=4.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\MisDataFun\packages\Microsoft.Owin.4.2.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=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\MisDataFun\packages\Newtonsoft.Json.13.0.3\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.ComponentModel.DataAnnotations" />
|
||||
<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.Extensions" />
|
||||
<Reference Include="System.Web.Cors, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.Cors.5.2.9\libet45\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" />
|
||||
<Reference Include="WinSCPnet, Version=1.16.0.16364, Culture=neutral, PublicKeyToken=2271ec4a3c56d0bf, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\WinSCP.6.5.3\lib\net40\WinSCPnet.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MOM\OneCheckData.cs" />
|
||||
<Compile Include="MOM_Upload\DeviceInfoResponse.cs" />
|
||||
<Compile Include="MOM_Upload\MaterialTransfer.cs" />
|
||||
<Compile Include="SQLHelper\DataAccess.cs" />
|
||||
<Compile Include="SQLHelper\JsonHelper.cs" />
|
||||
<Compile Include="WebAPI\Controller\CheckDataController.cs" />
|
||||
<Compile Include="WebAPI\Controller\CheckImageController.cs" />
|
||||
<Compile Include="WebAPI\Controller\CraftFileController.cs" />
|
||||
<Compile Include="WebAPI\Other\CheckDate.cs" />
|
||||
<Compile Include="WebAPI\Other\DewPointData.cs" />
|
||||
<Compile Include="WebAPI\WEB\WEB_BusinessLogic.cs" />
|
||||
<Compile Include="WebAPI\WEB\WEB_Models.cs" />
|
||||
<Compile Include="WebAPI\AGV\AGV_BusinessLogic.cs" />
|
||||
<Compile Include="WebAPI\AGV\AGV_Models.cs" />
|
||||
<Compile Include="WebAPI\Controller\WEBController.cs" />
|
||||
<Compile Include="WebAPI\FactoryMES\Analysis508Msg.cs" />
|
||||
<Compile Include="WebAPI\FactoryMES\CALL_Inerface_DataHandle.cs" />
|
||||
<Compile Include="WebAPI\FactoryMES\CALL_Interface_WebAPI.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="Form_MoveSqlTable.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form_MoveSqlTable.Designer.cs">
|
||||
<DependentUpon>Form_MoveSqlTable.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MessageHanlder\DeviceTools.cs" />
|
||||
<Compile Include="MessageHanlder\FTPHelper.cs" />
|
||||
<Compile Include="MessageHanlder\GetVal.cs" />
|
||||
<Compile Include="MessageHanlder\HttpCli.cs" />
|
||||
<Compile Include="MessageHanlder\LocalNetworkFileHelper.cs" />
|
||||
<Compile Include="WebAPI\Controller\AGVController.cs" />
|
||||
<Compile Include="WebAPI\Controller\MomController.cs" />
|
||||
<Compile Include="MessageHanlder\Re.cs" />
|
||||
<Compile Include="MessageHanlder\CallWebApi.cs" />
|
||||
<Compile Include="MessageHanlder\ZipHelper.cs" />
|
||||
<Compile Include="MOM\AGV_InterAction.cs" />
|
||||
<Compile Include="MOM\AlarmClosed.cs" />
|
||||
<Compile Include="MOM\ApiResponse.cs" />
|
||||
<Compile Include="MOM\Employee.cs" />
|
||||
<Compile Include="MOM\InspectionPlan.cs" />
|
||||
<Compile Include="MOM\LineSideStock.cs" />
|
||||
<Compile Include="MOM\MaterialData.cs" />
|
||||
<Compile Include="MOM\MOM_Process.cs" />
|
||||
<Compile Include="MOM\MOM_Order.cs" />
|
||||
<Compile Include="MOM\OrganizationData.cs" />
|
||||
<Compile Include="MOM\ProductionOrder.cs" />
|
||||
<Compile Include="MOM\QTStandardInfo.cs" />
|
||||
<Compile Include="MOM\QTTemplateInfo.cs" />
|
||||
<Compile Include="MOM\ShiftSchedule.cs" />
|
||||
<Compile Include="MOM\UnitData.cs" />
|
||||
<Compile Include="MOM\WorkCenterData.cs" />
|
||||
<Compile Include="MOM_Upload\DeviceInfo.cs" />
|
||||
<Compile Include="MOM_Upload\JobFinished.cs" />
|
||||
<Compile Include="MOM_Upload\JobStart.cs" />
|
||||
<Compile Include="MOM_Upload\MaterialConfirm.cs" />
|
||||
<Compile Include="MOM_Upload\MaterialPosition.cs" />
|
||||
<Compile Include="MOM_Upload\MaterialSend.cs" />
|
||||
<Compile Include="MOM_Upload\SpotCheckResult.cs" />
|
||||
<Compile Include="MOM_Upload\taskFinish.cs" />
|
||||
<Compile Include="MOM_Upload\DeviceAlarm.cs" />
|
||||
<Compile Include="MOM_Upload\DeviceStatus.cs" />
|
||||
<Compile Include="MOM\msgResHeader.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="MessageHanlder\ApiTools.cs" />
|
||||
<Compile Include="MessageHanlder\InitServer.cs" />
|
||||
<Compile Include="WebAPI\Controller\IFileController.cs" />
|
||||
<Compile Include="WebAPI\Helper\ApiLogHelper.cs" />
|
||||
<Compile Include="WebAPI\StateVariable.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="app.config" />
|
||||
<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="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="..\..\Common\00MesWorkMqtt\MesWorkMqtt\00MesWorkMqtt.csproj">
|
||||
<Project>{f55da1a0-a982-4479-8c47-0d9a5aaf3e18}</Project>
|
||||
<Name>00MesWorkMqtt</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Common\01DoWhatPlc\01_01DoWhatPlc.csproj">
|
||||
<Project>{0d1af432-439a-4920-8692-43ae139f5530}</Project>
|
||||
<Name>01_01DoWhatPlc</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Common\07WebBusinessFacade\BusinessFacade\07BusinessFacade.csproj">
|
||||
<Project>{f0a0c525-03fd-428a-9b17-7f54aa0e4475}</Project>
|
||||
<Name>07BusinessFacade</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Common\08WebFun_base\WebFun_base\08-WebFun_base.csproj">
|
||||
<Project>{d98be764-adeb-488d-9714-61e308aa8201}</Project>
|
||||
<Name>08-WebFun_base</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Common\09MesDataFunction\MesDataFunction\01-MesDataFunction.csproj">
|
||||
<Project>{90e76fb4-646d-45e2-95db-0b8ab4e465d6}</Project>
|
||||
<Name>09-MesDataFunction</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Common\99DataBaseAccess2\DataBaseAccess\99-DataBaseAccess2.csproj">
|
||||
<Project>{5c0c572b-f8f1-41de-b049-4d40ae29cd21}</Project>
|
||||
<Name>99-DataBaseAccess2</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\MisDataFun\SendMessageToWebMqtt\12SendMessageToWeb.csproj">
|
||||
<Project>{e4eb6420-906d-4672-947a-ca33ddcdadfc}</Project>
|
||||
<Name>12SendMessageToWeb</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\MIS_FuntionSaveData\MIS_FuntionSaveData\13.3MIS_FuntionSaveData.csproj">
|
||||
<Project>{55b510c1-59e9-4bfd-ae84-d76d46f6e365}</Project>
|
||||
<Name>13.3MIS_FuntionSaveData</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" />
|
||||
<Import Project="..\..\packages\WinSCP.6.5.3\build\WinSCP.targets" Condition="Exists('..\..\packages\WinSCP.6.5.3\build\WinSCP.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\packages\WinSCP.6.5.3\build\WinSCP.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WinSCP.6.5.3\build\WinSCP.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
||||
207
Interface_WebAPI/SlMesDbIterface/Form_MoveSqlTable.Designer.cs
generated
Normal file
207
Interface_WebAPI/SlMesDbIterface/Form_MoveSqlTable.Designer.cs
generated
Normal file
@@ -0,0 +1,207 @@
|
||||
|
||||
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.richTextBoxLogBox = new System.Windows.Forms.RichTextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button56 = new System.Windows.Forms.Button();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.button8 = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// richTextBoxLogBox
|
||||
//
|
||||
this.richTextBoxLogBox.Location = new System.Drawing.Point(3, 47);
|
||||
this.richTextBoxLogBox.Name = "richTextBoxLogBox";
|
||||
this.richTextBoxLogBox.Size = new System.Drawing.Size(518, 361);
|
||||
this.richTextBoxLogBox.TabIndex = 2;
|
||||
this.richTextBoxLogBox.Text = "";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("宋体", 22F);
|
||||
this.label1.Location = new System.Drawing.Point(8, 6);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(133, 30);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "数据接口";
|
||||
this.label1.Click += new System.EventHandler(this.label1_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(538, 165);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(109, 34);
|
||||
this.button1.TabIndex = 4;
|
||||
this.button1.Text = "生产开工";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(538, 203);
|
||||
this.button2.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(109, 34);
|
||||
this.button2.TabIndex = 4;
|
||||
this.button2.Text = "产线报警";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(538, 243);
|
||||
this.button3.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(109, 34);
|
||||
this.button3.TabIndex = 4;
|
||||
this.button3.Text = "工序完工";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// button56
|
||||
//
|
||||
this.button56.Location = new System.Drawing.Point(538, 281);
|
||||
this.button56.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button56.Name = "button56";
|
||||
this.button56.Size = new System.Drawing.Size(109, 34);
|
||||
this.button56.TabIndex = 4;
|
||||
this.button56.Text = "任务完工与报工";
|
||||
this.button56.UseVisualStyleBackColor = true;
|
||||
this.button56.Click += new System.EventHandler(this.button56_Click);
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(538, 47);
|
||||
this.button5.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(109, 34);
|
||||
this.button5.TabIndex = 4;
|
||||
this.button5.Text = "物料配送";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.button4_Click);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(538, 367);
|
||||
this.button4.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(109, 31);
|
||||
this.button4.TabIndex = 5;
|
||||
this.button4.Text = "缓存位置查询";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button4_Click_1);
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Location = new System.Drawing.Point(538, 85);
|
||||
this.button6.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(109, 34);
|
||||
this.button6.TabIndex = 4;
|
||||
this.button6.Text = "器具信息查询";
|
||||
this.button6.UseVisualStyleBackColor = true;
|
||||
this.button6.Click += new System.EventHandler(this.button6_Click);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(538, 123);
|
||||
this.button7.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(109, 34);
|
||||
this.button7.TabIndex = 4;
|
||||
this.button7.Text = "物料配送确认";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
this.button7.Click += new System.EventHandler(this.button7_Click);
|
||||
//
|
||||
// button8
|
||||
//
|
||||
this.button8.Location = new System.Drawing.Point(538, 319);
|
||||
this.button8.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.button8.Name = "button8";
|
||||
this.button8.Size = new System.Drawing.Size(109, 34);
|
||||
this.button8.TabIndex = 4;
|
||||
this.button8.Text = "转序(点对点)";
|
||||
this.button8.UseVisualStyleBackColor = true;
|
||||
this.button8.Click += new System.EventHandler(this.button8_Click);
|
||||
//
|
||||
// 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.button4);
|
||||
this.Controls.Add(this.button7);
|
||||
this.Controls.Add(this.button6);
|
||||
this.Controls.Add(this.button5);
|
||||
this.Controls.Add(this.button8);
|
||||
this.Controls.Add(this.button56);
|
||||
this.Controls.Add(this.button3);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.richTextBoxLogBox);
|
||||
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 = "20250106.1105";
|
||||
this.Load += new System.EventHandler(this.Form_MoveSqlTable_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.RichTextBox richTextBoxLogBox;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button56;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.Button button8;
|
||||
}
|
||||
}
|
||||
325
Interface_WebAPI/SlMesDbIterface/Form_MoveSqlTable.cs
Normal file
325
Interface_WebAPI/SlMesDbIterface/Form_MoveSqlTable.cs
Normal file
@@ -0,0 +1,325 @@
|
||||
using MisDataSaveDate;
|
||||
using MisDataSaveDate.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.Configuration;
|
||||
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;
|
||||
//InitServer initServer = null;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public Form_MoveSqlTable()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Form_MoveSqlTable_Load(object sender, EventArgs e)
|
||||
{
|
||||
//MyLog4Net.MyLogHelper.LogCommit += MyLogHelper_LogCommit;
|
||||
//initServer = new InitServer();
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void label1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//new TaskFactory().StartNew(delegate ()
|
||||
//{
|
||||
try
|
||||
{
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_JobStart("AC2401", "SCDD-0302-250707-0410-01", "SCDD-0302-250707-0410-01");
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.Info("生产开工接口res:", err.Message);
|
||||
}
|
||||
//});
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_DeviceAlarm("AC0901", "90010003", "1", "测试报警信息!");
|
||||
}
|
||||
|
||||
catch (Exception err)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.Info("产线报警接口res:", err.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
//JobFinished productionReport = GenerateTestData_ProductionReport();
|
||||
//string InterfaceUrl = ConfigurationManager.AppSettings["CallWebApiUrl_ProcessJobFinish"];
|
||||
//var result = CALL_Interface_WebAPI.CALL_WebApi_JobFinished(InterfaceUrl,productionReport);
|
||||
//richTextBoxLogBox.Text = result.ToString();
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_JobFinished("AC2401", "SCDD-0302-250707-0410-01", "SCDD-0302-250707-0410-01");
|
||||
}
|
||||
|
||||
catch (Exception err)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.Info("工序完工接口res:", err.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void button4_Click(object sender, EventArgs e)
|
||||
{
|
||||
//new TaskFactory().StartNew(delegate ()
|
||||
//{
|
||||
try
|
||||
{
|
||||
// 1退托盘,2叫料,3送料,4转序
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_CallMaterial("AC0901-2", "2");
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.Info("物料配送接口res:", err.Message);
|
||||
}
|
||||
//});
|
||||
}
|
||||
|
||||
private void button56_Click(object sender, EventArgs e)
|
||||
{
|
||||
//new TaskFactory().StartNew(delegate ()
|
||||
//{
|
||||
try
|
||||
{
|
||||
TaskFinish taskFinish = GenerateTestData_taskFinish();
|
||||
var result = CALL_Interface_WebAPI.CALL_WebApi_FinishedReport(taskFinish);
|
||||
richTextBoxLogBox.Text = result.ToString();
|
||||
|
||||
}
|
||||
|
||||
catch (Exception err)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.Info("任务完工与工时汇报接口res:", err.Message);
|
||||
}
|
||||
//});
|
||||
}
|
||||
|
||||
public static JobFinished GenerateTestData_ProductionReport()
|
||||
{
|
||||
return new JobFinished
|
||||
{
|
||||
orderID = "OrderID20250512",
|
||||
taskID = "TASK202403150001",
|
||||
finishedQuantity = 100.00m,
|
||||
createTime = "2024-03-15 08:00:00",
|
||||
endTime = "2024-03-15 17:00:00",
|
||||
beat = 5.5m,
|
||||
processNo = "PROC001",
|
||||
lastModifiedTime = "2024-03-15 17:00:00",
|
||||
operation = "操作人",
|
||||
inspectionInfo = new List<InspectionInfo>
|
||||
{
|
||||
new InspectionInfo
|
||||
{
|
||||
Inspectcode = "INS202403150001",
|
||||
inspector = "张三",
|
||||
inspectionTime = "2024-03-15 16:30:00",
|
||||
qualifiedQuantity = 98.00m,
|
||||
unqualifiedQuantity = 2.00m,
|
||||
inspectionDetails = new List<InspectionDetail>
|
||||
{
|
||||
new InspectionDetail
|
||||
{
|
||||
inspectionItemID = "ITEM001",
|
||||
inspectionItemNo = "CHECK001",
|
||||
inspectionItemName = "尺寸检查",
|
||||
inspectionValue = "检测值",
|
||||
inspectionStandardText = "标准尺寸检查",
|
||||
upperLimitSymbol = "≤",
|
||||
upperLimitValue = 11.0m,
|
||||
lowerLimitSymbol = "≥",
|
||||
lowerLimitValue = 10.0m,
|
||||
standardValue = 10.5m,
|
||||
inspectionResult = "检验结果"
|
||||
},
|
||||
new InspectionDetail
|
||||
{
|
||||
inspectionItemID = "ITEM002",
|
||||
inspectionItemNo = "CHECK002",
|
||||
inspectionItemName = "重量检查",
|
||||
inspectionValue = "检测值",
|
||||
inspectionStandardText = "标准重量检查",
|
||||
upperLimitSymbol = "≤",
|
||||
upperLimitValue = 550.0m,
|
||||
lowerLimitSymbol = "≥",
|
||||
lowerLimitValue = 450.0m,
|
||||
standardValue = 500.0m,
|
||||
inspectionResult = "检验结果"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
materialInfo = new List<MaterialInfo>
|
||||
{
|
||||
new MaterialInfo
|
||||
{
|
||||
consumedMaterialNo = "MAT001",
|
||||
qty = 1.0m,
|
||||
qualifiedqty = 1.0m,
|
||||
unqualifiedqty = 0.0m,
|
||||
inspectionTool = "游标卡尺",
|
||||
batchNo = "BATCH202403150001",
|
||||
serialNo = "序列号"
|
||||
},
|
||||
new MaterialInfo
|
||||
{
|
||||
consumedMaterialNo = "MAT002",
|
||||
qty = 1.0m,
|
||||
qualifiedqty = 1.0m,
|
||||
unqualifiedqty = 0.0m,
|
||||
inspectionTool = "电子秤",
|
||||
batchNo = "BATCH202403150002",
|
||||
serialNo = "序列号"
|
||||
}
|
||||
},
|
||||
workinghours = new List<Workinghours>
|
||||
{
|
||||
new Workinghours
|
||||
{
|
||||
employee = "员工1",
|
||||
quantity = 1.0m,
|
||||
workingHours = 1.0m,
|
||||
},
|
||||
new Workinghours
|
||||
{
|
||||
employee = "员工2",
|
||||
quantity = 1.0m,
|
||||
workingHours = 1.0m,
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static TaskFinish GenerateTestData_taskFinish()
|
||||
{
|
||||
return new TaskFinish
|
||||
{
|
||||
orderID = "ORD202403150002",
|
||||
taskID = "TASK202403150003",
|
||||
employee = "王五",
|
||||
quantity = 120,
|
||||
workingHours = 9
|
||||
};
|
||||
}
|
||||
|
||||
private void button4_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
new TaskFactory().StartNew(delegate ()
|
||||
{
|
||||
try
|
||||
{
|
||||
MaterialPosition materialPosition = new MaterialPosition
|
||||
{
|
||||
requestId = "请求ID",
|
||||
process = "工序"
|
||||
};
|
||||
//var result = CALL_Interface_WebAPI.CALL_WebApi_CallMaterial(materialSend);
|
||||
//richTextBoxLogBox.Text = result.ToString();
|
||||
}
|
||||
|
||||
catch (Exception err)
|
||||
{
|
||||
MyLog4Net.MyLogHelper.Info("缓存位置查询接口res:", err.Message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void button6_Click(object sender, EventArgs e)
|
||||
{
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_DeviceInfoQuery("AC0901-2", "Y1030121000595");
|
||||
}
|
||||
|
||||
private void button7_Click(object sender, EventArgs e)
|
||||
{
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_MaterialConfirm("AC0901-02", "YX126GISSGW002");
|
||||
}
|
||||
|
||||
private void button8_Click(object sender, EventArgs e)
|
||||
{
|
||||
CALL_Inerface_DataHandle.CALL_Inerface_MaterialTransfer("ACHC01", "ACHC02", "211");
|
||||
}
|
||||
}
|
||||
}
|
||||
200
Interface_WebAPI/SlMesDbIterface/Form_MoveSqlTable.resx
Normal file
200
Interface_WebAPI/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>
|
||||
27
Interface_WebAPI/SlMesDbIterface/MOM/AGV_InterAction.cs
Normal file
27
Interface_WebAPI/SlMesDbIterface/MOM/AGV_InterAction.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class AGV_InterAction
|
||||
{
|
||||
//"{
|
||||
//""LocationCode"": ""位置编号"",
|
||||
//""TaskCode"": ""配送任务号"",
|
||||
//""deliveryType"": ""配送类型"",
|
||||
//""ReqCMD"": ""请求标识""
|
||||
//}"
|
||||
|
||||
[JsonProperty("LocationCode")]
|
||||
public string LocationCode { get; set; } // 位置编号
|
||||
|
||||
[JsonProperty("TaskCode")]
|
||||
public string TaskCode { get; set; } // 配送任务号
|
||||
|
||||
[JsonProperty("deliveryType")]
|
||||
public string DeliveryType { get; set; } // 配送类型
|
||||
|
||||
[JsonProperty("ReqCMD")]
|
||||
public string ReqCMD { get; set; } // 请求标识
|
||||
|
||||
}
|
||||
}
|
||||
34
Interface_WebAPI/SlMesDbIterface/MOM/AlarmClosed.cs
Normal file
34
Interface_WebAPI/SlMesDbIterface/MOM/AlarmClosed.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
//using System.Text.Json.Serialization; // 用于 System.Text.Json
|
||||
using Newtonsoft.Json; // 如果使用 Newtonsoft.Json 则取消注释
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class AlarmClosed
|
||||
{
|
||||
[JsonProperty("taskID")]
|
||||
// [JsonProperty("taskID")] // Newtonsoft.Json 用法
|
||||
public string alarmTaskId { get; set; } // 报警任务ID
|
||||
|
||||
[JsonProperty("handleInfo")]
|
||||
public List<AlarmHandleInfo> HandleInfos { get; set; } // 处理信息列表
|
||||
}
|
||||
|
||||
public class AlarmHandleInfo
|
||||
{
|
||||
[JsonProperty("userId")]
|
||||
public string UserId { get; set; } // 处理用户ID
|
||||
|
||||
[JsonProperty("userCode")]
|
||||
public string UserCode { get; set; } // 处理用户编号
|
||||
|
||||
[JsonProperty("userName")]
|
||||
public string UserName { get; set; } // 处理用户名称
|
||||
|
||||
[JsonProperty("startTime")]
|
||||
public string StartTime { get; set; } // 处理开始时间
|
||||
|
||||
[JsonProperty("endTime")]
|
||||
public string EndTime { get; set; } // 处理完成时间(可空)
|
||||
}
|
||||
}
|
||||
29
Interface_WebAPI/SlMesDbIterface/MOM/ApiResponse.cs
Normal file
29
Interface_WebAPI/SlMesDbIterface/MOM/ApiResponse.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class ApiResponse
|
||||
{
|
||||
[JsonProperty("code")]
|
||||
public int Code { get; set; }
|
||||
|
||||
[JsonProperty("message")]
|
||||
public string Message { get; set; }
|
||||
|
||||
[JsonProperty("data")]
|
||||
public List<Response_Data> Data { get; set; }
|
||||
}
|
||||
|
||||
public class Response_Data
|
||||
{
|
||||
[JsonProperty("code")]
|
||||
public int Code { get; set; }
|
||||
|
||||
[JsonProperty("message")]
|
||||
public string Message { get; set; }
|
||||
|
||||
[JsonProperty("dataid")]
|
||||
public string DataId { get; set; }
|
||||
}
|
||||
}
|
||||
37
Interface_WebAPI/SlMesDbIterface/MOM/Employee.cs
Normal file
37
Interface_WebAPI/SlMesDbIterface/MOM/Employee.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
//using System.Text.Json.Serialization; // For System.Text.Json
|
||||
using Newtonsoft.Json; // Uncomment if using Newtonsoft.Json
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class EmployeeInfoSave
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public List<EmployeeInfo> Data { get; set; }
|
||||
}
|
||||
|
||||
public class EmployeeInfo
|
||||
{
|
||||
[JsonProperty("personID")]
|
||||
// [JsonProperty("empID")] // For Newtonsoft.Json
|
||||
public string PersonId { get; set; } // 人员ID
|
||||
|
||||
[JsonProperty("personCode")]
|
||||
public string PersonCode { get; set; } // 人员编号
|
||||
|
||||
[JsonProperty("personName")]
|
||||
public string PersonName { get; set; } // 人员名称
|
||||
|
||||
[JsonProperty("orgID")]
|
||||
public string OrgId { get; set; } // 所属组织
|
||||
|
||||
[JsonProperty("phoneNumber")]
|
||||
public string PhoneNumber { get; set; } // 手机号
|
||||
|
||||
[JsonProperty("createTime")]
|
||||
public string CreateTime { get; set; } // 创建时间
|
||||
|
||||
[JsonProperty("lastModifyTime")]
|
||||
public string LastModifyTime { get; set; } // 最后修改时间
|
||||
}
|
||||
}
|
||||
146
Interface_WebAPI/SlMesDbIterface/MOM/InspectionPlan.cs
Normal file
146
Interface_WebAPI/SlMesDbIterface/MOM/InspectionPlan.cs
Normal file
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class InspectionPlan
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("usecompecode")]
|
||||
public string CompileUnitCode { get; set; }
|
||||
|
||||
[JsonProperty("usecompename")]
|
||||
public string CompileUnitName { get; set; }
|
||||
|
||||
[JsonProperty("checktypecode")]
|
||||
public string CheckTypeCode { get; set; }
|
||||
|
||||
[JsonProperty("checktypename")]
|
||||
public string CheckTypeName { get; set; }
|
||||
|
||||
[JsonProperty("cycleplan")]
|
||||
public string IsCyclePlan { get; set; }
|
||||
|
||||
[JsonProperty("checkcycle")]
|
||||
public string CheckCycle { get; set; }
|
||||
|
||||
[JsonProperty("cycleunit")]
|
||||
public string CycleUnit { get; set; }
|
||||
|
||||
[JsonProperty("nextchecktime")]
|
||||
public string NextCheckTime { get; set; }
|
||||
|
||||
[JsonProperty("planstatus")]
|
||||
public string PlanStatus { get; set; }
|
||||
|
||||
[JsonProperty("whetherinspect")]
|
||||
public string WhetherInspect { get; set; }
|
||||
|
||||
[JsonProperty("taskvalidityperiod")]
|
||||
public string TaskValidityPeriod { get; set; }
|
||||
|
||||
[JsonProperty("validityunit")]
|
||||
public string ValidityUnit { get; set; }
|
||||
|
||||
[JsonProperty("daysahead")]
|
||||
public string DaysAhead { get; set; }
|
||||
|
||||
[JsonProperty("aheadunit")]
|
||||
public string AheadUnit { get; set; }
|
||||
|
||||
[JsonProperty("checkobjects")]
|
||||
public List<CheckObject> CheckObjects { get; set; }
|
||||
}
|
||||
|
||||
public class CheckObject
|
||||
{
|
||||
[JsonProperty("checkobjectsid")]
|
||||
public string CheckObjectId { get; set; }
|
||||
|
||||
[JsonProperty("amcode")]
|
||||
public string AssetCode { get; set; }
|
||||
|
||||
[JsonProperty("amname")]
|
||||
public string AssetName { get; set; }
|
||||
|
||||
[JsonProperty("poscode")]
|
||||
public string PositionCode { get; set; }
|
||||
|
||||
[JsonProperty("posname")]
|
||||
public string PositionName { get; set; }
|
||||
|
||||
[JsonProperty("plancheckercode")]
|
||||
public string PlanCheckerCode { get; set; }
|
||||
|
||||
[JsonProperty("plancheckername")]
|
||||
public string PlanCheckerName { get; set; }
|
||||
|
||||
[JsonProperty("detail")]
|
||||
public List<CheckDetail> Details { get; set; }
|
||||
}
|
||||
|
||||
public class CheckDetail
|
||||
{
|
||||
[JsonProperty("detailid")]
|
||||
public string DetailId { get; set; }
|
||||
|
||||
[JsonProperty("checkpart")]
|
||||
public string CheckPart { get; set; }
|
||||
|
||||
[JsonProperty("checkitem")]
|
||||
public string CheckItem { get; set; }
|
||||
|
||||
[JsonProperty("checkcontent")]
|
||||
public string CheckContent { get; set; }
|
||||
|
||||
[JsonProperty("checkmethodcode")]
|
||||
public string CheckMethodCode { get; set; }
|
||||
|
||||
[JsonProperty("checkmethodname")]
|
||||
public string CheckMethodName { get; set; }
|
||||
|
||||
[JsonProperty("standardclaim")]
|
||||
public string StandardClaim { get; set; }
|
||||
|
||||
[JsonProperty("resulttype")]
|
||||
public string ResultType { get; set; }
|
||||
|
||||
[JsonProperty("resultoptionsids")]
|
||||
public string ResultOptionsIds { get; set; }
|
||||
|
||||
[JsonProperty("resultoptions")]
|
||||
public string ResultOptions { get; set; }
|
||||
|
||||
[JsonProperty("Abnmeasurescode")]
|
||||
public string AbnormalMeasuresCode { get; set; }
|
||||
|
||||
[JsonProperty("abnmeasuresname")]
|
||||
public string AbnormalMeasuresName { get; set; }
|
||||
|
||||
[JsonProperty("checkstatusenumcode")]
|
||||
public string CheckStatusEnumCode { get; set; }
|
||||
|
||||
[JsonProperty("checkstatusenumname")]
|
||||
public string CheckStatusEnumName { get; set; }
|
||||
|
||||
[JsonProperty("isphotographed")]
|
||||
public string IsPhotographed { get; set; }
|
||||
|
||||
[JsonProperty("plancheckercode")]
|
||||
public string PlanCheckerCode { get; set; }
|
||||
|
||||
[JsonProperty("plancheckername")]
|
||||
public string PlanCheckerName { get; set; }
|
||||
|
||||
[JsonProperty("lastchecktime")]
|
||||
public string LastCheckTime { get; set; }
|
||||
}
|
||||
}
|
||||
38
Interface_WebAPI/SlMesDbIterface/MOM/LineSideStock.cs
Normal file
38
Interface_WebAPI/SlMesDbIterface/MOM/LineSideStock.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class LineSideStock
|
||||
{
|
||||
[JsonProperty("requestId")]
|
||||
public string RequestId { get; set; }
|
||||
|
||||
[JsonProperty("process")]
|
||||
public string Process { get; set; }
|
||||
}
|
||||
|
||||
public class Res_LineSideStock
|
||||
{
|
||||
[JsonProperty("code")]
|
||||
public int Code { get; set; }
|
||||
|
||||
[JsonProperty("message")]
|
||||
public string Message { get; set; }
|
||||
|
||||
[JsonProperty("data")]
|
||||
public List<LSSData> Data { get; set; }
|
||||
}
|
||||
|
||||
public class LSSData
|
||||
{
|
||||
[JsonProperty("processNo")]
|
||||
public string ProcessNo { get; set; }
|
||||
|
||||
[JsonProperty("locationNo")]
|
||||
public string LocationNo { get; set; }
|
||||
|
||||
[JsonProperty("emptySlots")]
|
||||
public string EmptySlots { get; set; }
|
||||
}
|
||||
}
|
||||
290
Interface_WebAPI/SlMesDbIterface/MOM/MOM_Order.cs
Normal file
290
Interface_WebAPI/SlMesDbIterface/MOM/MOM_Order.cs
Normal file
@@ -0,0 +1,290 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class DispatchOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 派工单ID
|
||||
/// </summary>
|
||||
public string orderID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工单号
|
||||
/// </summary>
|
||||
public string orderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
public string materialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料编号
|
||||
/// </summary>
|
||||
public string materialCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string materialName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料规格
|
||||
/// </summary>
|
||||
public string materialSpec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料型号
|
||||
/// </summary>
|
||||
public string materialModel { get; set; }
|
||||
/// <summary>
|
||||
/// 工程号
|
||||
/// </summary>
|
||||
public string projectCode { get; set; }
|
||||
/// <summary>
|
||||
/// 工程名称
|
||||
/// </summary>
|
||||
public string projectName { get; set; }
|
||||
/// <summary>
|
||||
/// 断路器产线根据此判断是不是同一工艺路线
|
||||
/// </summary>
|
||||
public string routingId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public string qty { get; set; }
|
||||
/// <summary>
|
||||
/// 计划投产时间
|
||||
/// </summary>
|
||||
public string planStartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工任务列表
|
||||
/// </summary>
|
||||
public List<DispatchTask> dispatchTask { get; set; }
|
||||
}
|
||||
|
||||
public class DispatchTask
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务ID
|
||||
/// </summary>
|
||||
public string taskId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务号
|
||||
/// </summary>
|
||||
public string taskNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单工序ID
|
||||
/// </summary>
|
||||
public string workOrderProcessId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public string workOrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作中心ID
|
||||
/// </summary>
|
||||
public string workCenterId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作中心编号
|
||||
/// </summary>
|
||||
public string workCenterCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作中心名称
|
||||
/// </summary>
|
||||
public string workCenterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序ID
|
||||
/// </summary>
|
||||
public string processId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序编号
|
||||
/// </summary>
|
||||
public string processCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序名称
|
||||
/// </summary>
|
||||
public string processName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
public string materialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料编号
|
||||
/// </summary>
|
||||
public string materialCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string materialName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料型号
|
||||
/// </summary>
|
||||
public string materialModel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计划投产时间
|
||||
/// </summary>
|
||||
public string planStartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计划产出时间
|
||||
/// </summary>
|
||||
public string planEndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工数量
|
||||
/// </summary>
|
||||
public string dispatchQty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态
|
||||
/// </summary>
|
||||
public string taskStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string createdAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public string modifiedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送信息列表
|
||||
/// </summary>
|
||||
public List<DeliveryInfo> deliveryInfo { get; set; }
|
||||
}
|
||||
|
||||
public class DeliveryInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 配送计划ID
|
||||
/// </summary>
|
||||
public string deliveryInfoid { get; set; }
|
||||
/// <summary>
|
||||
/// 工单备料ID
|
||||
/// </summary>
|
||||
public string momid { get; set; }
|
||||
/// <summary>
|
||||
/// 备料号
|
||||
/// </summary>
|
||||
public string preparationNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
public string materialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料编号
|
||||
/// </summary>
|
||||
public string materialCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string materialName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料规格
|
||||
/// </summary>
|
||||
public string materialSpec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料型号
|
||||
/// </summary>
|
||||
public string materialModel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料描述
|
||||
/// </summary>
|
||||
public string materialDesc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序ID
|
||||
/// </summary>
|
||||
public string processId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序编号
|
||||
/// </summary>
|
||||
public string processCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序名称
|
||||
/// </summary>
|
||||
public string processName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作中心ID
|
||||
/// </summary>
|
||||
public string workCenterId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作中心编号
|
||||
/// </summary>
|
||||
public string workCenterCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作中心名称
|
||||
/// </summary>
|
||||
public string workCenterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所需数量
|
||||
/// </summary>
|
||||
public string requiredQty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 计划时间
|
||||
/// </summary>
|
||||
public string planTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批次号
|
||||
/// </summary>
|
||||
public string batchNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序列号
|
||||
/// </summary>
|
||||
public string serialNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送位置ID
|
||||
/// </summary>
|
||||
public string deliveryPosId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送位置编号
|
||||
/// </summary>
|
||||
public string deliveryPosCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送位置名称
|
||||
/// </summary>
|
||||
public string deliveryPosName { get; set; }
|
||||
}
|
||||
}
|
||||
143
Interface_WebAPI/SlMesDbIterface/MOM/MOM_Process.cs
Normal file
143
Interface_WebAPI/SlMesDbIterface/MOM/MOM_Process.cs
Normal file
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 工艺方案类
|
||||
/// </summary>
|
||||
public class ProcessScheme
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺方案ID,数据唯一标识
|
||||
/// </summary>
|
||||
public string id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工艺方案编号
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工艺方案编号
|
||||
/// </summary>
|
||||
public string name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单号(生产订单或生产工单的编号)
|
||||
/// </summary>
|
||||
public string orderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品ID
|
||||
/// </summary>
|
||||
public string productId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品编号
|
||||
/// </summary>
|
||||
public string productCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品名称
|
||||
/// </summary>
|
||||
public string productName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品规格(非必填)
|
||||
/// </summary>
|
||||
public string productSpec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品型号(非必填)
|
||||
/// </summary>
|
||||
public string model { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间,格式为yyyy-MM-dd HH:mm:ss
|
||||
/// </summary>
|
||||
public string createdTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改时间,格式为yyyy-MM-dd HH:mm:ss
|
||||
/// </summary>
|
||||
public string lastModifiedTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序信息
|
||||
/// </summary>
|
||||
public List<ProcessInfo> processInfo { get; set; }
|
||||
|
||||
public List<RoutingInfo> routingInfo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 工序信息类
|
||||
/// </summary>
|
||||
public class ProcessInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 顺序号
|
||||
/// </summary>
|
||||
public string sequenceNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序ID
|
||||
/// </summary>
|
||||
public string processId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序编号
|
||||
/// </summary>
|
||||
public string processCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序名称
|
||||
/// </summary>
|
||||
public string processName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文档信息(文档路径)
|
||||
/// </summary>
|
||||
public string docInfo { get; set; }
|
||||
/// <summary>
|
||||
/// 文档名称
|
||||
/// </summary>
|
||||
public string filename { get; set; }
|
||||
/// <summary>
|
||||
/// 工序信息id
|
||||
/// </summary>
|
||||
public string processInfoid { get; set; }
|
||||
}
|
||||
public class RoutingInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺路线信息ID
|
||||
/// </summary>
|
||||
public string routingid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工艺路线编号
|
||||
/// </summary>
|
||||
public string routingcode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序ID
|
||||
/// </summary>
|
||||
public string processId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序号
|
||||
/// </summary>
|
||||
public string processCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序名称
|
||||
/// </summary>
|
||||
public string processName { get; set; }
|
||||
}
|
||||
}
|
||||
44
Interface_WebAPI/SlMesDbIterface/MOM/MaterialData.cs
Normal file
44
Interface_WebAPI/SlMesDbIterface/MOM/MaterialData.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class MaterialInfoSave
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public List<Material> Data { get; set; }
|
||||
}
|
||||
|
||||
public class Material
|
||||
{
|
||||
[JsonProperty("materialID")]
|
||||
public string MaterialID { get; set; }
|
||||
|
||||
[JsonProperty("materialCode")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[JsonProperty("materialName")]
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
[JsonProperty("unitOfMeasure")]
|
||||
public string UnitOfMeasure { get; set; }
|
||||
|
||||
[JsonProperty("materialCategory")]
|
||||
public string MaterialCategory { get; set; }
|
||||
|
||||
[JsonProperty("materialSpec")]
|
||||
public string MaterialSpec { get; set; }
|
||||
|
||||
[JsonProperty("materialModel")]
|
||||
public string MaterialModel { get; set; }
|
||||
|
||||
[JsonProperty("materialDescription")]
|
||||
public string MaterialDescription { get; set; }
|
||||
|
||||
[JsonProperty("createTime")]
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
[JsonProperty("lastModifyTime")]
|
||||
public string LastModifyTime { get; set; }
|
||||
}
|
||||
}
|
||||
241
Interface_WebAPI/SlMesDbIterface/MOM/OneCheckData.cs
Normal file
241
Interface_WebAPI/SlMesDbIterface/MOM/OneCheckData.cs
Normal file
@@ -0,0 +1,241 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExternalDataSync.MOM
|
||||
{
|
||||
public class OnlineCheckData
|
||||
{
|
||||
/// <summary>
|
||||
/// MsgId
|
||||
/// </summary>
|
||||
public string MsgId { get; set; } = "";
|
||||
/// <summary>
|
||||
/// OpCode
|
||||
/// </summary>
|
||||
public string OpCode { get; set; } = "";
|
||||
/// <summary>
|
||||
/// ProductionCode
|
||||
/// </summary>
|
||||
public string ProductionCode { get; set; } = "";
|
||||
/// <summary>
|
||||
/// CheckTime
|
||||
/// </summary>
|
||||
public string ScanTime { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// EndTime
|
||||
/// </summary>
|
||||
public string EndTime { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// CheckPerson
|
||||
/// </summary>
|
||||
public string CheckPerson { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Powerused
|
||||
/// </summary>
|
||||
public string Powerused { get; set; } = "";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// QualityMark
|
||||
/// </summary>
|
||||
public int QualityMark { get; set; } = 1;
|
||||
|
||||
public List<OnlineCheckData_CheckData> CheckData { get; set; } = new List<OnlineCheckData_CheckData>();
|
||||
}
|
||||
|
||||
public class OnlineCheckData_CheckData
|
||||
{
|
||||
/// <summary>
|
||||
/// CheckCode
|
||||
/// </summary>
|
||||
public string CheckCode { get; set; } = "";
|
||||
/// <summary>
|
||||
/// CheckName
|
||||
/// </summary>
|
||||
public string CheckName { get; set; } = "";
|
||||
/// <summary>
|
||||
/// ProductionCode
|
||||
/// </summary>
|
||||
public string Unit { get; set; }
|
||||
/// <summary>
|
||||
/// StandardValue
|
||||
/// </summary>
|
||||
public string StandardValue { get; set; } = "";
|
||||
/// <summary>
|
||||
/// MinValue
|
||||
/// </summary>
|
||||
public string MinValue { get; set; } = "";
|
||||
/// <summary>
|
||||
/// MaxValue
|
||||
/// </summary>
|
||||
public string MaxValue { get; set; } = "";
|
||||
/// <summary>
|
||||
/// CheckValue
|
||||
/// </summary>
|
||||
public string CheckValue { get; set; } = "";
|
||||
/// <summary>
|
||||
/// QualityMark
|
||||
/// </summary>
|
||||
public int QualityMark { get; set; } = 1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 测试数据上传接口响应类
|
||||
/// </summary>
|
||||
public class OnlineCheckDataResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 响应码 200正常、500失败
|
||||
/// </summary>
|
||||
public string Code { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 响应消息,出错时返回接口调用失败原因
|
||||
/// </summary>
|
||||
public string Message { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 请求编号,响应结果带回请求编号
|
||||
/// </summary>
|
||||
public string MsgId { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 携带数据,JSON格式字符串数据
|
||||
/// </summary>
|
||||
public string Data { get; set; } = "";
|
||||
}
|
||||
public class PrintTaskData
|
||||
{
|
||||
/// string msg = $"MARK|{printTemplete}|{productCode},{printDate}";
|
||||
|
||||
/// <summary>
|
||||
/// printTemplete
|
||||
/// </summary>
|
||||
public string printTemplete { get; set; } = "";
|
||||
/// <summary>
|
||||
/// productCode
|
||||
/// </summary>
|
||||
public string productCode { get; set; } = "";
|
||||
/// <summary>
|
||||
/// printDate
|
||||
/// </summary>
|
||||
public string printDate { get; set; } = "";
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设备状态数据上传
|
||||
/// </summary>
|
||||
public class OnlineStatusData
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息ID
|
||||
/// </summary>
|
||||
public string MsgId { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 设备编码
|
||||
/// </summary>
|
||||
public string DeviceCode { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 数据类型: Status-设备状态, Use-使用情况
|
||||
/// </summary>
|
||||
public string DataType { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 状态数据列表
|
||||
/// </summary>
|
||||
public List<OnlineStatusData_CheckData> CheckData { get; set; } = new List<OnlineStatusData_CheckData>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设备状态数据明细
|
||||
/// </summary>
|
||||
public class OnlineStatusData_CheckData
|
||||
{
|
||||
/// <summary>
|
||||
/// 状态代码
|
||||
/// </summary>
|
||||
public string StatuCode { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 状态名称
|
||||
/// </summary>
|
||||
public string StatuName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 状态值
|
||||
/// </summary>
|
||||
public string StatuValue { get; set; } = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取位置待测试产品信息 - 请求类
|
||||
/// </summary>
|
||||
public class GetWaitCheckProductDataRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求编号 GUID
|
||||
/// </summary>
|
||||
public string MsgId { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 位置号 AC1104-1, AC1104-2等
|
||||
/// </summary>
|
||||
public string OpCode { get; set; } = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取位置待测试产品信息 - 响应类
|
||||
/// </summary>
|
||||
public class GetWaitCheckProductDataResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 响应码 200正常、500失败
|
||||
/// </summary>
|
||||
public string Code { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 响应消息,出错时返回接口调用失败原因
|
||||
/// </summary>
|
||||
public string Message { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 请求编号,响应结果带回请求编号
|
||||
/// </summary>
|
||||
public string MsgId { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 响应数据
|
||||
/// </summary>
|
||||
public GetWaitCheckProductDataResult Data { get; set; } = new GetWaitCheckProductDataResult();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取位置待测试产品信息 - 响应数据
|
||||
/// </summary>
|
||||
public class GetWaitCheckProductDataResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 产品编号,唯一产品编码,若无待测产品则空
|
||||
/// </summary>
|
||||
public string ProductionCode { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 产品型号,待测产品型号
|
||||
/// </summary>
|
||||
public string ProductModel { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 产品型号代码,机型对应数字类型编号
|
||||
/// </summary>
|
||||
public int ProductModelCode { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
39
Interface_WebAPI/SlMesDbIterface/MOM/OrganizationData.cs
Normal file
39
Interface_WebAPI/SlMesDbIterface/MOM/OrganizationData.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
|
||||
public class OrganizationData
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public List<Organization> Data { get; set; }
|
||||
}
|
||||
|
||||
public class Organization
|
||||
{
|
||||
[JsonProperty("orgID")]
|
||||
public string OrgID { get; set; }
|
||||
|
||||
[JsonProperty("orgCode")]
|
||||
public string OrgCode { get; set; }
|
||||
|
||||
[JsonProperty("orgName")]
|
||||
public string OrgName { get; set; }
|
||||
|
||||
[JsonProperty("classification")]
|
||||
public string Classification { get; set; }
|
||||
|
||||
[JsonProperty("level")]
|
||||
public string LevelNo { get; set; }
|
||||
|
||||
[JsonProperty("detail")]
|
||||
public string Detail { get; set; }
|
||||
|
||||
[JsonProperty("createTime")]
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
[JsonProperty("lastModifyTime")]
|
||||
public string LastModifyTime { get; set; }
|
||||
}
|
||||
}
|
||||
182
Interface_WebAPI/SlMesDbIterface/MOM/ProductionOrder.cs
Normal file
182
Interface_WebAPI/SlMesDbIterface/MOM/ProductionOrder.cs
Normal file
@@ -0,0 +1,182 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class ProductionOrder
|
||||
{
|
||||
[JsonProperty("orderID")]
|
||||
public string OrderID { get; set; }
|
||||
|
||||
[JsonProperty("orderNo")]
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
[JsonProperty("materialId")]
|
||||
public string MaterialId { get; set; }
|
||||
|
||||
[JsonProperty("materialCode")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[JsonProperty("materialName")]
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
[JsonProperty("materialSpec")]
|
||||
public string MaterialSpec { get; set; }
|
||||
|
||||
[JsonProperty("materialModel")]
|
||||
public string MaterialModel { get; set; }
|
||||
|
||||
[JsonProperty("orderType")]
|
||||
public string OrderType { get; set; }
|
||||
|
||||
[JsonProperty("clr")]
|
||||
public string Clr { get; set; }
|
||||
|
||||
[JsonProperty("planproddate")]
|
||||
public string PlanProdDate { get; set; }
|
||||
|
||||
[JsonProperty("planprodqty")]
|
||||
public string PlanProdQty { get; set; }
|
||||
|
||||
[JsonProperty("planoutputdate")]
|
||||
public string PlanOutputDate { get; set; }
|
||||
|
||||
[JsonProperty("planoutputqty")]
|
||||
public string PlanOutputQty { get; set; }
|
||||
|
||||
[JsonProperty("projectno")]
|
||||
public string ProjectNo { get; set; }
|
||||
|
||||
[JsonProperty("projectname")]
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
[JsonProperty("planid")]
|
||||
public string PlanId { get; set; }
|
||||
|
||||
[JsonProperty("processplan")]
|
||||
public List<ProcessPlan> ProcessPlans { get; set; }
|
||||
}
|
||||
|
||||
public class ProcessPlan
|
||||
{
|
||||
[JsonProperty("rountingid")]
|
||||
public string RoutingId { get; set; }
|
||||
|
||||
[JsonProperty("processplanId")]
|
||||
public string ProcessPlanId { get; set; }
|
||||
|
||||
[JsonProperty("processplanNo")]
|
||||
public string ProcessPlanNo { get; set; }
|
||||
|
||||
[JsonProperty("workOrderProcessId")]
|
||||
public string WorkOrderProcessId { get; set; }
|
||||
|
||||
[JsonProperty("workOrderNo")]
|
||||
public string WorkOrderNo { get; set; }
|
||||
|
||||
[JsonProperty("workCenterId")]
|
||||
public string WorkCenterId { get; set; }
|
||||
|
||||
[JsonProperty("workCenterCode")]
|
||||
public string WorkCenterCode { get; set; }
|
||||
|
||||
[JsonProperty("workCenterName")]
|
||||
public string WorkCenterName { get; set; }
|
||||
|
||||
[JsonProperty("processId")]
|
||||
public string ProcessId { get; set; }
|
||||
|
||||
[JsonProperty("processCode")]
|
||||
public string ProcessCode { get; set; }
|
||||
|
||||
[JsonProperty("processName")]
|
||||
public string ProcessName { get; set; }
|
||||
|
||||
[JsonProperty("materialId")]
|
||||
public string MaterialId { get; set; }
|
||||
|
||||
[JsonProperty("materialCode")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[JsonProperty("materialName")]
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
[JsonProperty("materialModel")]
|
||||
public string MaterialModel { get; set; }
|
||||
|
||||
[JsonProperty("planStartTime")]
|
||||
public string PlanStartTime { get; set; }
|
||||
|
||||
[JsonProperty("planEndTime")]
|
||||
public string PlanEndTime { get; set; }
|
||||
|
||||
[JsonProperty("qty")]
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
[JsonProperty("outqty")]
|
||||
public decimal OutQty { get; set; }
|
||||
|
||||
[JsonProperty("status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
[JsonProperty("createdAt")]
|
||||
public string CreatedAt { get; set; }
|
||||
|
||||
[JsonProperty("modifiedAt")]
|
||||
public string ModifiedAt { get; set; }
|
||||
|
||||
[JsonProperty("deliveryInfo")]
|
||||
public List<DeliveryMaterialInfo> DeliveryInfo { get; set; }
|
||||
}
|
||||
|
||||
public class DeliveryMaterialInfo
|
||||
{
|
||||
[JsonProperty("deliveryInfoid")]
|
||||
public string DeliveryInfoId { get; set; }
|
||||
|
||||
[JsonProperty("preparationNo")]
|
||||
public string PreparationNo { get; set; }
|
||||
|
||||
[JsonProperty("materialId")]
|
||||
public string MaterialId { get; set; }
|
||||
|
||||
[JsonProperty("materialCode")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[JsonProperty("materialName")]
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
[JsonProperty("materialSpec")]
|
||||
public string MaterialSpec { get; set; }
|
||||
|
||||
[JsonProperty("materialModel")]
|
||||
public string MaterialModel { get; set; }
|
||||
|
||||
[JsonProperty("materialDesc")]
|
||||
public string MaterialDesc { get; set; }
|
||||
|
||||
[JsonProperty("processId")]
|
||||
public string ProcessId { get; set; }
|
||||
|
||||
[JsonProperty("processCode")]
|
||||
public string ProcessCode { get; set; }
|
||||
|
||||
[JsonProperty("processName")]
|
||||
public string ProcessName { get; set; }
|
||||
|
||||
[JsonProperty("workCenterId")]
|
||||
public string WorkCenterId { get; set; }
|
||||
|
||||
[JsonProperty("workCenterCode")]
|
||||
public string WorkCenterCode { get; set; }
|
||||
|
||||
[JsonProperty("workCenterName")]
|
||||
public string WorkCenterName { get; set; }
|
||||
|
||||
[JsonProperty("requiredQty")]
|
||||
public decimal RequiredQty { get; set; }
|
||||
|
||||
[JsonProperty("planTime")]
|
||||
public string PlanTime { get; set; }
|
||||
}
|
||||
}
|
||||
268
Interface_WebAPI/SlMesDbIterface/MOM/QTStandardInfo.cs
Normal file
268
Interface_WebAPI/SlMesDbIterface/MOM/QTStandardInfo.cs
Normal file
@@ -0,0 +1,268 @@
|
||||
using Newtonsoft.Json;
|
||||
using NPOI.OpenXml4Net.OPC;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class QTStandardInfo
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
[JsonProperty("name_chs")]
|
||||
public string NameChs { get; set; }
|
||||
|
||||
[JsonProperty("createdate")]
|
||||
public string CreateDate { get; set; }
|
||||
|
||||
[JsonProperty("lastmodifiedtime")]
|
||||
public string LastModifiedTime { get; set; }
|
||||
|
||||
[JsonProperty("materialid")]
|
||||
public MaterialID Material { get; set; }
|
||||
|
||||
[JsonProperty("note")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[JsonProperty("procedureid")]
|
||||
public ProcedureInfo Procedure { get; set; }
|
||||
|
||||
[JsonProperty("standardsortid")]
|
||||
public StandardSortInfo StandardSort { get; set; }
|
||||
|
||||
[JsonProperty("standardstate")]
|
||||
public string StandardState { get; set; }
|
||||
|
||||
[JsonProperty("standardtypeid")]
|
||||
public StandardTypeInfo StandardType { get; set; }
|
||||
|
||||
[JsonProperty("meqmstandarditemsource")]
|
||||
public List<StandardItemSource> StandardItemList { get; set; }
|
||||
|
||||
[JsonProperty("meqmstandardvaluesource")]
|
||||
public List<StandardValueInfo> StandardValueList { get; set; }
|
||||
}
|
||||
|
||||
public class MaterialidInfo
|
||||
{
|
||||
[JsonProperty("materialid")]
|
||||
public string MaterialId { get; set; }
|
||||
|
||||
[JsonProperty("materialid_code")]
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
[JsonProperty("materialid_name_chs")]
|
||||
public string MaterialName { get; set; }
|
||||
}
|
||||
|
||||
public class ProcedureInfo
|
||||
{
|
||||
[JsonProperty("procedureid")]
|
||||
public string ProcedureId { get; set; }
|
||||
|
||||
[JsonProperty("procedureid_name_chs")]
|
||||
public string ProcedureName { get; set; }
|
||||
|
||||
[JsonProperty("procedureid_ppbzgx_gxbh")]
|
||||
public string ProcedureCode { get; set; }
|
||||
}
|
||||
|
||||
public class StandardSortInfo
|
||||
{
|
||||
[JsonProperty("standardsortid")]
|
||||
public string StandardSortId { get; set; }
|
||||
|
||||
[JsonProperty("standardsortid_code")]
|
||||
public string StandardSortCode { get; set; }
|
||||
|
||||
[JsonProperty("standardsortid_name_chs")]
|
||||
public string StandardSortName { get; set; }
|
||||
|
||||
[JsonProperty("standardsortid_sortpath")]
|
||||
public string StandardSortPath { get; set; }
|
||||
}
|
||||
|
||||
public class StandardTypeInfo
|
||||
{
|
||||
[JsonProperty("standardtypeid")]
|
||||
public string StandardTypeId { get; set; }
|
||||
|
||||
[JsonProperty("standardtypeid_code")]
|
||||
public string StandardTypeCode { get; set; }
|
||||
|
||||
[JsonProperty("standardtypeid_iseffective")]
|
||||
public string IsEffective { get; set; }
|
||||
|
||||
[JsonProperty("standardtypeid_issystem")]
|
||||
public string IsSystem { get; set; }
|
||||
|
||||
[JsonProperty("standardtypeid_name_chs")]
|
||||
public string StandardTypeName { get; set; }
|
||||
}
|
||||
|
||||
public class StandardItemSource
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string itemId { get; set; }
|
||||
|
||||
[JsonProperty("standardid")]
|
||||
public RelatedStandard Standard { get; set; }
|
||||
|
||||
[JsonProperty("createtime")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
[JsonProperty("inspecclassification")]
|
||||
public string InspectionClassification { get; set; }
|
||||
|
||||
[JsonProperty("inspecclassificationname")]
|
||||
public string InspectionClassificationName { get; set; }
|
||||
|
||||
[JsonProperty("note")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[JsonProperty("targetauxdescribe")]
|
||||
public string TargetAuxDescribe { get; set; }
|
||||
|
||||
[JsonProperty("targetdescribe")]
|
||||
public string TargetDescribe { get; set; }
|
||||
|
||||
[JsonProperty("targetgroupid")]
|
||||
public TargetGroup TargetGroup { get; set; }
|
||||
|
||||
[JsonProperty("targetid")]
|
||||
public TargetInfo Target { get; set; }
|
||||
|
||||
[JsonProperty("targetno")]
|
||||
public string TargetNo { get; set; }
|
||||
}
|
||||
|
||||
public class RelatedStandard
|
||||
{
|
||||
[JsonProperty("standardid")]
|
||||
public string StandardId { get; set; }
|
||||
|
||||
[JsonProperty("standardid_code")]
|
||||
public string StandardCode { get; set; }
|
||||
|
||||
[JsonProperty("standardid_name_chs")]
|
||||
public string StandardName { get; set; }
|
||||
}
|
||||
|
||||
public class TargetGroup
|
||||
{
|
||||
[JsonProperty("targetgroupid")]
|
||||
public string TargetGroupId { get; set; }
|
||||
|
||||
[JsonProperty("targetgroupid_code")]
|
||||
public string TargetGroupCode { get; set; }
|
||||
|
||||
[JsonProperty("targetgroupid_name_chs")]
|
||||
public string TargetGroupName { get; set; }
|
||||
}
|
||||
|
||||
public class TargetInfo
|
||||
{
|
||||
[JsonProperty("targetid")]
|
||||
public string TargetId { get; set; }
|
||||
|
||||
[JsonProperty("targetid_code")]
|
||||
public string TargetCode { get; set; }
|
||||
|
||||
[JsonProperty("targetid_name_chs")]
|
||||
public string TargetName { get; set; }
|
||||
|
||||
[JsonProperty("targetid_note")]
|
||||
public string TargetNote { get; set; }
|
||||
|
||||
[JsonProperty("targetid_targetgroupid")]
|
||||
public string TargetGroupId { get; set; }
|
||||
|
||||
[JsonProperty("targetid_targettype")]
|
||||
public string TargetType { get; set; }
|
||||
}
|
||||
|
||||
public class StandardValueInfo
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("inspectionresults")]
|
||||
public InspectionResult InspectionResults { get; set; }
|
||||
|
||||
[JsonProperty("inspectionresultsname")]
|
||||
public string InspectionResultsName { get; set; }
|
||||
|
||||
[JsonProperty("itemvaluetype")]
|
||||
public string ItemValueType { get; set; }
|
||||
|
||||
[JsonProperty("lowercharacter")]
|
||||
public string LowerCharacter { get; set; }
|
||||
|
||||
[JsonProperty("lowerdiffvalue")]
|
||||
public decimal? LowerDiffValue { get; set; }
|
||||
|
||||
[JsonProperty("lowervalue")]
|
||||
public decimal? LowerValue { get; set; }
|
||||
|
||||
[JsonProperty("note")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[JsonProperty("standardid")]
|
||||
public string StandardId { get; set; }
|
||||
|
||||
[JsonProperty("standarditemid")]
|
||||
public string StandardItemId { get; set; }
|
||||
|
||||
[JsonProperty("standardstrvalue")]
|
||||
public string StandardStrValue { get; set; }
|
||||
|
||||
[JsonProperty("standardvalue")]
|
||||
public string StandardValue { get; set; }
|
||||
|
||||
[JsonProperty("targetvalueid")]
|
||||
public TargetValue TargetValue { get; set; }
|
||||
|
||||
[JsonProperty("uppercharacter")]
|
||||
public string UpperCharacter { get; set; }
|
||||
|
||||
[JsonProperty("upperdiffvalue")]
|
||||
public string UpperDiffValue { get; set; }
|
||||
|
||||
[JsonProperty("uppervalue")]
|
||||
public string UpperValue { get; set; }
|
||||
|
||||
[JsonProperty("valueno")]
|
||||
public string ValueNo { get; set; }
|
||||
}
|
||||
|
||||
public class InspectionResult
|
||||
{
|
||||
[JsonProperty("inspectionresults")]
|
||||
public string InspectionResults { get; set; }
|
||||
|
||||
[JsonProperty("inspectionresults_code")]
|
||||
public string InspectionResultsCode { get; set; }
|
||||
|
||||
[JsonProperty("inspectionresults_enable")]
|
||||
public string InspectionResultsEnable { get; set; }
|
||||
|
||||
[JsonProperty("inspectionresults_name")]
|
||||
public string InspectionResultsName { get; set; }
|
||||
}
|
||||
|
||||
public class TargetValue
|
||||
{
|
||||
[JsonProperty("targetvalueid")]
|
||||
public string TargetValueId { get; set; }
|
||||
|
||||
[JsonProperty("targetvalueid_code")]
|
||||
public string TargetValueCode { get; set; }
|
||||
|
||||
[JsonProperty("targetvalueid_name")]
|
||||
public string TargetValueName { get; set; }
|
||||
}
|
||||
}
|
||||
287
Interface_WebAPI/SlMesDbIterface/MOM/QTTemplateInfo.cs
Normal file
287
Interface_WebAPI/SlMesDbIterface/MOM/QTTemplateInfo.cs
Normal file
@@ -0,0 +1,287 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class QTTemplateInfo
|
||||
{
|
||||
[JsonProperty("note")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[JsonProperty("code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
[JsonProperty("productionworkcenter")]
|
||||
public ProdWorkCenter ProductionWorkCenter { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier2")]
|
||||
public string ClassIdentifier2 { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier1")]
|
||||
public string ClassIdentifier1 { get; set; }
|
||||
|
||||
[JsonProperty("filedata")]
|
||||
public string FileData { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier4")]
|
||||
public string ClassIdentifier4 { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier3")]
|
||||
public string ClassIdentifier3 { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier6")]
|
||||
public string ClassIdentifier6 { get; set; }
|
||||
|
||||
[JsonProperty("materialid")]
|
||||
public MaterialID Material { get; set; }
|
||||
|
||||
[JsonProperty("type")]
|
||||
public Type Type { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier5")]
|
||||
public string ClassIdentifier5 { get; set; }
|
||||
|
||||
[JsonProperty("procedureid")]
|
||||
public ProcedureID Process { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier8")]
|
||||
public string ClassIdentifier8 { get; set; }
|
||||
|
||||
[JsonProperty("classidentifier7")]
|
||||
public string ClassIdentifier7 { get; set; }
|
||||
|
||||
[JsonProperty("lastmodifieduserid")]
|
||||
public string LastModifiedUserId { get; set; }
|
||||
|
||||
[JsonProperty("materialtype")]
|
||||
public MaterialType MaterialType { get; set; }
|
||||
|
||||
[JsonProperty("createuserid")]
|
||||
public string CreateUserId { get; set; }
|
||||
|
||||
[JsonProperty("lastmodifieduser")]
|
||||
public string LastModifiedUser { get; set; }
|
||||
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("state")]
|
||||
public string State { get; set; }
|
||||
|
||||
[JsonProperty("lastmodifiedtime")]
|
||||
public string LastModifiedTime { get; set; }
|
||||
|
||||
[JsonProperty("createtime")]
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
[JsonProperty("xm_inspectfile")]
|
||||
public List<XmInspectFile> XmInspectFile { get; set; }
|
||||
|
||||
[JsonProperty("qualityorg")]
|
||||
public QualityOrg QualityOrg { get; set; }
|
||||
|
||||
[JsonProperty("createuser")]
|
||||
public string CreateUser { get; set; }
|
||||
|
||||
[JsonProperty("recordtemplateitems")]
|
||||
public List<RecordTemplateItem> RecordTemplateItems { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("productionorg")]
|
||||
public ProductionOrg ProductionOrg { get; set; }
|
||||
}
|
||||
public class ProdWorkCenter
|
||||
{
|
||||
[JsonProperty("productionworkcenter_ppsczx_zxbh")]
|
||||
public string ProductionWorkCenterPpsczxZxbh { get; set; }
|
||||
|
||||
[JsonProperty("productionworkcenter")]
|
||||
public string ProductionWorkCenter { get; set; }
|
||||
|
||||
[JsonProperty("productionworkcenter_name_chs")]
|
||||
public string ProductionWorkCenterNameChs { get; set; }
|
||||
}
|
||||
|
||||
public class MaterialID
|
||||
{
|
||||
[JsonProperty("materialid_code")]
|
||||
public string MaterialIdCode { get; set; }
|
||||
|
||||
[JsonProperty("materialid")]
|
||||
public string MaterialId { get; set; }
|
||||
|
||||
[JsonProperty("materialid_name_chs")]
|
||||
public string MaterialIdNameChs { get; set; }
|
||||
}
|
||||
|
||||
public class Type
|
||||
{
|
||||
[JsonProperty("type_name")]
|
||||
public string TypeName { get; set; }
|
||||
|
||||
[JsonProperty("type")]
|
||||
public string TypeID { get; set; }
|
||||
|
||||
[JsonProperty("type_code")]
|
||||
public string TypeCode { get; set; }
|
||||
}
|
||||
|
||||
public class ProcedureID
|
||||
{
|
||||
[JsonProperty("procedureid_ppbzgx_gxbh")]
|
||||
public string ProcedureIdPpbzgxGxbh { get; set; }
|
||||
|
||||
[JsonProperty("procedureid_name_chs")]
|
||||
public string ProcedureIdNameChs { get; set; }
|
||||
|
||||
[JsonProperty("procedureid")]
|
||||
public string ProcedureId { get; set; }
|
||||
}
|
||||
|
||||
public class MaterialType
|
||||
{
|
||||
[JsonProperty("materialtype_code")]
|
||||
public string MaterialTypeCode { get; set; }
|
||||
|
||||
[JsonProperty("materialtype")]
|
||||
public string MaterialTypeValue { get; set; }
|
||||
|
||||
[JsonProperty("materialtype_name_chs")]
|
||||
public string MaterialTypeNameChs { get; set; }
|
||||
}
|
||||
|
||||
public class QualityOrg
|
||||
{
|
||||
[JsonProperty("qualityorg_ppzzzl_zzbh")]
|
||||
public string QualityOrgPpzzzlZzbh { get; set; }
|
||||
|
||||
[JsonProperty("qualityorg")]
|
||||
public string QualityOrgValue { get; set; }
|
||||
|
||||
[JsonProperty("qualityorg_name_chs")]
|
||||
public string QualityOrgNameChs { get; set; }
|
||||
}
|
||||
|
||||
public class ProductionOrg
|
||||
{
|
||||
[JsonProperty("productionorg_name_chs")]
|
||||
public string ProductionOrgNameChs { get; set; }
|
||||
|
||||
[JsonProperty("productionorg_ppzzsc_zzbh")]
|
||||
public string ProductionOrgPpzzscZzbh { get; set; }
|
||||
|
||||
[JsonProperty("productionorg")]
|
||||
public string ProductionOrgValue { get; set; }
|
||||
}
|
||||
|
||||
public class DefaultResultValue
|
||||
{
|
||||
[JsonProperty("defaultresultvalue_code")]
|
||||
public string DefaultResultValueCode { get; set; }
|
||||
|
||||
[JsonProperty("defaultresultvalue_name")]
|
||||
public string DefaultResultValueName { get; set; }
|
||||
|
||||
[JsonProperty("defaultresultvalue")]
|
||||
public string defaultResultValue { get; set; }
|
||||
}
|
||||
|
||||
public class InspectionItemId
|
||||
{
|
||||
[JsonProperty("inspectionitemid_code")]
|
||||
public string InspectionItemIdCode { get; set; }
|
||||
|
||||
[JsonProperty("inspectionitemid_name_chs")]
|
||||
public string InspectionItemIdNameChs { get; set; }
|
||||
|
||||
[JsonProperty("inspectionitemid")]
|
||||
public string inspectionItemId { get; set; }
|
||||
}
|
||||
|
||||
public class RecordTemplateItem
|
||||
{
|
||||
[JsonProperty("inspectkey")]
|
||||
public string InspectKey { get; set; }
|
||||
|
||||
[JsonProperty("note")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[JsonProperty("uploadattachments")]
|
||||
public string UploadAttachments { get; set; }
|
||||
|
||||
[JsonProperty("mutualinspect")]
|
||||
public string MutualInspect { get; set; }
|
||||
|
||||
[JsonProperty("importance")]
|
||||
public string Importance { get; set; }
|
||||
|
||||
[JsonProperty("defaultvalue")]
|
||||
public string DefaultValue { get; set; }
|
||||
|
||||
[JsonProperty("templateid")]
|
||||
public string TemplateId { get; set; }
|
||||
|
||||
[JsonProperty("defaultresultvalue")]
|
||||
public DefaultResultValue DefaultResult { get; set; }
|
||||
|
||||
[JsonProperty("requirementdesc")]
|
||||
public string RequirementDesc { get; set; }
|
||||
|
||||
[JsonProperty("specialinspect")]
|
||||
public string SpecialInspect { get; set; }
|
||||
|
||||
[JsonProperty("autoadject")]
|
||||
public string AutoAdject { get; set; }
|
||||
|
||||
[JsonProperty("selfinspect")]
|
||||
public string SelfInspect { get; set; }
|
||||
|
||||
[JsonProperty("inspectionitemstype")]
|
||||
public string InspectionItemsType { get; set; }
|
||||
|
||||
[JsonProperty("requiredtext")]
|
||||
public string RequiredText { get; set; }
|
||||
|
||||
[JsonProperty("firstinspect")]
|
||||
public string FirstInspect { get; set; }
|
||||
|
||||
[JsonProperty("inspectionitemname")]
|
||||
public string InspectionItemName { get; set; }
|
||||
|
||||
[JsonProperty("linenum")]
|
||||
public string LineNum { get; set; }
|
||||
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("inspectionitemid")]
|
||||
public InspectionItemId InspectionItem { get; set; }
|
||||
}
|
||||
|
||||
public class XmInspectFile
|
||||
{
|
||||
[JsonProperty("fileuser")]
|
||||
public string FileUser { get; set; }
|
||||
|
||||
[JsonProperty("filename")]
|
||||
public string FileName { get; set; }
|
||||
|
||||
[JsonProperty("filesize")]
|
||||
public string FileSize { get; set; }
|
||||
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("fileext")]
|
||||
public string FileExt { get; set; }
|
||||
|
||||
[JsonProperty("templateid")]
|
||||
public string TemplateId { get; set; }
|
||||
|
||||
[JsonProperty("fileid")]
|
||||
public string FileId { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
32
Interface_WebAPI/SlMesDbIterface/MOM/ShiftSchedule.cs
Normal file
32
Interface_WebAPI/SlMesDbIterface/MOM/ShiftSchedule.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class ShiftSchedule
|
||||
{
|
||||
[JsonProperty("empID")]
|
||||
public string EmployeeID { get; set; }
|
||||
|
||||
[JsonProperty("empCode")]
|
||||
public string EmployeeCode { get; set; }
|
||||
|
||||
[JsonProperty("empName")]
|
||||
public string EmployeeName { get; set; }
|
||||
|
||||
[JsonProperty("startDate")]
|
||||
public string StartDate { get; set; }
|
||||
|
||||
[JsonProperty("endDate")]
|
||||
public string EndDate { get; set; }
|
||||
|
||||
[JsonProperty("prodOrg")]
|
||||
public string ProductionOrg { get; set; }
|
||||
|
||||
[JsonProperty("prodCenter")]
|
||||
public string ProductionCenter { get; set; }
|
||||
|
||||
[JsonProperty("workProc")]
|
||||
public string WorkProcess { get; set; }
|
||||
}
|
||||
}
|
||||
29
Interface_WebAPI/SlMesDbIterface/MOM/UnitData.cs
Normal file
29
Interface_WebAPI/SlMesDbIterface/MOM/UnitData.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
public class UnitData
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public List<Unit> Data { get; set; }
|
||||
}
|
||||
|
||||
public class Unit
|
||||
{
|
||||
[JsonProperty("unitID")]
|
||||
public string UnitID { get; set; }
|
||||
|
||||
[JsonProperty("unitCode")]
|
||||
public string UnitCode { get; set; }
|
||||
|
||||
[JsonProperty("unitName")]
|
||||
public string UnitName { get; set; }
|
||||
|
||||
[JsonProperty("createTime")]
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
[JsonProperty("lastModifyTime")]
|
||||
public string LastModifyTime { get; set; }
|
||||
}
|
||||
}
|
||||
42
Interface_WebAPI/SlMesDbIterface/MOM/WorkCenterData.cs
Normal file
42
Interface_WebAPI/SlMesDbIterface/MOM/WorkCenterData.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
|
||||
public class WorkCenterData
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public List<WorkCenter> Data { get; set; }
|
||||
}
|
||||
|
||||
public class WorkCenter
|
||||
{
|
||||
[JsonProperty("workCenterID")]
|
||||
public string WorkCenterID { get; set; }
|
||||
|
||||
[JsonProperty("workCenterCode")]
|
||||
public string WorkCenterCode { get; set; }
|
||||
|
||||
[JsonProperty("workCenterName")]
|
||||
public string WorkCenterName { get; set; }
|
||||
|
||||
[JsonProperty("orgID")]
|
||||
public string OrgID { get; set; }
|
||||
|
||||
[JsonProperty("classification")]
|
||||
public string Classification { get; set; }
|
||||
|
||||
[JsonProperty("level")]
|
||||
public string LevelNo { get; set; }
|
||||
|
||||
[JsonProperty("detail")]
|
||||
public string Detail { get; set; }
|
||||
|
||||
[JsonProperty("createTime")]
|
||||
public string CreateTime { get; set; }
|
||||
|
||||
[JsonProperty("lastModifyTime")]
|
||||
public string LastModifyTime { get; set; }
|
||||
}
|
||||
}
|
||||
36
Interface_WebAPI/SlMesDbIterface/MOM/msgResHeader.cs
Normal file
36
Interface_WebAPI/SlMesDbIterface/MOM/msgResHeader.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate
|
||||
{
|
||||
public class MsgResHeader<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回结果
|
||||
/// </summary>
|
||||
public int code
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回消息
|
||||
/// </summary>
|
||||
public string message
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 返回结果集
|
||||
/// </summary>
|
||||
public T Data {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
80
Interface_WebAPI/SlMesDbIterface/MOM_Upload/DeviceAlarm.cs
Normal file
80
Interface_WebAPI/SlMesDbIterface/MOM_Upload/DeviceAlarm.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备异常报警数据上传
|
||||
/// </summary>
|
||||
|
||||
public class DeviceAlarm
|
||||
{
|
||||
/// <summary>
|
||||
/// 派工单ID
|
||||
/// </summary>
|
||||
public string orderID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工任务ID
|
||||
/// </summary>
|
||||
public string taskID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报警唯一标识
|
||||
/// </summary>
|
||||
public string id { get; set; }
|
||||
/// <summary>
|
||||
/// 异常工序
|
||||
/// </summary>
|
||||
public string processNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报警代码
|
||||
/// </summary>
|
||||
public string alarmCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报文/设备状态信息
|
||||
/// </summary>
|
||||
public string deviceInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常类型
|
||||
/// </summary>
|
||||
public string exceptionType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常信息
|
||||
/// </summary>
|
||||
public string exceptionInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常发送人
|
||||
/// </summary>
|
||||
public string sender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常位置
|
||||
/// </summary>
|
||||
public string location { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常生产中心
|
||||
/// </summary>
|
||||
public string productionCenter { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改时间
|
||||
/// </summary>
|
||||
public string lastModifiedTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
29
Interface_WebAPI/SlMesDbIterface/MOM_Upload/DeviceInfo.cs
Normal file
29
Interface_WebAPI/SlMesDbIterface/MOM_Upload/DeviceInfo.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 缓存位置查询
|
||||
/// </summary>
|
||||
|
||||
public class DeviceInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求编号
|
||||
/// </summary>
|
||||
public string id { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 请求方标识
|
||||
/// </summary>
|
||||
public string callcode { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 工位号
|
||||
/// </summary>
|
||||
public string containerNo { get; set; } = "";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 器具信息查询响应实体
|
||||
/// </summary>
|
||||
public class DeviceInfoResponse
|
||||
{
|
||||
public int code { get; set; }
|
||||
public string message { get; set; }
|
||||
public DeviceInfoData data { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 器具信息数据
|
||||
/// </summary>
|
||||
public class DeviceInfoData
|
||||
{
|
||||
public List<BusinessData> businessdata { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 业务数据
|
||||
/// </summary>
|
||||
public class BusinessData
|
||||
{
|
||||
/// <summary>
|
||||
/// 批次号
|
||||
/// </summary>
|
||||
public string batchno { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public string qty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料编号
|
||||
/// </summary>
|
||||
public string sku { get; set; }
|
||||
}
|
||||
}
|
||||
37
Interface_WebAPI/SlMesDbIterface/MOM_Upload/DeviceStatus.cs
Normal file
37
Interface_WebAPI/SlMesDbIterface/MOM_Upload/DeviceStatus.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 缓存位置查询
|
||||
/// </summary>
|
||||
|
||||
public class DeviceStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求编号
|
||||
/// </summary>
|
||||
public string MsgId { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 请求方标识
|
||||
/// </summary>
|
||||
public string MsgSource { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 工位号
|
||||
/// </summary>
|
||||
public string OPNo { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 当前状态
|
||||
/// </summary>
|
||||
public int StatusCode { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 采集时间
|
||||
/// </summary>
|
||||
public string StatusTime { get; set; } = "";
|
||||
}
|
||||
|
||||
}
|
||||
98
Interface_WebAPI/SlMesDbIterface/MOM_Upload/JobFinished.cs
Normal file
98
Interface_WebAPI/SlMesDbIterface/MOM_Upload/JobFinished.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 开工
|
||||
/// </summary>
|
||||
|
||||
public class JobFinished
|
||||
{
|
||||
/// <summary>
|
||||
/// 派工单ID
|
||||
/// </summary>
|
||||
public string orderID { get; set; }
|
||||
/// <summary>
|
||||
/// 派工任务ID
|
||||
/// </summary>
|
||||
public string taskID { get; set; }
|
||||
/// <summary>
|
||||
/// 工序ID
|
||||
/// </summary>
|
||||
public decimal finishedQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作时间
|
||||
/// </summary>
|
||||
public string createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
public string endTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public decimal beat { get; set; }
|
||||
public string processNo { get; set; }
|
||||
public string lastModifiedTime { get; set; }
|
||||
public List<InspectionInfo> inspectionInfo { get; set; }
|
||||
public List<MaterialInfo> materialInfo { get; set; }
|
||||
public List<Workinghours> workinghours { get; set; }
|
||||
/// <summary>
|
||||
/// 操作:0取消开工,1开工
|
||||
/// </summary>
|
||||
public string operation { get; set; }
|
||||
|
||||
}
|
||||
public class InspectionInfo
|
||||
{
|
||||
public string Inspectcode { get; set; }
|
||||
public string inspector { get; set; }
|
||||
public string inspectionTime { get; set; }
|
||||
public decimal qualifiedQuantity { get; set; }
|
||||
public decimal unqualifiedQuantity { get; set; }
|
||||
public string templetecode { get; set; }
|
||||
public List<InspectionDetail> inspectionDetails { get; set; }
|
||||
}
|
||||
public class InspectionDetail
|
||||
{
|
||||
public string inspectionItemID { get; set; }
|
||||
public string inspectionItemNo { get; set; }
|
||||
public string inspectionItemName { get; set; }
|
||||
public string inspectionValue { get; set; }
|
||||
public string inspectionStandardText { get; set; }
|
||||
public string upperLimitSymbol { get; set; }
|
||||
public decimal upperLimitValue { get; set; }
|
||||
public string lowerLimitSymbol { get; set; }
|
||||
public decimal lowerLimitValue { get; set; }
|
||||
public decimal standardValue { get; set; }
|
||||
public string inspectionResult { get; set; }
|
||||
|
||||
}
|
||||
public class MaterialInfo
|
||||
{
|
||||
public string consumedMaterialNo { get; set; }
|
||||
public string type { get; set; }
|
||||
public decimal qty { get; set; }
|
||||
public decimal qualifiedqty { get; set; }
|
||||
public decimal unqualifiedqty { get; set; }
|
||||
public string inspectionTool { get; set; }
|
||||
public string batchNo { get; set; }
|
||||
public string serialNo { get; set; }
|
||||
|
||||
}
|
||||
public class Workinghours
|
||||
{
|
||||
public string employee { get; set; }
|
||||
public decimal quantity { get; set; }
|
||||
public decimal workingHours { get; set; }
|
||||
public string operation { get; set; }
|
||||
}
|
||||
}
|
||||
56
Interface_WebAPI/SlMesDbIterface/MOM_Upload/JobStart.cs
Normal file
56
Interface_WebAPI/SlMesDbIterface/MOM_Upload/JobStart.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Linq;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 开工
|
||||
/// </summary>
|
||||
|
||||
public class JobStart
|
||||
{
|
||||
/// <summary>
|
||||
/// 派工单ID
|
||||
/// </summary>
|
||||
public string orderID { get; set; }
|
||||
/// <summary>
|
||||
/// 派工任务ID
|
||||
/// </summary>
|
||||
public string taskID { get; set; }
|
||||
/// <summary>
|
||||
/// 工序ID
|
||||
/// </summary>
|
||||
public string processId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作时间
|
||||
/// </summary>
|
||||
public string operationTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
[JsonProperty("operator")]
|
||||
public string operatorName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改时间
|
||||
/// </summary>
|
||||
public string lastModifiedTime { get; set; }
|
||||
/// <summary>
|
||||
/// 操作:0取消开工,1开工
|
||||
/// </summary>
|
||||
public string operation { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 缓存位置查询
|
||||
/// </summary>
|
||||
|
||||
public class MaterialConfirm
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求编号
|
||||
/// </summary>
|
||||
public string tackcode { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 请求方标识
|
||||
/// </summary>
|
||||
public string orderID { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 工位号
|
||||
/// </summary>
|
||||
public string taskID { get; set; } = "";
|
||||
public string processId { get; set; } = "";
|
||||
public string containerNo { get; set; } = "";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 缓存位置查询
|
||||
/// </summary>
|
||||
|
||||
public class MaterialPosition
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求ID
|
||||
/// </summary>
|
||||
public string requestId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序
|
||||
/// </summary>
|
||||
public string process { get; set; }
|
||||
|
||||
}
|
||||
public class MaterialPositionInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序编号
|
||||
/// </summary>
|
||||
public string processNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置编号
|
||||
/// </summary>
|
||||
public string locationNo { get; set; }
|
||||
/// <summary>
|
||||
/// 空位置数量编号
|
||||
/// </summary>
|
||||
public string emptySlots { get; set; }
|
||||
}
|
||||
}
|
||||
107
Interface_WebAPI/SlMesDbIterface/MOM_Upload/MaterialSend.cs
Normal file
107
Interface_WebAPI/SlMesDbIterface/MOM_Upload/MaterialSend.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料配送
|
||||
/// </summary>
|
||||
|
||||
public class MaterialSend
|
||||
{
|
||||
/// <summary>
|
||||
/// 叫料任务号
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工单ID
|
||||
/// </summary>
|
||||
public string orderID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工任务ID
|
||||
/// </summary>
|
||||
public string taskID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 顺序号
|
||||
/// </summary>
|
||||
public string sequenceNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送类型
|
||||
/// </summary>
|
||||
public string deliveryType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序
|
||||
/// </summary>
|
||||
public string processStep { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起始位置
|
||||
/// </summary>
|
||||
public string startLocation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 终止位置
|
||||
/// </summary>
|
||||
public string endLocation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送物料
|
||||
/// </summary>
|
||||
public string material { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送数量
|
||||
/// </summary>
|
||||
public int quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 托盘号
|
||||
/// </summary>
|
||||
public string trayNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产线
|
||||
/// </summary>
|
||||
public string prodline { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工位
|
||||
/// </summary>
|
||||
public string workstation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间
|
||||
/// </summary>
|
||||
public string workshop { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 企业
|
||||
/// </summary>
|
||||
public string customerid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
public string creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public string createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后修改时间
|
||||
/// </summary>
|
||||
public string lastModifiedTime { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料转序
|
||||
/// </summary>
|
||||
public class MaterialTransfer
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求编号,每个请求都要一个唯一编号,同一个请求重复提交,使用同一编号
|
||||
/// </summary>
|
||||
public string reqCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 请求时间截 格式: "yyyy-MM-dd HH:mm:ss"
|
||||
/// </summary>
|
||||
public string reqTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 令牌号, 由系统颁发
|
||||
/// </summary>
|
||||
public string tokenCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户端编号,如PDA,HCWMS等
|
||||
/// </summary>
|
||||
public string clientCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务模板编号
|
||||
/// </summary>
|
||||
public string taskType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 1:搬运容器,2;搬运货架,默认:2
|
||||
/// </summary>
|
||||
public string moveTaskType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 载具类型:0-空;1-满,搬运货架起点不是地码,搬运容器起点不是仓位时必填
|
||||
/// 0:空料架;1:满料架
|
||||
/// </summary>
|
||||
public string vehicleStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置列表(默认第一个位置是起点,第二个位置是终点)
|
||||
/// </summary>
|
||||
public List<PositionInfo> positionCodeList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工任务id
|
||||
/// </summary>
|
||||
public string dataid { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
public class PositionInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 00-地码(位置);05-仓位;04-区域
|
||||
/// 00:工位;04:区域
|
||||
/// </summary>
|
||||
public string type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据type填值,具体的点位
|
||||
/// </summary>
|
||||
public string positionCode { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json;
|
||||
public class SpotCheckResult
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; } // 点检记录id
|
||||
|
||||
[JsonProperty("code")]
|
||||
public string Code { get; set; } // 点检记录编号
|
||||
|
||||
[JsonProperty("checkplanid")]
|
||||
public string CheckPlanId { get; set; } // 点检计划ID
|
||||
|
||||
[JsonProperty("createusercode")]
|
||||
public string CreateUserCode { get; set; } // 点检记录编制人编号
|
||||
|
||||
[JsonProperty("createusername")]
|
||||
public string CreateUserName { get; set; } // 点检记录编制人名称
|
||||
|
||||
[JsonProperty("createtime")]
|
||||
public DateTime CreateTime { get; set; } // 点检时间
|
||||
|
||||
[JsonProperty("resultData")]
|
||||
public List<CheckResultDetail> ResultData { get; set; } // 点检明细列表
|
||||
}
|
||||
|
||||
public class CheckResultDetail
|
||||
{
|
||||
[JsonProperty("resultid")]
|
||||
public string ResultId { get; set; } // 点检明细id
|
||||
|
||||
[JsonProperty("checkplandetailid")]
|
||||
public string CheckPlanDetailId { get; set; } // 点检计划详细信息ID
|
||||
|
||||
[JsonProperty("abnormal")]
|
||||
public string Abnormal { get; set; } // 是否异常(假设为布尔值)
|
||||
|
||||
[JsonProperty("checkvalue")]
|
||||
public string CheckValue { get; set; } // 点检值
|
||||
|
||||
[JsonProperty("checkresult")]
|
||||
public string CheckResult { get; set; } // 点检结果
|
||||
|
||||
[JsonProperty("checkercode")]
|
||||
public string CheckerCode { get; set; } // 点检人
|
||||
|
||||
[JsonProperty("checkername")]
|
||||
public string CheckerName { get; set; } // 点检人名称
|
||||
|
||||
[JsonProperty("checktime")]
|
||||
public string CheckTime { get; set; } // 实际点检时间
|
||||
|
||||
[JsonProperty("processresult")]
|
||||
public string ProcessResult { get; set; } // 处理结果
|
||||
|
||||
[JsonProperty("processmethod")]
|
||||
public string ProcessMethod { get; set; } // 处理方式
|
||||
|
||||
[JsonProperty("filebefore")]
|
||||
public string FileBefore { get; set; } // 改善前附件
|
||||
|
||||
[JsonProperty("fileafter")]
|
||||
public string FileAfter { get; set; } // 改善后附件
|
||||
|
||||
[JsonProperty("exdescribe")]
|
||||
public string ExDescribe { get; set; } // 异常描述
|
||||
|
||||
[JsonProperty("nohandlereason")]
|
||||
public string NoHandleReason { get; set; } // 不处理原因
|
||||
}
|
||||
42
Interface_WebAPI/SlMesDbIterface/MOM_Upload/taskFinish.cs
Normal file
42
Interface_WebAPI/SlMesDbIterface/MOM_Upload/taskFinish.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MisDataSaveDate.MOM
|
||||
{
|
||||
/// <summary>
|
||||
/// 任务完工与工时汇报
|
||||
/// </summary>
|
||||
|
||||
public class TaskFinish
|
||||
{
|
||||
/// <summary>
|
||||
/// 派工单ID
|
||||
/// </summary>
|
||||
public string orderID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派工任务ID
|
||||
/// </summary>
|
||||
public string taskID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 员工
|
||||
/// </summary>
|
||||
public string employee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工时
|
||||
/// </summary>
|
||||
public int workingHours { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
46
Interface_WebAPI/SlMesDbIterface/MessageHanlder/ApiTools.cs
Normal file
46
Interface_WebAPI/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") };
|
||||
}
|
||||
}
|
||||
}
|
||||
355
Interface_WebAPI/SlMesDbIterface/MessageHanlder/CallWebApi.cs
Normal file
355
Interface_WebAPI/SlMesDbIterface/MessageHanlder/CallWebApi.cs
Normal file
@@ -0,0 +1,355 @@
|
||||
using ExternalDataSync;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WebApi
|
||||
{
|
||||
public class Post
|
||||
{
|
||||
public static string Postring(string url, Dictionary<string, string> dic)
|
||||
{
|
||||
string result = "";
|
||||
//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.Proxy = null;
|
||||
|
||||
req.KeepAlive = false;
|
||||
|
||||
#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;
|
||||
}
|
||||
public static string Post_XK(string url, string content)
|
||||
{
|
||||
|
||||
var WebapiPostHeader_Tenant = ConfigurationManager.AppSettings["WebapiPostHeader_Tenant"];
|
||||
var WebapiPostHeader_Language = ConfigurationManager.AppSettings["WebapiPostHeader_Language"];
|
||||
var WebapiPostHeader_Authorization = ConfigurationManager.AppSettings["WebapiPostHeader_Authorization"];
|
||||
var WebapiPostHeader_Systemcode = ConfigurationManager.AppSettings["WebapiPostHeader_Systemcode"];
|
||||
|
||||
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
|
||||
|
||||
string result = "";
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
|
||||
req.Headers.Add("X-ECC-Current-Tenant", WebapiPostHeader_Tenant);
|
||||
req.Headers.Add("Accept-Language", WebapiPostHeader_Language);
|
||||
req.Headers.Add("Authorization", WebapiPostHeader_Authorization);
|
||||
//req.Headers.Add("Connect-Type", "application/json");
|
||||
req.Headers.Add("Systemcode", WebapiPostHeader_Systemcode);
|
||||
|
||||
req.Accept = "*/*";
|
||||
req.Method = "POST";
|
||||
req.ContentType = "application/json";
|
||||
req.Timeout = 10000;
|
||||
|
||||
try
|
||||
{
|
||||
byte[] data = Encoding.UTF8.GetBytes(content);
|
||||
req.ContentLength = data.Length;
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
reqStream.Close();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return JsonConvert.SerializeObject(new { code = 500, message = ex.Message, data = new object() });
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
using (HttpWebResponse resp = (HttpWebResponse)req.GetResponse())
|
||||
using (Stream stream = resp.GetResponseStream())
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
if (ex.Response != null)
|
||||
{
|
||||
using (Stream stream = ex.Response.GetResponseStream())
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
result = JsonConvert.SerializeObject(new { code = 500, message = ex.Message, data = new object() });
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
result = JsonConvert.SerializeObject(new { code = 500, message = ex.Message, data = new object() });
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string Post_Auto(string url, string content)
|
||||
{
|
||||
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
|
||||
|
||||
string result = "";
|
||||
|
||||
try
|
||||
{
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Headers.Add("Connect-Type", "application/json");
|
||||
req.Accept = "*/*";
|
||||
req.Method = "POST";
|
||||
req.ContentType = "application/json";
|
||||
req.Timeout = 10000;
|
||||
|
||||
// 写入请求数据
|
||||
if (!string.IsNullOrEmpty(content))
|
||||
{
|
||||
byte[] data = Encoding.UTF8.GetBytes(content);
|
||||
req.ContentLength = data.Length;
|
||||
using (Stream reqStream = req.GetRequestStream())
|
||||
{
|
||||
reqStream.Write(data, 0, data.Length);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
req.ContentLength = 0;
|
||||
}
|
||||
|
||||
// 获取响应
|
||||
using (HttpWebResponse resp = (HttpWebResponse)req.GetResponse())
|
||||
using (Stream stream = resp.GetResponseStream())
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
if (ex.Response != null)
|
||||
{
|
||||
using (Stream stream = ex.Response.GetResponseStream())
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// 返回标准格式的错误信息
|
||||
result = JsonConvert.SerializeObject(new { code = 500, message = ex.Message });
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// 返回标准格式的错误信息
|
||||
result = JsonConvert.SerializeObject(new { code = 500, message = ex.Message });
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public static JObject Post_WebAPI(string WebAPI_Url, string m_msg)
|
||||
{
|
||||
try
|
||||
{
|
||||
return JsonConvert.DeserializeObject<JObject>(WebApi.Post.Post_Auto(WebAPI_Url, m_msg));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new JObject { { "code", 500 }, { "Message", ex.Message }, { "data", new JObject() } };
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static string MyPost()
|
||||
{
|
||||
// var url = "http://192.168.1.224:41190/";
|
||||
var url = "http://127.0.0.1:41190/";
|
||||
var controller = "ZSaveTag";
|
||||
var action = "SelectPage";
|
||||
Dictionary<string, string> dict = new Dictionary<string, string>();
|
||||
dict.Add("OpName","");
|
||||
dict.Add("StartTime", "2022-06-24 00:00:00");
|
||||
dict.Add("EndTime", "2022-06-30 00:00:00");
|
||||
dict.Add("PageCurrent", "1");
|
||||
dict.Add("PageSize", "2");
|
||||
|
||||
|
||||
var reqUrl = url + "/api/" + controller + "/" + action;
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(reqUrl);
|
||||
req.Method = "POST";
|
||||
req.ContentType = "application/json";
|
||||
req.Proxy = null;
|
||||
|
||||
req.KeepAlive = false;
|
||||
|
||||
#region 添加Post 参数
|
||||
JObject jObject = new JObject();
|
||||
jObject.Add("OpName", "");
|
||||
jObject.Add("StartTime", "2022-06-24 00:00:00");
|
||||
jObject.Add("EndTime", "2022-06-30 00:00:00");
|
||||
jObject.Add("PageCurrent", "2");
|
||||
jObject.Add("PageSize", "3");
|
||||
var jStr = jObject.ToString();
|
||||
|
||||
//StringBuilder builder = new StringBuilder();
|
||||
//int i = 0;
|
||||
//foreach (var item in dict)
|
||||
//{
|
||||
// if (i > 0)
|
||||
// builder.Append("&");
|
||||
// builder.AppendFormat("{0}={1}", item.Key, item.Value);
|
||||
// i++;
|
||||
//}
|
||||
//byte[] data = Encoding.UTF8.GetBytes(builder.ToString());
|
||||
byte[] data = Encoding.UTF8.GetBytes(jStr);
|
||||
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();
|
||||
|
||||
string result = "";
|
||||
|
||||
//获取响应内容
|
||||
using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
|
||||
{
|
||||
result = reader.ReadToEnd();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string MyPost(string url,string jsonStr)
|
||||
{
|
||||
string result = "";
|
||||
|
||||
try
|
||||
{
|
||||
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
|
||||
req.Method = "POST";
|
||||
req.ContentType = "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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
313
Interface_WebAPI/SlMesDbIterface/MessageHanlder/DeviceTools.cs
Normal file
313
Interface_WebAPI/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
Interface_WebAPI/SlMesDbIterface/MessageHanlder/FTPHelper.cs
Normal file
332
Interface_WebAPI/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
Interface_WebAPI/SlMesDbIterface/MessageHanlder/GetVal.cs
Normal file
69
Interface_WebAPI/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
Interface_WebAPI/SlMesDbIterface/MessageHanlder/HttpCli.cs
Normal file
349
Interface_WebAPI/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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
150
Interface_WebAPI/SlMesDbIterface/MessageHanlder/InitServer.cs
Normal file
150
Interface_WebAPI/SlMesDbIterface/MessageHanlder/InitServer.cs
Normal file
@@ -0,0 +1,150 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
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.MaxReceivedMessageSize = 1024 * 1024 * 10;
|
||||
//config.Routes.MapHttpRoute(
|
||||
// name: "DefaultApi",
|
||||
// routeTemplate: "api/{controller}/{id}",
|
||||
// defaults: new { id = RouteParameter.Optional }
|
||||
//);
|
||||
|
||||
// 自定义路由匹配到action
|
||||
config.Routes.MapHttpRoute(
|
||||
name: "API Default",
|
||||
routeTemplate: "api/{controller}/{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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,329 @@
|
||||
using ICSharpCode.SharpZipLib.Zip;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ExternalDataSync.MessageHanlder
|
||||
{
|
||||
public class LocalNetworkFileHelper
|
||||
{
|
||||
[DllImport("Shlwapi.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
||||
public extern static bool PathFileExists(string path);
|
||||
/// <summary>
|
||||
/// 连接远程共享文件夹
|
||||
/// </summary>
|
||||
/// <param name="path">远程共享文件夹的路径</param>
|
||||
/// <param name="userName">用户名</param>
|
||||
/// <param name="passWord">密码</param>
|
||||
public static bool connectState(string path, string userName, string passWord, out string Sharefile_Error)
|
||||
{
|
||||
Sharefile_Error = "";
|
||||
bool Flag = false;
|
||||
Process proc = new Process();
|
||||
try
|
||||
{
|
||||
proc.StartInfo.FileName = "cmd.exe";
|
||||
proc.StartInfo.UseShellExecute = false;
|
||||
proc.StartInfo.RedirectStandardInput = true;
|
||||
proc.StartInfo.RedirectStandardOutput = true;
|
||||
proc.StartInfo.RedirectStandardError = true;
|
||||
proc.StartInfo.CreateNoWindow = true;
|
||||
proc.Start();
|
||||
string dosLine = "net use " + path + " " + passWord + " /user:" + userName;
|
||||
proc.StandardInput.WriteLine(dosLine);
|
||||
proc.StandardInput.WriteLine("exit");
|
||||
while (!proc.HasExited)
|
||||
{
|
||||
proc.WaitForExit(1000);
|
||||
}
|
||||
string errormsg = proc.StandardError.ReadToEnd();
|
||||
proc.StandardError.Close();
|
||||
if (string.IsNullOrEmpty(errormsg))
|
||||
{
|
||||
Flag = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Sharefile_Error = errormsg;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Sharefile_Error = ex.Message;
|
||||
}
|
||||
finally
|
||||
{
|
||||
proc.Close();
|
||||
proc.Dispose();
|
||||
}
|
||||
return Flag;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从远程服务器下载文件到本地
|
||||
/// </summary>
|
||||
/// <param name="SourceFile">远程服务器路径(共享文件夹路径)</param>
|
||||
/// <param name="LocalFile">下载到本地后的文件路径</param>
|
||||
/// <param name="LocalFileName">下载到本地文件名称,包含扩展名:ABC.text</param>
|
||||
public static bool TransportRemoteToLocal(string SourceFile, string LocalFile, string LocalFileName, out string Sharefile_Error, out byte[] fileContent)
|
||||
{
|
||||
fileContent = null;
|
||||
Sharefile_Error = "";
|
||||
bool rel = false;
|
||||
try
|
||||
{
|
||||
|
||||
if (Directory.Exists(LocalFile))
|
||||
{
|
||||
Directory.Delete(LocalFile, true);
|
||||
}
|
||||
Directory.CreateDirectory(LocalFile);
|
||||
//从远程服务器下载到本地的文件
|
||||
if (LocalFile.EndsWith(@"\"))
|
||||
{
|
||||
LocalFile = LocalFile + LocalFileName;
|
||||
}
|
||||
else
|
||||
{
|
||||
LocalFile = LocalFile + "\\" + LocalFileName;
|
||||
}
|
||||
//远程服务器文件 此处假定远程服务器共享文件夹下确实包含本文件,否则程序报错
|
||||
FileStream inFileStream = new FileStream(SourceFile, FileMode.Open);
|
||||
FileStream outFileStream = new FileStream(LocalFile, FileMode.OpenOrCreate);
|
||||
byte[] buf = new byte[inFileStream.Length];
|
||||
int byteCount;
|
||||
while ((byteCount = inFileStream.Read(buf, 0, buf.Length)) > 0)
|
||||
{
|
||||
outFileStream.Write(buf, 0, byteCount);
|
||||
fileContent = new byte[buf.Length];
|
||||
Array.Copy(buf, fileContent, buf.Length);
|
||||
}
|
||||
inFileStream.Flush();
|
||||
inFileStream.Close();
|
||||
outFileStream.Flush();
|
||||
outFileStream.Close();
|
||||
rel = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Sharefile_Error = ex.Message;
|
||||
}
|
||||
return rel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从远程服务器下载文件到本地
|
||||
/// </summary>
|
||||
/// <param name="SourceFile">远程服务器路径(共享文件夹路径)</param>
|
||||
/// <param name="LocalFile">下载到本地后的文件路径</param>
|
||||
public static bool TransportRemoteToLocal(string SourceFilePath, string LocalFilePath, out string Sharefile_Error)
|
||||
{
|
||||
Sharefile_Error = "";
|
||||
bool rel = false;
|
||||
try
|
||||
{
|
||||
if (!Directory.Exists(SourceFilePath))
|
||||
{
|
||||
Sharefile_Error = "共享文件路径不存在!" + SourceFilePath;
|
||||
return false;
|
||||
}
|
||||
if (!Directory.Exists(LocalFilePath))
|
||||
{
|
||||
Directory.CreateDirectory(LocalFilePath);
|
||||
}
|
||||
IEnumerable<string> files = System.IO.Directory.EnumerateFileSystemEntries(SourceFilePath);
|
||||
if (files != null && files.Count() > 0)
|
||||
{
|
||||
foreach (var item in files)
|
||||
{
|
||||
string desPath = System.IO.Path.Combine(LocalFilePath, System.IO.Path.GetFileName(item));
|
||||
//如果是文件
|
||||
var fileExist = System.IO.File.Exists(item);
|
||||
if (fileExist)
|
||||
{
|
||||
//复制文件到指定目录下
|
||||
System.IO.File.Copy(item, desPath, true);
|
||||
continue;
|
||||
}
|
||||
//如果是文件夹
|
||||
TransportRemoteToLocal(item, desPath, out string aaa);
|
||||
}
|
||||
}
|
||||
rel = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Sharefile_Error = ex.Message;
|
||||
}
|
||||
return rel;
|
||||
}
|
||||
public static class DirectoryExtension
|
||||
{
|
||||
public static bool IsShareAccessible(string path)
|
||||
{
|
||||
|
||||
return true;
|
||||
|
||||
//Ping ping = new Ping();
|
||||
//var response = ping.Send(path, 4);
|
||||
|
||||
|
||||
//string errorMessage;
|
||||
//var timeStart = DateTime.Now;
|
||||
//using (var process = new Process {
|
||||
// StartInfo = {
|
||||
// FileName = "cmd.exe",
|
||||
// UseShellExecute = false,
|
||||
// RedirectStandardInput = true,
|
||||
// RedirectStandardOutput = true,
|
||||
// CreateNoWindow = true,
|
||||
// RedirectStandardError = true
|
||||
// }
|
||||
//})
|
||||
//{
|
||||
// process.Start();
|
||||
// process.StandardInput.AutoFlush = true;
|
||||
// process.StandardInput.WriteLine(@"net use " + path);
|
||||
// process.StandardInput.WriteLine("exit");
|
||||
// errorMessage = process.StandardError.ReadToEnd();
|
||||
// process.WaitForExit();
|
||||
// if (string.IsNullOrEmpty(errorMessage))
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
public static bool FtpFolderExists(string folderPath, string username, string password)
|
||||
{
|
||||
FtpWebRequest request = (FtpWebRequest)WebRequest.Create(folderPath);
|
||||
request.Credentials = new NetworkCredential(username, password);
|
||||
request.Method = WebRequestMethods.Ftp.ListDirectory;
|
||||
|
||||
try
|
||||
{
|
||||
using (FtpWebResponse response = (FtpWebResponse)request.GetResponse())
|
||||
{
|
||||
return true; // 如果成功获取响应,则文件夹存在
|
||||
}
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
return false; // 文件夹不存在
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 从远程服务器下载文件到本地
|
||||
/// </summary>
|
||||
/// <param name="SourceFile">远程服务器路径(共享文件夹路径)</param>
|
||||
/// <param name="LocalFile">下载到本地后的文件路径</param>
|
||||
/// <param name="LocalFileName">下载到本地文件名称,包含扩展名:ABC.text</param>
|
||||
public static bool TransportRemoteToLocalZip(string SourceFile, string LocalFile, string LocalFileName, string zipedFolder, out string Sharefile_Error)
|
||||
{
|
||||
Sharefile_Error = "";
|
||||
bool rel = false;
|
||||
try
|
||||
{
|
||||
//远程服务器文件 此处假定远程服务器共享文件夹下确实包含本文件,否则程序报错
|
||||
FileStream inFileStream = new FileStream(SourceFile, FileMode.Open);
|
||||
if (Directory.Exists(LocalFile))
|
||||
{
|
||||
Directory.Delete(LocalFile, true);
|
||||
}
|
||||
Directory.CreateDirectory(LocalFile);
|
||||
//从远程服务器下载到本地的文件
|
||||
if (LocalFile.EndsWith(@"\"))
|
||||
{
|
||||
LocalFile = LocalFile + LocalFileName;
|
||||
}
|
||||
else
|
||||
{
|
||||
LocalFile = LocalFile + "\\" + LocalFileName;
|
||||
}
|
||||
|
||||
FileStream outFileStream = new FileStream(LocalFile, FileMode.OpenOrCreate);
|
||||
byte[] buf = new byte[inFileStream.Length];
|
||||
int byteCount;
|
||||
while ((byteCount = inFileStream.Read(buf, 0, buf.Length)) > 0)
|
||||
{
|
||||
outFileStream.Write(buf, 0, byteCount);
|
||||
}
|
||||
inFileStream.Flush();
|
||||
inFileStream.Close();
|
||||
outFileStream.Flush();
|
||||
outFileStream.Close();
|
||||
|
||||
ZipHelper.UnZip(LocalFile, zipedFolder);
|
||||
rel = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Sharefile_Error = ex.Message;
|
||||
}
|
||||
return rel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 将本地文件上传到远程服务器共享目录
|
||||
/// </summary>
|
||||
/// <param name="SourceFile">本地文件的绝对路径,包含扩展名</param>
|
||||
/// <param name="RemoteFile">远程服务器共享文件路径,不包含文件扩展名</param>
|
||||
/// <param name="RemoteFileName">上传到远程服务器后的文件扩展名</param>
|
||||
public static bool TransportLocalToRemote(string SourceFile, string RemoteFile, string RemoteFileName, out string Sharefile_Error) //src
|
||||
{
|
||||
Sharefile_Error = "";
|
||||
//string SourceFile, string LocalFile, string LocalFileName
|
||||
bool rel = false;
|
||||
try
|
||||
{
|
||||
FileStream inFileStream = new FileStream(SourceFile, FileMode.Open); //此处假定本地文件存在,不然程序会报错
|
||||
if (!Directory.Exists(RemoteFile)) //判断上传到的远程服务器路径是否存在
|
||||
{
|
||||
Directory.CreateDirectory(RemoteFile);
|
||||
}
|
||||
//上传到远程服务器共享文件夹后文件的绝对路径
|
||||
if (!RemoteFile.EndsWith(@"\"))
|
||||
{
|
||||
RemoteFile = RemoteFile + RemoteFileName;
|
||||
}
|
||||
else
|
||||
{
|
||||
RemoteFile = RemoteFile + "\\" + RemoteFileName;
|
||||
}
|
||||
FileStream outFileStream = new FileStream(RemoteFile, FileMode.OpenOrCreate);
|
||||
byte[] buf = new byte[inFileStream.Length];
|
||||
int byteCount;
|
||||
while ((byteCount = inFileStream.Read(buf, 0, buf.Length)) > 0)
|
||||
{
|
||||
outFileStream.Write(buf, 0, byteCount);
|
||||
}
|
||||
inFileStream.Flush();
|
||||
inFileStream.Close();
|
||||
outFileStream.Flush();
|
||||
outFileStream.Close();
|
||||
rel = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Sharefile_Error = ex.Message;
|
||||
}
|
||||
return rel;
|
||||
}
|
||||
}
|
||||
}
|
||||
173
Interface_WebAPI/SlMesDbIterface/MessageHanlder/Re.cs
Normal file
173
Interface_WebAPI/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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user