Added maintenances contact

Fix offsets
This commit is contained in:
Lucio Maranta
2019-06-05 16:54:20 +02:00
parent 96d19f4779
commit a93aaba321
21 changed files with 446 additions and 225 deletions
@@ -106,7 +106,7 @@ namespace Step.Controllers.WebApi
{
var configuredAlarm = InitialAlarmsConfig.Where(x => x.PlcId == i).FirstOrDefault();
if (configuredAlarm == null)
if (configuredAlarm == null)
restoreIsEnabled = false;
else
restoreIsEnabled = configuredAlarm.RestoreIsActive;
@@ -134,5 +134,11 @@ namespace Step.Controllers.WebApi
return Ok(toolTableConfiguration);
}
}
[Route("contact"), HttpGet]
public IHttpActionResult GetContact()
{
return Ok(ContactConfig);
}
}
}