|
@@ -58,14 +58,14 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
+ CxLon = dto.CxLon,
|
|
|
+ CxLat = dto.CxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -148,14 +148,14 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
+ CxLon = dto.CxLon,
|
|
|
+ CxLat = dto.CxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -219,14 +219,12 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -328,14 +326,12 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new Model.CgRes()
|
|
@@ -398,14 +394,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -506,14 +498,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new Model.CgRes()
|
|
@@ -572,19 +560,19 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
if (runTask == null)
|
|
|
{
|
|
|
Serilog.Log.Warning($"接收到融合带参定位(含星历)参数,由于任务没有运行中忽略本次定位!");
|
|
|
- return Error<PosRes>($"多模式融合定位平台没有启动两星一地定位任务");
|
|
|
+ return Error<PosRes>($"多模式融合定位平台没有启动融合定位任务");
|
|
|
}
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
+ CxLon = dto.CxLon,
|
|
|
+ CxLat = dto.CxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -693,14 +681,14 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ CdbTxLon = dto.CdbTxLon,
|
|
|
+ CdbTxLat = dto.CdbTxLat,
|
|
|
+ CxLon = dto.CxLon,
|
|
|
+ CxLat = dto.CxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -772,14 +760,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -905,14 +889,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new Model.CgRes()
|
|
@@ -979,14 +959,8 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -1043,7 +1017,7 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
var runTask = await db.TaskInfos.Where(p => p.TaskState == EnumTaskState.Running && p.PosType == EnumPosType.X3TwoDto).FirstOrDefaultAsync();
|
|
|
if (runTask == null)
|
|
|
{
|
|
|
- Serilog.Log.Warning($"接收到两星一地无参定位(无星历)参数,由于任务没有运行中忽略本次定位!");
|
|
|
+ Serilog.Log.Warning($"接收到三星双时差无参定位(无星历)参数,由于任务没有运行中忽略本次定位!");
|
|
|
return Error<PosRes>($"多模式融合定位平台没有启动三星双时差定位任务");
|
|
|
}
|
|
|
var parameter1 = new SQLiteParameter("@sigTime", dto.SigTime);
|
|
@@ -1109,14 +1083,8 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new Model.CgRes()
|
|
@@ -1182,14 +1150,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -1328,14 +1292,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new Model.CgRes()
|
|
@@ -1417,14 +1377,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new CgRes()
|
|
@@ -1536,14 +1492,10 @@ namespace XdCxRhDW.App.WebAPI
|
|
|
|
|
|
var StationRes = db.StationRes.Add(new StationRes()
|
|
|
{
|
|
|
- SatTxLon = dto.StationResInfo.SatTxLon,
|
|
|
- SatTxLat = dto.StationResInfo.SatTxLat,
|
|
|
- CdbTxLon = dto.StationResInfo.CdbTxLon,
|
|
|
- CdbTxLat = dto.StationResInfo.CdbTxLat,
|
|
|
- CxLon = dto.StationResInfo.CxLon,
|
|
|
- CxLat = dto.StationResInfo.CxLat,
|
|
|
- RefLon = dto.StationResInfo.RefLon,
|
|
|
- RefLat = dto.StationResInfo.RefLat,
|
|
|
+ SatTxLon = dto.SatTxLon,
|
|
|
+ SatTxLat = dto.SatTxLat,
|
|
|
+ RefLon = dto.RefLon,
|
|
|
+ RefLat = dto.RefLat,
|
|
|
});
|
|
|
|
|
|
var cgRes = db.CgRes.Add(new Model.CgRes()
|