Blueprint loading works
This commit is contained in:
25
EveCalc.Shared/ObjectModel/Blueprint.cs
Normal file
25
EveCalc.Shared/ObjectModel/Blueprint.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EveCalc.Shared.ObjectModel
|
||||
{
|
||||
public class Blueprint : ESI.NET.Models.Corporation.Blueprint
|
||||
{
|
||||
public string TypeName { get; set; }
|
||||
|
||||
public Blueprint(ESI.NET.Models.Corporation.Blueprint blueprint) : base()
|
||||
{
|
||||
this.ItemId = blueprint.ItemId;
|
||||
this.LocationFlag = blueprint.LocationFlag;
|
||||
this.LocationId = blueprint.LocationId;
|
||||
this.MaterialEfficiency = blueprint.MaterialEfficiency;
|
||||
this.Quantity = blueprint.Quantity;
|
||||
this.Runs = blueprint.Runs;
|
||||
this.TimeEfficiency = blueprint.TimeEfficiency;
|
||||
this.TypeId = blueprint.TypeId;
|
||||
}
|
||||
}
|
||||
}
|
||||
17
EveCalc.Shared/ObjectModel/BlueprintMaterial.cs
Normal file
17
EveCalc.Shared/ObjectModel/BlueprintMaterial.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EveCalc.Shared.ObjectModel
|
||||
{
|
||||
public class BlueprintMaterial
|
||||
{
|
||||
public long MaterialTypeId { get; set; }
|
||||
|
||||
public string MaterialTypeName { get; set; }
|
||||
|
||||
public long Quantity { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user