Layer type on list
This commit is contained in:
@@ -5,7 +5,8 @@ namespace WebAPI.Models
|
||||
public enum LayerType
|
||||
{
|
||||
import,
|
||||
processed
|
||||
processed,
|
||||
administration,
|
||||
}
|
||||
public class Layer
|
||||
{
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace WebAPI.dataParsers
|
||||
layer.Source = "GoogleSheet";
|
||||
layer.Number = db.Layers.Count() + 1;
|
||||
layer.Name = $"L{layer.Number}-I-{data[0][1]}-{data[0][2]}/{data[0][3]}-{DateTime.Now.ToString("yyyyMMddHHmm")}";
|
||||
layer.Type = LayerType.import;
|
||||
|
||||
List<Record> records = new List<Record>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user