WIP Scada

Fanuc fix
This commit is contained in:
Lucio Maranta
2018-12-21 13:12:56 +01:00
parent ebfbfd2d9e
commit c379ed8f22
5 changed files with 7 additions and 7 deletions
+1 -2
View File
@@ -17,7 +17,7 @@ namespace Step.Controllers.WebApi
[Route("list")]
public IHttpActionResult GetScadaList()
{
using (NcHandler ncHandler = new NcHandler())
using (NcHandler ncHandler = new NcHandler())
{
ncHandler.Connect();
CmsError cmsError = ncHandler.ReadScadaData(out List<DTOScadaModel> values);
@@ -35,7 +35,6 @@ namespace Step.Controllers.WebApi
}
}
[Route("production/list")]
public IHttpActionResult GetProductionPageList()
{