Merge branch 'master' of https://github.com/djChika/ELT.Gateway into master
This commit is contained in:
commit
22c3340081
@ -1,9 +1,4 @@
|
||||
{
|
||||
"ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf",
|
||||
"Version": "15.0.40203.910",
|
||||
"GettingStartedDocument": {
|
||||
"Uri": "https://go.microsoft.com/fwlink/?linkid=858517"
|
||||
},
|
||||
{
|
||||
"ExtendedData": {
|
||||
"inputs": [
|
||||
"http://evolucia.elt-poisk.com/soap.php?wsdl"
|
||||
@ -15,14 +10,6 @@
|
||||
"namespaceMappings": [
|
||||
"*, ELTKasko"
|
||||
],
|
||||
"references": [
|
||||
"System.ServiceModel, {System.ServiceModel.Primitives, 4.4.4}",
|
||||
"System.ServiceModel.Duplex, {System.ServiceModel.Duplex, 4.4.4}",
|
||||
"System.ServiceModel.Http, {System.ServiceModel.Http, 4.4.4}",
|
||||
"System.ServiceModel.NetTcp, {System.ServiceModel.NetTcp, 4.4.4}",
|
||||
"System.ServiceModel.Primitives, {System.ServiceModel.Primitives, 4.4.4}",
|
||||
"System.ServiceModel.Security, {System.ServiceModel.Security, 4.4.4}"
|
||||
],
|
||||
"sync": true,
|
||||
"targetFramework": "netcoreapp3.1",
|
||||
"typeReuseMode": "All"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,4 @@
|
||||
{
|
||||
"ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf",
|
||||
"Version": "15.0.40203.910",
|
||||
"GettingStartedDocument": {
|
||||
"Uri": "https://go.microsoft.com/fwlink/?linkid=858517"
|
||||
},
|
||||
{
|
||||
"ExtendedData": {
|
||||
"inputs": [
|
||||
"http://evolucia.elt-poisk.com/soaposago.php?wsdl"
|
||||
@ -15,14 +10,6 @@
|
||||
"namespaceMappings": [
|
||||
"*, ELTOsago"
|
||||
],
|
||||
"references": [
|
||||
"System.ServiceModel, {System.ServiceModel.Primitives, 4.4.4}",
|
||||
"System.ServiceModel.Duplex, {System.ServiceModel.Duplex, 4.4.4}",
|
||||
"System.ServiceModel.Http, {System.ServiceModel.Http, 4.4.4}",
|
||||
"System.ServiceModel.NetTcp, {System.ServiceModel.NetTcp, 4.4.4}",
|
||||
"System.ServiceModel.Primitives, {System.ServiceModel.Primitives, 4.4.4}",
|
||||
"System.ServiceModel.Security, {System.ServiceModel.Security, 4.4.4}"
|
||||
],
|
||||
"sync": true,
|
||||
"targetFramework": "netcoreapp3.1",
|
||||
"typeReuseMode": "All"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using ELT.Client.Models.Insurance;
|
||||
@ -26,6 +25,11 @@ namespace ELT.Client.Managers.Insurance
|
||||
kaskoParams.Mark = preRequestData.Brand;
|
||||
kaskoParams.Model = preRequestData.Model;
|
||||
|
||||
var specialMachinery = preRequestData.SpecialMachinery;
|
||||
specialMachinery.SpecialMachineryMark = preRequestData.Brand;
|
||||
specialMachinery.SpecialMachineryModel = preRequestData.Model;
|
||||
kaskoParams.SpecialMachinery = specialMachinery;
|
||||
|
||||
|
||||
var result = new Dictionary<string, KASKOCalculationResult>();
|
||||
|
||||
@ -40,11 +44,12 @@ namespace ELT.Client.Managers.Insurance
|
||||
}
|
||||
, null
|
||||
, companyId
|
||||
, null
|
||||
, 0
|
||||
, null
|
||||
, null
|
||||
, "13"
|
||||
, null
|
||||
, null
|
||||
, false
|
||||
, null
|
||||
, null
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
namespace ELT.Client.Models.Insurance
|
||||
using ELTKasko;
|
||||
|
||||
namespace ELT.Client.Models.Insurance
|
||||
{
|
||||
public class ELTPreData
|
||||
{
|
||||
public string Kladr { get; set; }
|
||||
public string Brand { get; set; }
|
||||
public string Model { get; set; }
|
||||
public SpecialMachinery SpecialMachinery { get; set; }
|
||||
}
|
||||
}
|
||||
@ -23,8 +23,6 @@
|
||||
"launchBrowser": false,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"eltPassword": "evo12345",
|
||||
"eltLogin": "dmitrienko"
|
||||
},
|
||||
"applicationUrl": "http://localhost:2121"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user