forked from ddrilling/AsbCloudServer
fix
This commit is contained in:
parent
24a1afb5a8
commit
f49245f9cf
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace AsbCloudInfrastructure.Services.Subsystems.Utils
|
namespace AsbCloudInfrastructure.Services.Subsystems.Utils
|
||||||
{
|
{
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
using AsbCloudDb.Model;
|
using AsbCloudDb.Model;
|
||||||
using AsbCloudDb.Model.Subsystems;
|
using AsbCloudDb.Model.Subsystems;
|
||||||
using AsbCloudInfrastructure.Services.Subsystems.Utils;
|
using AsbCloudInfrastructure.Services.Subsystems.Utils;
|
||||||
using iText.Forms.Xfdf;
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Npgsql;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
@ -340,9 +338,9 @@ namespace AsbCloudInfrastructure.Services.Subsystems
|
|||||||
if (item.DepthStart < 0d)
|
if (item.DepthStart < 0d)
|
||||||
return -6;
|
return -6;
|
||||||
if (item.DepthEnd > 24_0000d)
|
if (item.DepthEnd > 24_0000d)
|
||||||
return -5;
|
return -7;
|
||||||
if (item.DepthStart > 24_0000d)
|
if (item.DepthStart > 24_0000d)
|
||||||
return -6;
|
return -8;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user