+ Added functions access

* Change db and added PLC_ID
This commit is contained in:
Lucio Maranta
2018-02-06 17:36:12 +01:00
parent e8623a5cbd
commit 6cc4d8290e
19 changed files with 180 additions and 22 deletions
+2 -2
View File
@@ -10,12 +10,12 @@ namespace Step.Model.DTOModels
public class DTOProcessDataModel
{
public bool isRunning;
public List<ProcessData> processes;
public List<ProcessDataModel> processes;
public DTOProcessDataModel()
{
isRunning = false;
processes = new List<ProcessData>();
processes = new List<ProcessDataModel>();
}
}
}
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Step.Model.DTOModels
{
public class DTORuntimeFunctionAccessModel
{
public int Id { get; set; }
public string Name { get; set; }
public string Area { get; set; }
public bool Enabled { get; set; }
}
}
@@ -26,5 +26,7 @@ namespace Step.Model.DatabaseModels
public string Area { get; set; }
[Column("enabled")]
public bool Enabled { get; set; }
[Column("plc_id")]
public int PlcId { get; set; }
}
}
+1
View File
@@ -82,6 +82,7 @@
<Compile Include="DTOModels\DTONcGenericDataModel.cs" />
<Compile Include="DTOModels\DTOProcessDataModel.cs" />
<Compile Include="DTOModels\DTORoleModel.cs" />
<Compile Include="DTOModels\DTORuntimeFunctionAccessModel.cs" />
<Compile Include="DTOModels\DTOStartupConfigurationModel.cs" />
<Compile Include="DTOModels\DTOUserModel.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />