Cleanup & fix library for S7 (methods for modules)

This commit is contained in:
Samuele Locatelli
2020-05-30 09:57:53 +02:00
parent 0cd826390d
commit d6b5260db6
2 changed files with 55 additions and 192 deletions
+8 -15
View File
@@ -551,7 +551,7 @@ namespace CMS_CORE_Library.Models
}
public class RecipeModule
public class ModuleBlock
{
public ushort Id { get; set; } = 0;
public uint EstimatedDuration { get; set; } = 0;
@@ -564,27 +564,20 @@ namespace CMS_CORE_Library.Models
public bool HasError { get; set; } = false;
}
public class RecipeWarmerUp
public class WarmerChannel
{
public ushort Id { get; set; } = 0;
public byte IdRefrector { get; set; } = 0;
public double MinCurrent { get; set; } = 0;
public ushort IdChannel { get; set; } = 0;
public byte SetpointThermoCam { get; set; } = 0;
public byte SetpointPLC { get; set; } = 0;
public byte ChStatus { get; set; } = 0;
public byte PercWork { get; set; } = 0;
public byte PercAct { get; set; } = 0;
}
public class RecipeWarmerDown
{
public ushort Id { get; set; } = 0;
public byte SetpointHMI { get; set; } = 0;
}
public class RecipeProdInfo
public class ProdInfo
{
public ushort NumTarget { get; set; } = 0;
public ushort NumDOne { get; set; } = 0;
public ushort NumDone { get; set; } = 0;
public uint TimeWarm { get; set; } = 0;
public uint TimeVent { get; set; } = 0;
public uint TimeVacuum { get; set; } = 0;
@@ -598,7 +591,7 @@ namespace CMS_CORE_Library.Models
public double MouldEnergyIN { get; set; } = 0;
}
public class RecipeProdCycle
public class ProdCycle
{
public ushort Status { get; set; } = 0;
public ushort MessageId { get; set; } = 0;