From da78422528af5c94bf42d273ad2842cc65eb9c72 Mon Sep 17 00:00:00 2001 From: zgf Date: Thu, 9 Nov 2023 17:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=20=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E5=9B=9E=E4=BC=A0=20=E5=85=A5=E5=BA=93=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E9=80=BB=E8=BE=91=20=E6=B7=BB=E5=8A=A0=E7=89=A9=E6=96=99?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=92=8C=E5=94=AF=E4=B8=80=E7=A0=81?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HHWMS.Web/Areas/Api/IWCSController.cs | 22 + .../Configs/Controllers/PrintController.cs | 26 +- .../ViewModels/MaterialVMs/MaterialListVM.cs | 2 +- .../Areas/Configs/Views/Print/Index.cshtml | 72 +- .../Controllers/InventoryController.cs | 50 + .../InventoryVMs/InventoryListVM.cs | 1 + .../Controllers/ReceiptDetailController.cs | 22 +- .../ReceiptDetailVMs/ReceiptDetailListVM2.cs | 6 +- .../Receipt/Views/ReceiptIn/Index.cshtml | 47 +- .../Views/ReceiptInOperation/Index.cshtml | 50 +- .../System/Controllers/jobs/SendWcsJob.cs | 6 +- .../ServiceReference1/ConnectedService.json | 217 +++ .../ServiceReference1/Reference.cs | 1186 +++++++++++++++++ HHWMS.Web/DataContext.cs | 1 + HHWMS.Web/HHWMS.Web.csproj | 5 + HHWMS.Web/MESToWMSService/WmsMesService.cs | 16 +- HHWMS.Web/Models/Configs/MaterialQr.cs | 25 + .../Models/Request/Request/RequestMes.cs | 42 + HHWMS.Web/Resources/Program.zh.resx | 3 + 19 files changed, 1684 insertions(+), 115 deletions(-) create mode 100644 HHWMS.Web/Connected Services/ServiceReference1/ConnectedService.json create mode 100644 HHWMS.Web/Connected Services/ServiceReference1/Reference.cs create mode 100644 HHWMS.Web/Models/Configs/MaterialQr.cs diff --git a/HHWMS.Web/Areas/Api/IWCSController.cs b/HHWMS.Web/Areas/Api/IWCSController.cs index 9b83018..d2ab769 100644 --- a/HHWMS.Web/Areas/Api/IWCSController.cs +++ b/HHWMS.Web/Areas/Api/IWCSController.cs @@ -6,6 +6,7 @@ using AutoMapper; using HHWMS.Web.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; +using Newtonsoft.Json; using WalkingTec.Mvvm.Core; namespace HHWMS.Web @@ -36,6 +37,27 @@ namespace HHWMS.Web [HttpPost] public IActionResult RequestIn(WcsRequest request) { + var inv = _unitwork.Find(x => x.ID > 0).FirstOrDefault(); + var bizData = new InStore + { + INWMS = new INWMS + { + INITEMS = new INITEMS + { + INITEM = new List() + { + new INITEMItem() + { + ERPSN = inv.MaterialCode, + WMSSN = inv.UniqueCode, + QTY = ((int?)inv.Qty).ToString(), + TYPE = "2" + } + } + } + } + }; + var str = JsonConvert.SerializeObject(bizData); // 参数判断 if (request.RoadWay == null || request.Size == null) { diff --git a/HHWMS.Web/Areas/Configs/Controllers/PrintController.cs b/HHWMS.Web/Areas/Configs/Controllers/PrintController.cs index 4295001..49b18c7 100644 --- a/HHWMS.Web/Areas/Configs/Controllers/PrintController.cs +++ b/HHWMS.Web/Areas/Configs/Controllers/PrintController.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Linq; using HHWMS.Web.Models; @@ -45,7 +46,7 @@ namespace HHWMS.Web.Controllers } [HttpPost] - public ActionResult GenCode(string code) + public ActionResult GenCode(string code, int num = 1) { var material = _unitwork.FindSingle(x => x.QRCode.Equals(code)); if (material == null) @@ -54,20 +55,23 @@ namespace HHWMS.Web.Controllers } else { - if (string.IsNullOrEmpty(material.UniqueCode)) + var materialQrList = new List(); + for (int i = 0; i < num; i++) { var prefix = code.Split("@")[1].Substring(2); - var unique = _unitwork.GetSerialNumber(prefix, 8); - var uniqueCode = prefix + unique; + var uniqueCode = _unitwork.GetSerialNumber(prefix, length: 8); + //var uniqueCode = prefix + unique; - material.UniqueCode = uniqueCode; - _unitwork.Update(material); - return JsonMore(uniqueCode); - } - else - { - return JsonMore(material.UniqueCode); + materialQrList.Add(new MaterialQr + { + QRCode = code, + UniqueCode = uniqueCode, + CreateTime = DateTime.Now, + CreateBy = Wtm.LoginUserInfo.ITCode + }); } + _unitwork.BatchAdd(materialQrList.ToArray()); + return JsonMore(materialQrList); } } } diff --git a/HHWMS.Web/Areas/Configs/ViewModels/MaterialVMs/MaterialListVM.cs b/HHWMS.Web/Areas/Configs/ViewModels/MaterialVMs/MaterialListVM.cs index 837becd..f8deb72 100644 --- a/HHWMS.Web/Areas/Configs/ViewModels/MaterialVMs/MaterialListVM.cs +++ b/HHWMS.Web/Areas/Configs/ViewModels/MaterialVMs/MaterialListVM.cs @@ -32,7 +32,7 @@ namespace HHWMS.Web protected override IEnumerable> InitGridHeader() { return new List>{ - this.MakeGridHeader(x => x.UniqueCode).SetWidth(220), + this.MakeGridHeader(x => x.UniqueCode).SetHide(), this.MakeGridHeader(x => x.QRCode), this.MakeGridHeader(x => x.SourceCode).SetHide(), this.MakeGridHeader(x => x.MaterialCode), diff --git a/HHWMS.Web/Areas/Configs/Views/Print/Index.cshtml b/HHWMS.Web/Areas/Configs/Views/Print/Index.cshtml index 92c0649..893bfce 100644 --- a/HHWMS.Web/Areas/Configs/Views/Print/Index.cshtml +++ b/HHWMS.Web/Areas/Configs/Views/Print/Index.cshtml @@ -1,12 +1,17 @@ - + + + + + 生成 @@ -28,6 +33,7 @@ printData:[], gendCode: '', qrcode: '', + num: 1, template: { "panels": [ { @@ -80,38 +86,6 @@ duration: "10000", }); } - else{ - $.ajax({ - type: "post", - dataType: "json", - data: { code: _this.qrcode }, - url: "/configs/Print/GenCode", - success: function (json) { - if (json.Code != 200) { - _this.$message({ - message: "生成失败!" + json.Msg, - type: "warning", - duration: "10000", - }); - return; - } - else { - _this.gendCode += json.Data + '\n'; - _this.printData.push({ uniqueCode: json.Data }); - //清空 - _this.qrcode = ''; - } - }, - error: function (json) { - _this.$message({ - message: "生成失败!", - type: "error", - duration: "10000", - }); - }, - }); - - } }, error: function (json) { _this.$message({ @@ -124,11 +98,27 @@ }, genCode() { var _this = this; + if (_this.qrcode == "") { + _this.$message({ + message: "请扫描二维码后再操作!", + type: "warning", + duration: "500", + }); + return; + } + if (_this.num == "") { + _this.$message({ + message: "请输入数量后再操作!", + type: "warning", + duration: "500", + }); + return; + } // 调用后台方法,生成唯一码,(流水号) $.ajax({ type: "post", dataType: "json", - data: { code: _this.qrcode }, + data: { code: _this.qrcode, num: _this.num }, url: "/configs/Print/GenCode", success: function (json) { if (json.Code != 200) { @@ -140,8 +130,12 @@ return; } else{ - _this.gendCode += json.Data + '\n'; - _this.printData.push({ uniqueCode: json.Data }); + console.log(json); + json.Data.forEach(function (item) { + _this.gendCode += item.UniqueCode + '\n'; + _this.printData.push({ uniqueCode: item.UniqueCode }); + }); + } }, error: function (json) { @@ -152,8 +146,7 @@ }); }, }); - //清空 - _this.qrcode = ''; + _this.unm = 1; }, print() { var _this = this; @@ -164,6 +157,9 @@ }) hiprintTemplate.print(this.printData); _this.printData = []; + //清空 + _this.qrcode = ''; + _this.unm = 1; } } }); diff --git a/HHWMS.Web/Areas/Inventory/Controllers/InventoryController.cs b/HHWMS.Web/Areas/Inventory/Controllers/InventoryController.cs index fe49aea..0f11de8 100644 --- a/HHWMS.Web/Areas/Inventory/Controllers/InventoryController.cs +++ b/HHWMS.Web/Areas/Inventory/Controllers/InventoryController.cs @@ -5,6 +5,9 @@ using WalkingTec.Mvvm.Core; using WalkingTec.Mvvm.Mvc; using WalkingTec.Mvvm.Core.Extensions; using HHWMS.Web; +using HHWMS.Web.Models; +using System.Collections.Generic; +using Newtonsoft.Json; namespace HHWMS.Web.Controllers { @@ -222,5 +225,52 @@ namespace HHWMS.Web.Controllers } #endregion + [ActionDescription("Inventory.ReturnToMes")] + public ActionResult ReturnToMes(string id) + { + var inv = _unitwork.FindById(int.Parse(id)); + var qr = _unitwork.FindSingle(x => x.UniqueCode.Equals(inv.UniqueCode))?.QRCode; + var bizData = new InStore + { + INWMS = new INWMS + { + INITEMS = new INITEMS + { + INITEM = new List() + { + new INITEMItem() + { + ERPSN = qr, + WMSSN = inv?.UniqueCode, + QTY = ((int?)inv?.Qty).ToString(), + TYPE = "2" + } + } + } + } + }; + var str = JsonConvert.SerializeObject(bizData); + var request = new ServiceReference1.bizOperationV1Request + { + fromUnit = "8357S", + toUnit = "8357TEST", + fromSys = "WMSTEST", + toSys = "MES", + bizOperation = "InStore", + bizData = str + }; + var client = new ServiceReference1.portTypeClient(); + var result = client.bizOperationV1Async(request).Result; + if (result.Status == "Y") + { + Wtm.DoLog("", ActionLogTypesEnum.Normal, "mes", request: JsonConvert.SerializeObject(request), result: "success"); + return FFResult().Message("库存回传成功").RefreshGrid(); + } + else + { + Wtm.DoLog("", ActionLogTypesEnum.Normal, "mes", request: JsonConvert.SerializeObject(request), result: "error"); + return FFResult().Message($"{result.Message}").RefreshGrid(); + } + } } } diff --git a/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs b/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs index 43c1f68..ac38418 100644 --- a/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs +++ b/HHWMS.Web/Areas/Inventory/ViewModels/InventoryVMs/InventoryListVM.cs @@ -24,6 +24,7 @@ namespace HHWMS.Web return new List { this.MakeStandardAction("Inventory", GridActionStandardTypesEnum.Create, Localizer["Sys.Create"],"inventory", dialogWidth: 800), + this.MakeAction("Inventory","ReturnToMes",Localizer["Inventory.ReturnToMes"],Localizer["Inventory.ReturnToMes"],GridActionParameterTypesEnum.SingleId,"inventory"), this.MakeStandardAction("Inventory", GridActionStandardTypesEnum.Edit, Localizer["Sys.Edit"], "inventory", dialogWidth: 800), this.MakeStandardAction("Inventory", GridActionStandardTypesEnum.Delete, Localizer["Sys.Delete"], "inventory", dialogWidth: 800), this.MakeStandardAction("Inventory", GridActionStandardTypesEnum.Details, Localizer["Sys.Details"], "inventory", dialogWidth: 800), diff --git a/HHWMS.Web/Areas/Receipt/Controllers/ReceiptDetailController.cs b/HHWMS.Web/Areas/Receipt/Controllers/ReceiptDetailController.cs index bbd0f70..c797664 100644 --- a/HHWMS.Web/Areas/Receipt/Controllers/ReceiptDetailController.cs +++ b/HHWMS.Web/Areas/Receipt/Controllers/ReceiptDetailController.cs @@ -5,6 +5,7 @@ using WalkingTec.Mvvm.Mvc; using WalkingTec.Mvvm.Core.Extensions; using HHWMS.Web.Models; using System.Collections.Generic; +using System; namespace HHWMS.Web.Controllers { @@ -141,7 +142,7 @@ namespace HHWMS.Web.Controllers { UniqueCode = item, Status = 0, - MaterialType = "PL", + ZoneCode = ZoneCodeEnum.盘料库, ReceiptHeaderId = vm.Entity.ReceiptHeaderId }); } @@ -154,12 +155,29 @@ namespace HHWMS.Web.Controllers detailList.Add(new ReceiptDetail { UniqueCode = item, - MaterialType = "SL", + ZoneCode = ZoneCodeEnum.散料库, Status = 0, ReceiptHeaderId = vm.Entity.ReceiptHeaderId }); } } + + // 补充物料明细 + foreach(var item in detailList) + { + var materialqr = _unitwork.FindSingle(x => x.UniqueCode.Equals(item.UniqueCode)); + var material = _unitwork.FindSingle(x => x.QRCode.Equals(materialqr.QRCode)); + item.MaterialCode = material.MaterialCode; + item.MaterialName = material.MaterialName; + item.MaterialSpec = material.MaterialSpec; + item.MaterialType = material.MaterialType; + item.MaterialUnit = material.MaterialUnit; + item.Batch = material.Batch; + item.Qty = material.Qty; + item.SupplierCode = material.SupplierCode; + item.CreateBy = Wtm.LoginUserInfo.ITCode; + item.CreateTime = DateTime.Now; + } _unitwork.BatchAdd(detailList.ToArray()); return FFResult().CloseDialog().RefreshGrid(index: 1); } diff --git a/HHWMS.Web/Areas/Receipt/ViewModels/ReceiptDetailVMs/ReceiptDetailListVM2.cs b/HHWMS.Web/Areas/Receipt/ViewModels/ReceiptDetailVMs/ReceiptDetailListVM2.cs index 82d890c..11e0fe0 100644 --- a/HHWMS.Web/Areas/Receipt/ViewModels/ReceiptDetailVMs/ReceiptDetailListVM2.cs +++ b/HHWMS.Web/Areas/Receipt/ViewModels/ReceiptDetailVMs/ReceiptDetailListVM2.cs @@ -35,15 +35,15 @@ namespace HHWMS.Web this.MakeGridHeader(x => x.UniqueCode).SetWidth(230), this.MakeGridHeader(x => x.MaterialCode), //this.MakeGridHeader(x => x.MaterialType), - //this.MakeGridHeader(x => x.MaterialName), + this.MakeGridHeader(x => x.MaterialName), //this.MakeGridHeader(x => x.MaterialSpec), - //this.MakeGridHeader(x => x.MaterialUnit), + this.MakeGridHeader(x => x.MaterialUnit), this.MakeGridHeader(x => x.Batch), //this.MakeGridHeader(x => x.Lot).SetHide(), //this.MakeGridHeader(x => x.ManufactureDate), //this.MakeGridHeader(x => x.ExpirationDate), //this.MakeGridHeader(x => x.CompanyCode), - //this.MakeGridHeader(x => x.SupplierCode), + this.MakeGridHeader(x => x.SupplierCode), this.MakeGridHeader(x => x.CompletedQty), this.MakeGridHeader(x => x.Qty), //this.MakeGridHeader(x => x.InventoryStatus), diff --git a/HHWMS.Web/Areas/Receipt/Views/ReceiptIn/Index.cshtml b/HHWMS.Web/Areas/Receipt/Views/ReceiptIn/Index.cshtml index 290f8a8..3203378 100644 --- a/HHWMS.Web/Areas/Receipt/Views/ReceiptIn/Index.cshtml +++ b/HHWMS.Web/Areas/Receipt/Views/ReceiptIn/Index.cshtml @@ -201,36 +201,29 @@ var _this = this; _this.form.size = ''; _this.form.boxSize = []; - if (Box == "L02") { - _this.form.boxSize = [{ label: "24mm", value: "24" }, { label: "16mm", value: "16" }, { label: "10mm", value: "10" }] - _this.dataIndex = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]; - } - else if (Box == "L01") { - _this.form.boxSize = [{ label: "8mm", value: "8" }]; - _this.form.size = _this.form.boxSize[0].value; - _this.dataIndex = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; - } - else { - _this.$message({ - message: '输入周转箱编码不正确!', + + if (this.form.code == '') { + this.$message({ + message: '请先选择单据!', type: 'warning' }); return; } - console.log(Box); + $.ajax({ type: "post", dataType: "json", data: { boxCode: Box }, url: "/receipt/ReceiptIn/ScanBox", success: function (json) { - console.log(json); if (json.Code != 200) { _this.$message({ message: "扫描失败!" + json.Msg, type: "warning", duration: "10000", }); + _this.form.boxCode = ""; + return false; } else { _this.$message({ @@ -239,6 +232,23 @@ duration: "10000", }); _this.$refs.uniqueCode.focus(); + + if (Box == "L02") { + _this.form.boxSize = [{ label: "24mm", value: "24" }, { label: "16mm", value: "16" }, { label: "10mm", value: "10" }] + _this.dataIndex = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]; + } + else if (Box == "L01") { + _this.form.boxSize = [{ label: "8mm", value: "8" }]; + _this.form.size = _this.form.boxSize[0].value; + _this.dataIndex = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; + } + else { + _this.$message({ + message: '输入周转箱编码不正确!', + type: 'warning' + }); + return; + } } }, error: function (json) { @@ -250,6 +260,8 @@ return; }, }); + + // 重新扫描箱号后,待绑定列表清空 _this.bindingData = []; _this.changeselect(_this.value); @@ -262,6 +274,13 @@ }, // 扫描唯一码 scanUniqueCode(data) { + if (this.form.code == '') { + this.$message({ + message: '请先选择单据!', + type: 'warning' + }); + return; + } if (this.dataIndex.length == 0) { this.$message({ message: '该周转箱已放满!', diff --git a/HHWMS.Web/Areas/Receipt/Views/ReceiptInOperation/Index.cshtml b/HHWMS.Web/Areas/Receipt/Views/ReceiptInOperation/Index.cshtml index 47e44aa..5df40f8 100644 --- a/HHWMS.Web/Areas/Receipt/Views/ReceiptInOperation/Index.cshtml +++ b/HHWMS.Web/Areas/Receipt/Views/ReceiptInOperation/Index.cshtml @@ -55,50 +55,23 @@ }, methods: { handleSelectionChange(val) { - console.log(22); - val.forEach(row => { - if (row.station == '') { - this.$refs.multipleTable.toggleRowSelection(row); - this.$message({ - message: "此周转箱没有选择站台!", - type: "warning", - duration: "5000", - }); - } - }); this.selectData = val; - let names = this.selectData.map(item => item["station"]); - let nameSet = new Set(names); - - if (nameSet.size != names.length) { - this.$message({ - message: "站台不能重复!", - type: "warning", - duration: "5000", - }); - this.$refs.multipleTable.clearSelection(); - this.selectData = []; - } - console.log(this.selectData); }, // 启动入库 inOperation() { - console.log(this.tableData) var _this = this; - for (var i = 0; i < _this.tableData.length; i++) { - if (_this.tableData[i].station == null || _this.tableData[i].station == "") { - this.$message({ - message: "必须全部选择!", - type: "warning", - duration: "5000", - }); - return; - } + if (_this.selectData.length < 1) { + this.$message({ + message: "至少选择一个站台!", + type: "warning", + duration: "5000", + }); + return; } $.ajax({ type: "post", dataType: "json", - data: { data: _this.tableData }, + data: { data: _this.selectData }, url: "/receipt/ReceiptInOperation/InOperation", success: function (json) { if (json.Code == 200) { @@ -107,6 +80,13 @@ type: "success", }); } + else { + _this.$message({ + message: json.Msg, + type: "warning", + duration: "1000", + }); + } }, error: function (json) { alert("加载失败"); diff --git a/HHWMS.Web/Areas/System/Controllers/jobs/SendWcsJob.cs b/HHWMS.Web/Areas/System/Controllers/jobs/SendWcsJob.cs index 3038874..c8402a9 100644 --- a/HHWMS.Web/Areas/System/Controllers/jobs/SendWcsJob.cs +++ b/HHWMS.Web/Areas/System/Controllers/jobs/SendWcsJob.cs @@ -67,9 +67,9 @@ namespace HHWMS.Web // 调用wcs任务下发接口 try { - //var res = Wtm.CallAPI>("WCS", "TaskAssign", HttpMethodEnum.POST, item).Result.Data; - if (true) - //if (res.Success) + var res = Wtm.CallAPI>("WCS", "TaskAssign", HttpMethodEnum.POST, item).Result.Data; + //if (true) + if (res.Success) { var locationList = _unitwork.Find(x => task.FromLocation.Equals(x.Code) || task.ToLocation.Equals(x.Code)).ToList(); var begin = locationList.FirstOrDefault(x => x.Code.Equals(task.FromLocation)); diff --git a/HHWMS.Web/Connected Services/ServiceReference1/ConnectedService.json b/HHWMS.Web/Connected Services/ServiceReference1/ConnectedService.json new file mode 100644 index 0000000..9548a57 --- /dev/null +++ b/HHWMS.Web/Connected Services/ServiceReference1/ConnectedService.json @@ -0,0 +1,217 @@ +{ + "ExtendedData": { + "inputs": [ + "E:/ZGF/Desktop/8357/intfBizOperation-service.serviceagent.wsdl" + ], + "collectionTypes": [ + "System.Array", + "System.Collections.Generic.Dictionary`2" + ], + "namespaceMappings": [ + "*, ServiceReference1" + ], + "references": [ + "Aliyun.OSS.Core, {Aliyun.OSS.SDK.NetCore, 2.13.0}", + "AutoMapper, {AutoMapper, 12.0.0}", + "AutoMapper.Extensions.Microsoft.DependencyInjection, {AutoMapper.Extensions.Microsoft.DependencyInjection, 12.0.0}", + "EfSchemaCompare, {EfCore.SchemaCompare, 6.0.0}", + "F:\\Repo\\8357WMS\\HHWMS.Web\\bin\\Debug\\net6.0\\WalkingTec.Mvvm.Core.dll", + "F:\\Repo\\8357WMS\\HHWMS.Web\\bin\\Debug\\net6.0\\WalkingTec.Mvvm.Mvc.dll", + "F:\\Repo\\8357WMS\\HHWMS.Web\\bin\\Debug\\net6.0\\WalkingTec.Mvvm.TagHelpers.LayUI.dll", + "Fare, {Fare, 2.1.2}", + "Google.Protobuf, {Google.Protobuf, 3.19.1}", + "Humanizer, {Humanizer.Core, 2.8.26}", + "ICSharpCode.SharpZipLib, {SharpZipLib, 1.2.0}", + "Microsoft.AspNetCore.Antiforgery, {Microsoft.AspNetCore.Antiforgery, 2.2.0}", + "Microsoft.AspNetCore.Authentication, {Microsoft.AspNetCore.Authentication, 2.2.0}", + "Microsoft.AspNetCore.Authentication.Abstractions, {Microsoft.AspNetCore.Authentication.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Authentication.Cookies, {Microsoft.AspNetCore.Authentication.Cookies, 2.2.0}", + "Microsoft.AspNetCore.Authentication.Core, {Microsoft.AspNetCore.Authentication.Core, 2.2.0}", + "Microsoft.AspNetCore.Authentication.JwtBearer, {Microsoft.AspNetCore.Authentication.JwtBearer, 6.0.0}", + "Microsoft.AspNetCore.Authorization, {Microsoft.AspNetCore.Authorization, 6.0.0}", + "Microsoft.AspNetCore.Authorization.Policy, {Microsoft.AspNetCore.Authorization.Policy, 2.2.0}", + "Microsoft.AspNetCore.Cryptography.Internal, {Microsoft.AspNetCore.Cryptography.Internal, 2.2.0}", + "Microsoft.AspNetCore.DataProtection, {Microsoft.AspNetCore.DataProtection, 2.2.0}", + "Microsoft.AspNetCore.DataProtection.Abstractions, {Microsoft.AspNetCore.DataProtection.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Diagnostics.Abstractions, {Microsoft.AspNetCore.Diagnostics.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Hosting.Abstractions, {Microsoft.AspNetCore.Hosting.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Hosting.Server.Abstractions, {Microsoft.AspNetCore.Hosting.Server.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Html.Abstractions, {Microsoft.AspNetCore.Html.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Http, {Microsoft.AspNetCore.Http, 2.2.0}", + "Microsoft.AspNetCore.Http.Abstractions, {Microsoft.AspNetCore.Http.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Http.Extensions, {Microsoft.AspNetCore.Http.Extensions, 2.2.0}", + "Microsoft.AspNetCore.Http.Features, {Microsoft.AspNetCore.Http.Features, 2.2.0}", + "Microsoft.AspNetCore.JsonPatch, {Microsoft.AspNetCore.JsonPatch, 2.2.0}", + "Microsoft.AspNetCore.Metadata, {Microsoft.AspNetCore.Metadata, 6.0.0}", + "Microsoft.AspNetCore.Mvc.Abstractions, {Microsoft.AspNetCore.Mvc.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Mvc.Core, {Microsoft.AspNetCore.Mvc.Core, 2.2.0}", + "Microsoft.AspNetCore.Mvc.DataAnnotations, {Microsoft.AspNetCore.Mvc.DataAnnotations, 2.2.0}", + "Microsoft.AspNetCore.Mvc.Formatters.Json, {Microsoft.AspNetCore.Mvc.Formatters.Json, 2.2.0}", + "Microsoft.AspNetCore.Mvc.Razor.Extensions, {Microsoft.AspNetCore.Mvc.Razor.Extensions, 6.0.0}", + "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation, {Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation, 6.0.0}", + "Microsoft.AspNetCore.Mvc.ViewFeatures, {Microsoft.AspNetCore.Mvc.ViewFeatures, 2.2.0}", + "Microsoft.AspNetCore.Razor, {Microsoft.AspNetCore.Razor, 2.2.0}", + "Microsoft.AspNetCore.Razor.Language, {Microsoft.AspNetCore.Razor.Language, 6.0.0}", + "Microsoft.AspNetCore.Razor.Runtime, {Microsoft.AspNetCore.Razor.Runtime, 2.2.0}", + "Microsoft.AspNetCore.ResponseCaching.Abstractions, {Microsoft.AspNetCore.ResponseCaching.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.Routing, {Microsoft.AspNetCore.Routing, 2.2.0}", + "Microsoft.AspNetCore.Routing.Abstractions, {Microsoft.AspNetCore.Routing.Abstractions, 2.2.0}", + "Microsoft.AspNetCore.SpaServices.Extensions, {Microsoft.AspNetCore.SpaServices.Extensions, 6.0.0}", + "Microsoft.AspNetCore.WebUtilities, {Microsoft.AspNetCore.WebUtilities, 2.2.0}", + "Microsoft.CodeAnalysis, {Microsoft.CodeAnalysis.Common, 4.0.0}", + "Microsoft.CodeAnalysis.CSharp, {Microsoft.CodeAnalysis.CSharp, 4.0.0}", + "Microsoft.CodeAnalysis.Razor, {Microsoft.CodeAnalysis.Razor, 6.0.0}", + "Microsoft.Data.SqlClient, {Microsoft.Data.SqlClient, 2.1.4}", + "Microsoft.Data.Sqlite, {Microsoft.Data.Sqlite.Core, 6.0.0}", + "Microsoft.EntityFrameworkCore, {Microsoft.EntityFrameworkCore, 6.0.11}", + "Microsoft.EntityFrameworkCore.Abstractions, {Microsoft.EntityFrameworkCore.Abstractions, 6.0.11}", + "Microsoft.EntityFrameworkCore.InMemory, {Microsoft.EntityFrameworkCore.InMemory, 6.0.0}", + "Microsoft.EntityFrameworkCore.Relational, {Microsoft.EntityFrameworkCore.Relational, 6.0.11}", + "Microsoft.EntityFrameworkCore.Sqlite, {Microsoft.EntityFrameworkCore.Sqlite.Core, 6.0.0}", + "Microsoft.EntityFrameworkCore.SqlServer, {Microsoft.EntityFrameworkCore.SqlServer, 6.0.0}", + "Microsoft.Extensions.Caching.Abstractions, {Microsoft.Extensions.Caching.Abstractions, 6.0.0}", + "Microsoft.Extensions.Caching.Memory, {Microsoft.Extensions.Caching.Memory, 6.0.1}", + "Microsoft.Extensions.Configuration, {Microsoft.Extensions.Configuration, 6.0.0}", + "Microsoft.Extensions.Configuration.Abstractions, {Microsoft.Extensions.Configuration.Abstractions, 6.0.0}", + "Microsoft.Extensions.Configuration.Binder, {Microsoft.Extensions.Configuration.Binder, 6.0.0}", + "Microsoft.Extensions.Configuration.EnvironmentVariables, {Microsoft.Extensions.Configuration.EnvironmentVariables, 6.0.0}", + "Microsoft.Extensions.Configuration.FileExtensions, {Microsoft.Extensions.Configuration.FileExtensions, 6.0.0}", + "Microsoft.Extensions.Configuration.Json, {Microsoft.Extensions.Configuration.Json, 6.0.0}", + "Microsoft.Extensions.DependencyInjection, {Microsoft.Extensions.DependencyInjection, 6.0.1}", + "Microsoft.Extensions.DependencyInjection.Abstractions, {Microsoft.Extensions.DependencyInjection.Abstractions, 6.0.0}", + "Microsoft.Extensions.DependencyModel, {Microsoft.Extensions.DependencyModel, 6.0.0}", + "Microsoft.Extensions.FileProviders.Abstractions, {Microsoft.Extensions.FileProviders.Abstractions, 6.0.0}", + "Microsoft.Extensions.FileProviders.Physical, {Microsoft.Extensions.FileProviders.Physical, 6.0.0}", + "Microsoft.Extensions.FileSystemGlobbing, {Microsoft.Extensions.FileSystemGlobbing, 6.0.0}", + "Microsoft.Extensions.Hosting.Abstractions, {Microsoft.Extensions.Hosting.Abstractions, 6.0.0}", + "Microsoft.Extensions.Http, {Microsoft.Extensions.Http, 6.0.0}", + "Microsoft.Extensions.Localization, {Microsoft.Extensions.Localization, 6.0.0}", + "Microsoft.Extensions.Localization.Abstractions, {Microsoft.Extensions.Localization.Abstractions, 6.0.0}", + "Microsoft.Extensions.Logging, {Microsoft.Extensions.Logging, 6.0.0}", + "Microsoft.Extensions.Logging.Abstractions, {Microsoft.Extensions.Logging.Abstractions, 6.0.0}", + "Microsoft.Extensions.Logging.Configuration, {Microsoft.Extensions.Logging.Configuration, 6.0.0}", + "Microsoft.Extensions.Logging.Console, {Microsoft.Extensions.Logging.Console, 6.0.0}", + "Microsoft.Extensions.Logging.Debug, {Microsoft.Extensions.Logging.Debug, 6.0.0}", + "Microsoft.Extensions.ObjectPool, {Microsoft.Extensions.ObjectPool, 2.2.0}", + "Microsoft.Extensions.Options, {Microsoft.Extensions.Options, 6.0.0}", + "Microsoft.Extensions.Options.ConfigurationExtensions, {Microsoft.Extensions.Options.ConfigurationExtensions, 6.0.0}", + "Microsoft.Extensions.Primitives, {Microsoft.Extensions.Primitives, 6.0.0}", + "Microsoft.Extensions.WebEncoders, {Microsoft.Extensions.WebEncoders, 2.2.0}", + "Microsoft.IdentityModel.JsonWebTokens, {Microsoft.IdentityModel.JsonWebTokens, 6.10.0}", + "Microsoft.IdentityModel.Logging, {Microsoft.IdentityModel.Logging, 6.10.0}", + "Microsoft.IdentityModel.Protocols, {Microsoft.IdentityModel.Protocols, 6.10.0}", + "Microsoft.IdentityModel.Protocols.OpenIdConnect, {Microsoft.IdentityModel.Protocols.OpenIdConnect, 6.10.0}", + "Microsoft.IdentityModel.Tokens, {Microsoft.IdentityModel.Tokens, 6.10.0}", + "Microsoft.Net.Http.Headers, {Microsoft.Net.Http.Headers, 2.2.0}", + "Microsoft.OpenApi, {Microsoft.OpenApi, 1.2.3}", + "Microsoft.Win32.Primitives, {Microsoft.Win32.Primitives, 4.3.0}", + "Microsoft.Win32.Registry, {Microsoft.Win32.Registry, 4.7.0}", + "Microsoft.Win32.SystemEvents, {Microsoft.Win32.SystemEvents, 6.0.0}", + "MySqlConnector, {MySqlConnector, 2.0.0}", + "Newtonsoft.Json, {Newtonsoft.Json, 13.0.1}", + "Newtonsoft.Json.Bson, {Newtonsoft.Json.Bson, 1.0.1}", + "Npgsql, {Npgsql, 6.0.1}", + "Npgsql.EntityFrameworkCore.PostgreSQL, {Npgsql.EntityFrameworkCore.PostgreSQL, 6.0.1}", + "NPOI, {DotNetCore.NPOI.Core, 1.2.3}", + "NPOI.OOXML, {DotNetCore.NPOI, 1.2.3}", + "NPOI.OpenXml4Net, {DotNetCore.NPOI.OpenXml4Net, 1.2.3}", + "NPOI.OpenXmlFormats, {DotNetCore.NPOI.OpenXmlFormats, 1.2.3}", + "Oracle.EntityFrameworkCore, {Oracle.EntityFrameworkCore, 6.21.4}", + "Oracle.ManagedDataAccess, {Oracle.ManagedDataAccess.Core, 3.21.41}", + "Pomelo.EntityFrameworkCore.MySql, {Pomelo.EntityFrameworkCore.MySql, 6.0.0}", + "protobuf-net, {protobuf-net, 3.2.26}", + "protobuf-net.Core, {protobuf-net.Core, 3.2.26}", + "Quartz, {Quartz, 3.4.0}", + "SixLabors.Fonts, {SixLabors.Fonts, 1.0.0-beta16}", + "SixLabors.ImageSharp, {SixLabors.ImageSharp, 2.1.0}", + "SixLabors.ImageSharp.Drawing, {SixLabors.ImageSharp.Drawing, 1.0.0-beta14}", + "SoapCore, {SoapCore, 1.1.0.38}", + "SQLitePCLRaw.batteries_v2, {SQLitePCLRaw.bundle_e_sqlite3, 2.0.6}", + "SQLitePCLRaw.core, {SQLitePCLRaw.core, 2.0.6}", + "SQLitePCLRaw.provider.e_sqlite3, {SQLitePCLRaw.provider.e_sqlite3, 2.0.6}", + "Swashbuckle.AspNetCore.Swagger, {Swashbuckle.AspNetCore.Swagger, 6.4.0}", + "Swashbuckle.AspNetCore.SwaggerGen, {Swashbuckle.AspNetCore.SwaggerGen, 6.4.0}", + "Swashbuckle.AspNetCore.SwaggerUI, {Swashbuckle.AspNetCore.SwaggerUI, 6.4.0}", + "System.AppContext, {System.AppContext, 4.3.0}", + "System.CodeDom, {System.CodeDom, 6.0.0}", + "System.Collections, {System.Collections, 4.3.0}", + "System.Collections.Concurrent, {System.Collections.Concurrent, 4.3.0}", + "System.Collections.Immutable, {System.Collections.Immutable, 7.0.0}", + "System.Collections.NonGeneric, {System.Collections.NonGeneric, 4.3.0}", + "System.Configuration.ConfigurationManager, {System.Configuration.ConfigurationManager, 6.0.0}", + "System.Console, {System.Console, 4.3.0}", + "System.Data.Common, {System.Data.Common, 4.3.0}", + "System.Diagnostics.Debug, {System.Diagnostics.Debug, 4.3.0}", + "System.Diagnostics.DiagnosticSource, {System.Diagnostics.DiagnosticSource, 6.0.0}", + "System.Diagnostics.PerformanceCounter, {System.Diagnostics.PerformanceCounter, 6.0.0}", + "System.Diagnostics.Tools, {System.Diagnostics.Tools, 4.3.0}", + "System.Diagnostics.Tracing, {System.Diagnostics.Tracing, 4.3.0}", + "System.DirectoryServices, {System.DirectoryServices, 5.0.0}", + "System.DirectoryServices.Protocols, {System.DirectoryServices.Protocols, 5.0.1}", + "System.Drawing.Common, {System.Drawing.Common, 6.0.0}", + "System.Globalization, {System.Globalization, 4.3.0}", + "System.Globalization.Calendars, {System.Globalization.Calendars, 4.3.0}", + "System.IdentityModel.Tokens.Jwt, {System.IdentityModel.Tokens.Jwt, 6.10.0}", + "System.IO, {System.IO, 4.3.0}", + "System.IO.Compression, {System.IO.Compression, 4.3.0}", + "System.IO.Compression.ZipFile, {System.IO.Compression.ZipFile, 4.3.0}", + "System.IO.FileSystem, {System.IO.FileSystem, 4.3.0}", + "System.IO.FileSystem.AccessControl, {System.IO.FileSystem.AccessControl, 5.0.0}", + "System.IO.FileSystem.Primitives, {System.IO.FileSystem.Primitives, 4.3.0}", + "System.Linq, {System.Linq, 4.3.0}", + "System.Linq.Expressions, {System.Linq.Expressions, 4.3.0}", + "System.Linq.Queryable, {System.Linq.Queryable, 4.3.0}", + "System.Net.Http, {System.Net.Http, 4.3.0}", + "System.Net.Primitives, {System.Net.Primitives, 4.3.0}", + "System.Net.Sockets, {System.Net.Sockets, 4.3.0}", + "System.ObjectModel, {System.ObjectModel, 4.3.0}", + "System.Reflection, {System.Reflection, 4.3.0}", + "System.Reflection.DispatchProxy, {System.Reflection.DispatchProxy, 4.7.1}", + "System.Reflection.Extensions, {System.Reflection.Extensions, 4.3.0}", + "System.Reflection.Metadata, {System.Reflection.Metadata, 5.0.0}", + "System.Reflection.Primitives, {System.Reflection.Primitives, 4.3.0}", + "System.Resources.ResourceManager, {System.Resources.ResourceManager, 4.3.0}", + "System.Runtime, {System.Runtime, 4.3.0}", + "System.Runtime.CompilerServices.Unsafe, {System.Runtime.CompilerServices.Unsafe, 6.0.0}", + "System.Runtime.Extensions, {System.Runtime.Extensions, 4.3.0}", + "System.Runtime.Handles, {System.Runtime.Handles, 4.3.0}", + "System.Runtime.InteropServices, {System.Runtime.InteropServices, 4.3.0}", + "System.Runtime.InteropServices.RuntimeInformation, {System.Runtime.InteropServices.RuntimeInformation, 4.3.0}", + "System.Runtime.Loader, {System.Runtime.Loader, 4.3.0}", + "System.Runtime.Numerics, {System.Runtime.Numerics, 4.3.0}", + "System.Security.AccessControl, {System.Security.AccessControl, 6.0.0}", + "System.Security.Cryptography.Algorithms, {System.Security.Cryptography.Algorithms, 4.3.0}", + "System.Security.Cryptography.Cng, {System.Security.Cryptography.Cng, 4.7.0}", + "System.Security.Cryptography.Encoding, {System.Security.Cryptography.Encoding, 4.3.0}", + "System.Security.Cryptography.Primitives, {System.Security.Cryptography.Primitives, 4.3.0}", + "System.Security.Cryptography.ProtectedData, {System.Security.Cryptography.ProtectedData, 6.0.0}", + "System.Security.Cryptography.X509Certificates, {System.Security.Cryptography.X509Certificates, 4.3.0}", + "System.Security.Cryptography.Xml, {System.Security.Cryptography.Xml, 4.7.0}", + "System.Security.Permissions, {System.Security.Permissions, 6.0.0}", + "System.Security.Principal.Windows, {System.Security.Principal.Windows, 5.0.0}", + "System.ServiceModel, {System.ServiceModel.Primitives, 4.8.1}", + "System.ServiceModel.Http, {System.ServiceModel.Http, 4.8.1}", + "System.ServiceModel.Primitives, {System.ServiceModel.Primitives, 4.8.1}", + "System.Text.Encoding, {System.Text.Encoding, 4.3.0}", + "System.Text.Encoding.CodePages, {System.Text.Encoding.CodePages, 5.0.0}", + "System.Text.Encoding.Extensions, {System.Text.Encoding.Extensions, 4.3.0}", + "System.Text.Encodings.Web, {System.Text.Encodings.Web, 6.0.0}", + "System.Text.Json, {System.Text.Json, 6.0.0}", + "System.Text.RegularExpressions, {System.Text.RegularExpressions, 4.3.0}", + "System.Threading, {System.Threading, 4.3.0}", + "System.Threading.Tasks, {System.Threading.Tasks, 4.3.0}", + "System.Threading.Timer, {System.Threading.Timer, 4.3.0}", + "System.Windows.Extensions, {System.Windows.Extensions, 6.0.0}", + "System.Xml.ReaderWriter, {System.Xml.ReaderWriter, 4.3.0}", + "System.Xml.XDocument, {System.Xml.XDocument, 4.3.0}", + "System.Xml.XPath, {System.Xml.XPath, 4.3.0}", + "VueCliMiddleware, {VueCliMiddleware, 6.0.0}", + "Z.EntityFramework.Extensions.EFCore, {Z.EntityFramework.Extensions.EFCore, 6.16.1}", + "Z.EntityFramework.Plus.EFCore, {Z.EntityFramework.Plus.EFCore, 6.16.1}", + "Z.Expressions.Eval, {Z.Expressions.Eval, 4.0.89}" + ], + "sync": true, + "targetFramework": "net6.0", + "typeReuseMode": "All" + } +} \ No newline at end of file diff --git a/HHWMS.Web/Connected Services/ServiceReference1/Reference.cs b/HHWMS.Web/Connected Services/ServiceReference1/Reference.cs new file mode 100644 index 0000000..89bafb0 --- /dev/null +++ b/HHWMS.Web/Connected Services/ServiceReference1/Reference.cs @@ -0,0 +1,1186 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,并在以下条件下丢失: +// 代码重新生成。 +// +//------------------------------------------------------------------------------ + +namespace ServiceReference1 +{ + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://xmlns.example.com/1343884020694", ConfigurationName="ServiceReference1.portType")] + public interface portType + { + + [System.ServiceModel.OperationContractAttribute(Action="/Services/MFT_Service/intfBizOperation-service.serviceagent//bizOperationV1", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + ServiceReference1.bizOperationV1Response bizOperationV1(ServiceReference1.bizOperationV1Request request); + + // CODEGEN: 正在生成消息协定,因为操作具有多个返回值。 + [System.ServiceModel.OperationContractAttribute(Action="/Services/MFT_Service/intfBizOperation-service.serviceagent//bizOperationV1", ReplyAction="*")] + System.Threading.Tasks.Task bizOperationV1Async(ServiceReference1.bizOperationV1Request request); + + // CODEGEN: 正在生成消息协定,因为消息 fileTransferOperationRequest 的包装器命名空间(http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd)与默认值(http://xmlns.example.com/1343884020694)不匹配 + [System.ServiceModel.OperationContractAttribute(Action="/Services/MFT_Service/intfBizOperation-service.serviceagent/intfwsBizOperationEnd" + + "point0/fileTransferOperation", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + ServiceReference1.fileTransferOperationResponse fileTransferOperation(ServiceReference1.fileTransferOperationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="/Services/MFT_Service/intfBizOperation-service.serviceagent/intfwsBizOperationEnd" + + "point0/fileTransferOperation", ReplyAction="*")] + System.Threading.Tasks.Task fileTransferOperationAsync(ServiceReference1.fileTransferOperationRequest request); + + // CODEGEN: 正在生成消息协定,因为操作 fileTransferStatusUpdateOperation 既不是 RPC 也不是文档包装样式。 + [System.ServiceModel.OperationContractAttribute(Action="/Services/MFT_Service/intfBizOperation-service.serviceagent//fileTransferStatusUp" + + "dateOperation", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + ServiceReference1.fileTransferStatusUpdateOperationResponse fileTransferStatusUpdateOperation(ServiceReference1.fileTransferStatusUpdateOperationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="/Services/MFT_Service/intfBizOperation-service.serviceagent//fileTransferStatusUp" + + "dateOperation", ReplyAction="*")] + System.Threading.Tasks.Task fileTransferStatusUpdateOperationAsync(ServiceReference1.fileTransferStatusUpdateOperationRequest request); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ServiceModel.MessageContractAttribute(WrapperName="BizOperation_Req", WrapperNamespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", IsWrapped=true)] + public partial class bizOperationV1Request + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=0)] + public string fromUnit; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=1)] + public string toUnit; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=2)] + public string fromSys; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=3)] + public string toSys; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=4)] + public string bizOperation; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=5)] + public string key; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=6)] + public string bizData; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=7)] + public string ESBInitorUnit; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=8)] + public string RemoteReqId; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=9)] + public string OverToUnits; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=10)] + public string Op1; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=11)] + public string Op2; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=12)] + public string Op3; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=13)] + public string Op4; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=14)] + public string Op5; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=15)] + public string Op6; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=16)] + public string Op7; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=17)] + public string Op8; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=18)] + public string Op9; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=19)] + public string Op10; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=20)] + public string Op11; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=21)] + public string Op12; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=22)] + public string Op13; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=23)] + public string Op14; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=24)] + public string Op15; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=25)] + public string Op16; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=26)] + public string Op17; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=27)] + public string Op18; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=28)] + public string Op19; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=29)] + public string Op20; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=30)] + public string Op21; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=31)] + public string Op22; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=32)] + public string Op23; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=33)] + public string Op24; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=34)] + public string Op25; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=35)] + public string Op26; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=36)] + public string Op27; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=37)] + public string Op28; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=38)] + public string Op29; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=39)] + public string Op30; + + public bizOperationV1Request() + { + } + + public bizOperationV1Request( + string fromUnit, + string toUnit, + string fromSys, + string toSys, + string bizOperation, + string key, + string bizData, + string ESBInitorUnit, + string RemoteReqId, + string OverToUnits, + string Op1, + string Op2, + string Op3, + string Op4, + string Op5, + string Op6, + string Op7, + string Op8, + string Op9, + string Op10, + string Op11, + string Op12, + string Op13, + string Op14, + string Op15, + string Op16, + string Op17, + string Op18, + string Op19, + string Op20, + string Op21, + string Op22, + string Op23, + string Op24, + string Op25, + string Op26, + string Op27, + string Op28, + string Op29, + string Op30) + { + this.fromUnit = fromUnit; + this.toUnit = toUnit; + this.fromSys = fromSys; + this.toSys = toSys; + this.bizOperation = bizOperation; + this.key = key; + this.bizData = bizData; + this.ESBInitorUnit = ESBInitorUnit; + this.RemoteReqId = RemoteReqId; + this.OverToUnits = OverToUnits; + this.Op1 = Op1; + this.Op2 = Op2; + this.Op3 = Op3; + this.Op4 = Op4; + this.Op5 = Op5; + this.Op6 = Op6; + this.Op7 = Op7; + this.Op8 = Op8; + this.Op9 = Op9; + this.Op10 = Op10; + this.Op11 = Op11; + this.Op12 = Op12; + this.Op13 = Op13; + this.Op14 = Op14; + this.Op15 = Op15; + this.Op16 = Op16; + this.Op17 = Op17; + this.Op18 = Op18; + this.Op19 = Op19; + this.Op20 = Op20; + this.Op21 = Op21; + this.Op22 = Op22; + this.Op23 = Op23; + this.Op24 = Op24; + this.Op25 = Op25; + this.Op26 = Op26; + this.Op27 = Op27; + this.Op28 = Op28; + this.Op29 = Op29; + this.Op30 = Op30; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ServiceModel.MessageContractAttribute(WrapperName="Result", WrapperNamespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", IsWrapped=true)] + public partial class bizOperationV1Response + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=0)] + public string Status; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=1)] + public string Message; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=2)] + public string BizData; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=3)] + public string ReqId; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=4)] + public string ErrorCode; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=5)] + public string OverToUnits; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/BizOperation_Req.xsd", Order=6)] + public string ActivityName; + + public bizOperationV1Response() + { + } + + public bizOperationV1Response(string Status, string Message, string BizData, string ReqId, string ErrorCode, string OverToUnits, string ActivityName) + { + this.Status = Status; + this.Message = Message; + this.BizData = BizData; + this.ReqId = ReqId; + this.ErrorCode = ErrorCode; + this.OverToUnits = OverToUnits; + this.ActivityName = ActivityName; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="FileTransferOperation_Req", WrapperNamespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", IsWrapped=true)] + public partial class fileTransferOperationRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=0)] + public string fromUnit; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=1)] + public string toUnit; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=2)] + public string fromSys; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=3)] + public string toSys; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=4)] + public string sourceFileName; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=5)] + public string bizData; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=6)] + public string fileTransferFeedbackOp; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=7)] + public string secrets; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=8)] + public int phase; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=9)] + public string requestId; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=10)] + public string overToUnits; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=11)] + public string ESBInitorUnit; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=12)] + public bool finish; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Req.xsd", Order=13)] + public string key; + + public fileTransferOperationRequest() + { + } + + public fileTransferOperationRequest(string fromUnit, string toUnit, string fromSys, string toSys, string sourceFileName, string bizData, string fileTransferFeedbackOp, string secrets, int phase, string requestId, string overToUnits, string ESBInitorUnit, bool finish, string key) + { + this.fromUnit = fromUnit; + this.toUnit = toUnit; + this.fromSys = fromSys; + this.toSys = toSys; + this.sourceFileName = sourceFileName; + this.bizData = bizData; + this.fileTransferFeedbackOp = fileTransferFeedbackOp; + this.secrets = secrets; + this.phase = phase; + this.requestId = requestId; + this.overToUnits = overToUnits; + this.ESBInitorUnit = ESBInitorUnit; + this.finish = finish; + this.key = key; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName="FileTransferOperation_Res", WrapperNamespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Res.xsd", IsWrapped=true)] + public partial class fileTransferOperationResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW/Schemas/FileTransferOperation_Res.xsd", Order=0)] + public string result; + + public fileTransferOperationResponse() + { + } + + public fileTransferOperationResponse(string result) + { + this.result = result; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.tibco.com/schemas/MFT_BW_V1.8_20131224/Schemas/Schema.xsd")] + public partial class FileTransferResultRequestMsg + { + + private string fromUnitField; + + private string toUnitField; + + private string fromSysField; + + private string toSysField; + + private string filenameField; + + private string feedback_opField; + + private string secretsField; + + private string request_idField; + + private string statusField; + + private int redotimeField; + + private bool redotimeFieldSpecified; + + private int phaseField; + + private bool phaseFieldSpecified; + + private string execute_domainField; + + private string errormsgField; + + private System.DateTime send_dateField; + + private bool send_dateFieldSpecified; + + private System.DateTime complete_dateField; + + private bool complete_dateFieldSpecified; + + private string overToUnitsField; + + private string eSBInitorUnitField; + + private bool finishField; + + private bool finishFieldSpecified; + + private string errorCodeField; + + private string keyField; + + private string activityNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string fromUnit + { + get + { + return this.fromUnitField; + } + set + { + this.fromUnitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string toUnit + { + get + { + return this.toUnitField; + } + set + { + this.toUnitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string fromSys + { + get + { + return this.fromSysField; + } + set + { + this.fromSysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string toSys + { + get + { + return this.toSysField; + } + set + { + this.toSysField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public string filename + { + get + { + return this.filenameField; + } + set + { + this.filenameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=5)] + public string feedback_op + { + get + { + return this.feedback_opField; + } + set + { + this.feedback_opField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=6)] + public string secrets + { + get + { + return this.secretsField; + } + set + { + this.secretsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=7)] + public string request_id + { + get + { + return this.request_idField; + } + set + { + this.request_idField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=8)] + public string status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=9)] + public int redotime + { + get + { + return this.redotimeField; + } + set + { + this.redotimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool redotimeSpecified + { + get + { + return this.redotimeFieldSpecified; + } + set + { + this.redotimeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=10)] + public int phase + { + get + { + return this.phaseField; + } + set + { + this.phaseField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool phaseSpecified + { + get + { + return this.phaseFieldSpecified; + } + set + { + this.phaseFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=11)] + public string execute_domain + { + get + { + return this.execute_domainField; + } + set + { + this.execute_domainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=12)] + public string errormsg + { + get + { + return this.errormsgField; + } + set + { + this.errormsgField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=13)] + public System.DateTime send_date + { + get + { + return this.send_dateField; + } + set + { + this.send_dateField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool send_dateSpecified + { + get + { + return this.send_dateFieldSpecified; + } + set + { + this.send_dateFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=14)] + public System.DateTime complete_date + { + get + { + return this.complete_dateField; + } + set + { + this.complete_dateField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool complete_dateSpecified + { + get + { + return this.complete_dateFieldSpecified; + } + set + { + this.complete_dateFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=15)] + public string overToUnits + { + get + { + return this.overToUnitsField; + } + set + { + this.overToUnitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=16)] + public string ESBInitorUnit + { + get + { + return this.eSBInitorUnitField; + } + set + { + this.eSBInitorUnitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=17)] + public bool finish + { + get + { + return this.finishField; + } + set + { + this.finishField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool finishSpecified + { + get + { + return this.finishFieldSpecified; + } + set + { + this.finishFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=18)] + public string ErrorCode + { + get + { + return this.errorCodeField; + } + set + { + this.errorCodeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=19)] + public string key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=20)] + public string ActivityName + { + get + { + return this.activityNameField; + } + set + { + this.activityNameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.tibco.com/schemas/MFT_BW_V1.8_20131224/Schemas/Schema.xsd2")] + public partial class IEResponse + { + + private string statusField; + + private string messageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string message + { + get + { + return this.messageField; + } + set + { + this.messageField = value; + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class fileTransferStatusUpdateOperationRequest + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW_V1.8_20131224/Schemas/Schema.xsd", Order=0)] + public ServiceReference1.FileTransferResultRequestMsg FileTransferResultRequestMsg; + + public fileTransferStatusUpdateOperationRequest() + { + } + + public fileTransferStatusUpdateOperationRequest(ServiceReference1.FileTransferResultRequestMsg FileTransferResultRequestMsg) + { + this.FileTransferResultRequestMsg = FileTransferResultRequestMsg; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class fileTransferStatusUpdateOperationResponse + { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.tibco.com/schemas/MFT_BW_V1.8_20131224/Schemas/Schema.xsd2", Order=0)] + public ServiceReference1.IEResponse IEResponse; + + public fileTransferStatusUpdateOperationResponse() + { + } + + public fileTransferStatusUpdateOperationResponse(ServiceReference1.IEResponse IEResponse) + { + this.IEResponse = IEResponse; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + public interface portTypeChannel : ServiceReference1.portType, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] + public partial class portTypeClient : System.ServiceModel.ClientBase, ServiceReference1.portType + { + + /// + /// 实现此分部方法,配置服务终结点。 + /// + /// 要配置的终结点 + /// 客户端凭据 + static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials); + + public portTypeClient() : + base(portTypeClient.GetDefaultBinding(), portTypeClient.GetDefaultEndpointAddress()) + { + this.Endpoint.Name = EndpointConfiguration.intfwsBizOperationEndpoint0.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public portTypeClient(EndpointConfiguration endpointConfiguration) : + base(portTypeClient.GetBindingForEndpoint(endpointConfiguration), portTypeClient.GetEndpointAddress(endpointConfiguration)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public portTypeClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : + base(portTypeClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress)) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public portTypeClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : + base(portTypeClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) + { + this.Endpoint.Name = endpointConfiguration.ToString(); + ConfigureEndpoint(this.Endpoint, this.ClientCredentials); + } + + public portTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + ServiceReference1.bizOperationV1Response ServiceReference1.portType.bizOperationV1(ServiceReference1.bizOperationV1Request request) + { + return base.Channel.bizOperationV1(request); + } + + public string bizOperationV1( + string fromUnit, + string toUnit, + string fromSys, + string toSys, + string bizOperation, + string key, + string bizData, + string ESBInitorUnit, + string RemoteReqId, + ref string OverToUnits, + string Op1, + string Op2, + string Op3, + string Op4, + string Op5, + string Op6, + string Op7, + string Op8, + string Op9, + string Op10, + string Op11, + string Op12, + string Op13, + string Op14, + string Op15, + string Op16, + string Op17, + string Op18, + string Op19, + string Op20, + string Op21, + string Op22, + string Op23, + string Op24, + string Op25, + string Op26, + string Op27, + string Op28, + string Op29, + string Op30, + out string Message, + out string BizData1, + out string ReqId, + out string ErrorCode, + out string ActivityName) + { + ServiceReference1.bizOperationV1Request inValue = new ServiceReference1.bizOperationV1Request(); + inValue.fromUnit = fromUnit; + inValue.toUnit = toUnit; + inValue.fromSys = fromSys; + inValue.toSys = toSys; + inValue.bizOperation = bizOperation; + inValue.key = key; + inValue.bizData = bizData; + inValue.ESBInitorUnit = ESBInitorUnit; + inValue.RemoteReqId = RemoteReqId; + inValue.OverToUnits = OverToUnits; + inValue.Op1 = Op1; + inValue.Op2 = Op2; + inValue.Op3 = Op3; + inValue.Op4 = Op4; + inValue.Op5 = Op5; + inValue.Op6 = Op6; + inValue.Op7 = Op7; + inValue.Op8 = Op8; + inValue.Op9 = Op9; + inValue.Op10 = Op10; + inValue.Op11 = Op11; + inValue.Op12 = Op12; + inValue.Op13 = Op13; + inValue.Op14 = Op14; + inValue.Op15 = Op15; + inValue.Op16 = Op16; + inValue.Op17 = Op17; + inValue.Op18 = Op18; + inValue.Op19 = Op19; + inValue.Op20 = Op20; + inValue.Op21 = Op21; + inValue.Op22 = Op22; + inValue.Op23 = Op23; + inValue.Op24 = Op24; + inValue.Op25 = Op25; + inValue.Op26 = Op26; + inValue.Op27 = Op27; + inValue.Op28 = Op28; + inValue.Op29 = Op29; + inValue.Op30 = Op30; + ServiceReference1.bizOperationV1Response retVal = ((ServiceReference1.portType)(this)).bizOperationV1(inValue); + Message = retVal.Message; + BizData1 = retVal.BizData; + ReqId = retVal.ReqId; + ErrorCode = retVal.ErrorCode; + OverToUnits = retVal.OverToUnits; + ActivityName = retVal.ActivityName; + return retVal.Status; + } + + public System.Threading.Tasks.Task bizOperationV1Async(ServiceReference1.bizOperationV1Request request) + { + return base.Channel.bizOperationV1Async(request); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + ServiceReference1.fileTransferOperationResponse ServiceReference1.portType.fileTransferOperation(ServiceReference1.fileTransferOperationRequest request) + { + return base.Channel.fileTransferOperation(request); + } + + public string fileTransferOperation(string fromUnit, string toUnit, string fromSys, string toSys, string sourceFileName, string bizData, string fileTransferFeedbackOp, string secrets, int phase, string requestId, string overToUnits, string ESBInitorUnit, bool finish, string key) + { + ServiceReference1.fileTransferOperationRequest inValue = new ServiceReference1.fileTransferOperationRequest(); + inValue.fromUnit = fromUnit; + inValue.toUnit = toUnit; + inValue.fromSys = fromSys; + inValue.toSys = toSys; + inValue.sourceFileName = sourceFileName; + inValue.bizData = bizData; + inValue.fileTransferFeedbackOp = fileTransferFeedbackOp; + inValue.secrets = secrets; + inValue.phase = phase; + inValue.requestId = requestId; + inValue.overToUnits = overToUnits; + inValue.ESBInitorUnit = ESBInitorUnit; + inValue.finish = finish; + inValue.key = key; + ServiceReference1.fileTransferOperationResponse retVal = ((ServiceReference1.portType)(this)).fileTransferOperation(inValue); + return retVal.result; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task ServiceReference1.portType.fileTransferOperationAsync(ServiceReference1.fileTransferOperationRequest request) + { + return base.Channel.fileTransferOperationAsync(request); + } + + public System.Threading.Tasks.Task fileTransferOperationAsync(string fromUnit, string toUnit, string fromSys, string toSys, string sourceFileName, string bizData, string fileTransferFeedbackOp, string secrets, int phase, string requestId, string overToUnits, string ESBInitorUnit, bool finish, string key) + { + ServiceReference1.fileTransferOperationRequest inValue = new ServiceReference1.fileTransferOperationRequest(); + inValue.fromUnit = fromUnit; + inValue.toUnit = toUnit; + inValue.fromSys = fromSys; + inValue.toSys = toSys; + inValue.sourceFileName = sourceFileName; + inValue.bizData = bizData; + inValue.fileTransferFeedbackOp = fileTransferFeedbackOp; + inValue.secrets = secrets; + inValue.phase = phase; + inValue.requestId = requestId; + inValue.overToUnits = overToUnits; + inValue.ESBInitorUnit = ESBInitorUnit; + inValue.finish = finish; + inValue.key = key; + return ((ServiceReference1.portType)(this)).fileTransferOperationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + ServiceReference1.fileTransferStatusUpdateOperationResponse ServiceReference1.portType.fileTransferStatusUpdateOperation(ServiceReference1.fileTransferStatusUpdateOperationRequest request) + { + return base.Channel.fileTransferStatusUpdateOperation(request); + } + + public ServiceReference1.IEResponse fileTransferStatusUpdateOperation(ServiceReference1.FileTransferResultRequestMsg FileTransferResultRequestMsg) + { + ServiceReference1.fileTransferStatusUpdateOperationRequest inValue = new ServiceReference1.fileTransferStatusUpdateOperationRequest(); + inValue.FileTransferResultRequestMsg = FileTransferResultRequestMsg; + ServiceReference1.fileTransferStatusUpdateOperationResponse retVal = ((ServiceReference1.portType)(this)).fileTransferStatusUpdateOperation(inValue); + return retVal.IEResponse; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task ServiceReference1.portType.fileTransferStatusUpdateOperationAsync(ServiceReference1.fileTransferStatusUpdateOperationRequest request) + { + return base.Channel.fileTransferStatusUpdateOperationAsync(request); + } + + public System.Threading.Tasks.Task fileTransferStatusUpdateOperationAsync(ServiceReference1.FileTransferResultRequestMsg FileTransferResultRequestMsg) + { + ServiceReference1.fileTransferStatusUpdateOperationRequest inValue = new ServiceReference1.fileTransferStatusUpdateOperationRequest(); + inValue.FileTransferResultRequestMsg = FileTransferResultRequestMsg; + return ((ServiceReference1.portType)(this)).fileTransferStatusUpdateOperationAsync(inValue); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.intfwsBizOperationEndpoint0)) + { + System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding(); + result.MaxBufferSize = int.MaxValue; + result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max; + result.MaxReceivedMessageSize = int.MaxValue; + result.AllowCookies = true; + return result; + } + throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration)); + } + + private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration) + { + if ((endpointConfiguration == EndpointConfiguration.intfwsBizOperationEndpoint0)) + { + return new System.ServiceModel.EndpointAddress("http://10.18.108.53:40274/Services/MFT_Service/intfBizOperation-service.serviceag" + + "ent/intfwsBizOperationEndpoint0"); + } + throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration)); + } + + private static System.ServiceModel.Channels.Binding GetDefaultBinding() + { + return portTypeClient.GetBindingForEndpoint(EndpointConfiguration.intfwsBizOperationEndpoint0); + } + + private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() + { + return portTypeClient.GetEndpointAddress(EndpointConfiguration.intfwsBizOperationEndpoint0); + } + + public enum EndpointConfiguration + { + + intfwsBizOperationEndpoint0, + } + } +} diff --git a/HHWMS.Web/DataContext.cs b/HHWMS.Web/DataContext.cs index 3556f42..af4365c 100644 --- a/HHWMS.Web/DataContext.cs +++ b/HHWMS.Web/DataContext.cs @@ -53,6 +53,7 @@ namespace HHWMS.Web public DbSet ShipmentDetailHistories { get; set; } public DbSet ReportDesigns { get; set; } public DbSet Materials { get; set; } + public DbSet MaterialQrs { get; set; } public override async Task DataInit(object allModules, bool IsSpa) { var state = await base.DataInit(allModules, IsSpa); diff --git a/HHWMS.Web/HHWMS.Web.csproj b/HHWMS.Web/HHWMS.Web.csproj index 040dd32..d4cb24a 100644 --- a/HHWMS.Web/HHWMS.Web.csproj +++ b/HHWMS.Web/HHWMS.Web.csproj @@ -44,6 +44,11 @@ + + + + + diff --git a/HHWMS.Web/MESToWMSService/WmsMesService.cs b/HHWMS.Web/MESToWMSService/WmsMesService.cs index fe7e7d6..312f8fc 100644 --- a/HHWMS.Web/MESToWMSService/WmsMesService.cs +++ b/HHWMS.Web/MESToWMSService/WmsMesService.cs @@ -81,14 +81,14 @@ namespace MESTOWMSService var detail = new ShipmentDetail { UniqueCode = item.SN, - MaterialCode = material.MaterialCode, - MaterialName = material.MaterialName, - MaterialSpec = material.MaterialSpec, - MaterialType = material.MaterialType, - MaterialUnit = material.MaterialUnit, - Batch = material.Batch, - Qty = material.Qty, - CompanyCode = item.FACTORY, + MaterialCode = material?.MaterialCode, + MaterialName = material?.MaterialName, + MaterialSpec = material?.MaterialSpec, + MaterialType = material?.MaterialType, + MaterialUnit = material?.MaterialUnit, + Batch = material?.Batch, + Qty = material?.Qty, + CompanyCode = item?.FACTORY, ManufactureDate = Convert.ToDateTime(item.MESDATE), Status = ShipStatusEnum.新建, CreateTime = DateTime.Now diff --git a/HHWMS.Web/Models/Configs/MaterialQr.cs b/HHWMS.Web/Models/Configs/MaterialQr.cs new file mode 100644 index 0000000..cbc9960 --- /dev/null +++ b/HHWMS.Web/Models/Configs/MaterialQr.cs @@ -0,0 +1,25 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using WalkingTec.Mvvm.Core; + +namespace HHWMS.Web.Models +{ + /// + /// 物料二维码 唯一码对照表 + /// + [Table("Materialqr")] + public class MaterialQr : BasePoco + { + [Key] + [DatabaseGenerated(DatabaseGeneratedOption.Identity)] + public new int ID { get; set; } + + [Display(Name = "Inventory.QRCode", Description = "二维码")] + [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] + public string QRCode { get; set; } + + [Display(Name = "Inventory.UniqueCode", Description = "唯一码")] + [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] + public string UniqueCode { get; set; } + } +} diff --git a/HHWMS.Web/Models/Request/Request/RequestMes.cs b/HHWMS.Web/Models/Request/Request/RequestMes.cs index 9de8ed6..0cc989d 100644 --- a/HHWMS.Web/Models/Request/Request/RequestMes.cs +++ b/HHWMS.Web/Models/Request/Request/RequestMes.cs @@ -148,6 +148,48 @@ namespace HHWMS.Web /// public OUTWMS OUTWMS { get; set; } } + public class INITEMItem + { + /// + /// + /// + public string ERPSN { get; set; } + /// + /// + /// + public string QTY { get; set; } + /// + /// + /// + public string TYPE { get; set; } + /// + /// + /// + public string WMSSN { get; set; } + } + public class INITEMS + { + /// + /// + /// + public List INITEM { get; set; } + } + + public class INWMS + { + /// + /// + /// + public INITEMS INITEMS { get; set; } + } + + public class InStore + { + /// + /// + /// + public INWMS INWMS { get; set; } + } } diff --git a/HHWMS.Web/Resources/Program.zh.resx b/HHWMS.Web/Resources/Program.zh.resx index 98f1564..df5b3c9 100644 --- a/HHWMS.Web/Resources/Program.zh.resx +++ b/HHWMS.Web/Resources/Program.zh.resx @@ -1371,4 +1371,7 @@ 启动出库 + + 回传 +