Added maintenances contact
Fix offsets
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user