* Refactored NC_ERRORS
+ Added client configuration api * Refactored serverconfig
This commit is contained in:
@@ -23,5 +23,17 @@ namespace Step.Controllers.WebApi
|
||||
|
||||
return Ok(startupConfiguration);
|
||||
}
|
||||
|
||||
[Route("client"), HttpGet]
|
||||
public IHttpActionResult GetInfoConfiguration()
|
||||
{
|
||||
DTOClientConfigurationModel clientConfiguration = new DTOClientConfigurationModel()
|
||||
{
|
||||
NcVendor = NcConfig.NcVendor,
|
||||
showHMI = NcConfig.showNcHMI
|
||||
};
|
||||
|
||||
return Ok(clientConfiguration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user