Add logic for import of combination from xls files
This commit is contained in:
@@ -6,20 +6,34 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public class ColumnProperty : IColumnProperty
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public Guid Id { get; private set; }
|
||||
public string ColumnName { get; set; } = string.Empty;
|
||||
public int ColumnIndex { get; set; } = 0;
|
||||
public double ColumnFactor { get; set; } = 1d;
|
||||
/// <inheritdoc/>
|
||||
public string Name { get; set; }
|
||||
/// <inheritdoc/>
|
||||
public string SearchingName { get; set; } = string.Empty;
|
||||
/// <inheritdoc/>
|
||||
public int Index { get; set; } = 0;
|
||||
/// <inheritdoc/>
|
||||
public double Factor { get; set; } = 1d;
|
||||
|
||||
public ColumnProperty(Guid id, string columnName)
|
||||
{
|
||||
Id = id;
|
||||
ColumnName = columnName;
|
||||
Name = columnName;
|
||||
}
|
||||
public ColumnProperty(string columnName) : this(Guid.NewGuid(), columnName)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
var cloneLogic = new ColumnPropertyCloningStrategy();
|
||||
return cloneLogic.GetClone(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user