IReport is added
This commit is contained in:
12
Services/Reports/CalculationReports/IIsoFieldReport.cs
Normal file
12
Services/Reports/CalculationReports/IIsoFieldReport.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelper.Services.Reports.CalculationReports
|
||||
{
|
||||
interface IIsoFieldReport : IReport
|
||||
{
|
||||
}
|
||||
}
|
||||
37
Services/Reports/CalculationReports/IsoFieldReport.cs
Normal file
37
Services/Reports/CalculationReports/IsoFieldReport.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using FieldVisualizer.Entities.Values.Primitives;
|
||||
using FieldVisualizer.Services.PrimitiveServices;
|
||||
using FieldVisualizer.WindowsOperation;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelper.Services.Reports.CalculationReports
|
||||
{
|
||||
public class IsoFieldReport : IIsoFieldReport
|
||||
{
|
||||
private IEnumerable<IPrimitiveSet> primitiveSets;
|
||||
|
||||
public void Prepare()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
public void ShowPrepared()
|
||||
{
|
||||
FieldViewerOperation.ShowViewer(primitiveSets);
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
Prepare();
|
||||
ShowPrepared();
|
||||
}
|
||||
|
||||
public IsoFieldReport(IEnumerable<IPrimitiveSet> primitiveSets)
|
||||
{
|
||||
this.primitiveSets = primitiveSets;
|
||||
}
|
||||
}
|
||||
}
|
||||
15
Services/Reports/IReport.cs
Normal file
15
Services/Reports/IReport.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelper.Services.Reports
|
||||
{
|
||||
public interface IReport
|
||||
{
|
||||
void Prepare();
|
||||
void ShowPrepared();
|
||||
void Show();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user