Bug fixed:
- Disable all the functions when Nc is disconnected. - Areas config allowexternalBrowser - IsRunning when Nc is in HOLD
This commit is contained in:
@@ -55,6 +55,20 @@ namespace Step.Database.Controllers
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public List<DTORuntimeFunctionalityModel> FindAllFunctionsAndDisableAll()
|
||||
{
|
||||
return dbCtx
|
||||
.FunctionsAccess
|
||||
.Select( x => new DTORuntimeFunctionalityModel()
|
||||
{
|
||||
Id = x.FunctionAccessId,
|
||||
Area = x.Area,
|
||||
Name = x.Name,
|
||||
Enabled = false
|
||||
})
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public List<DTORuntimeFunctionalityModel> GetFunctionsMappedWithPlc(List<FunctionalityModel> functionalityList)
|
||||
{
|
||||
return FunctionsAccessConfig // Find all function access
|
||||
|
||||
Reference in New Issue
Block a user