Added write options & fix Osai configurations

This commit is contained in:
Lucio Maranta
2018-08-21 15:53:04 +00:00
parent a9ef908ab8
commit 8df32e59e0
7 changed files with 222 additions and 112 deletions
+34 -7
View File
@@ -276,7 +276,7 @@ namespace CMS_CORE_Library
{
public int Id;
public string Name;
}
}
public class PreviewFileModel
{
@@ -303,11 +303,11 @@ namespace CMS_CORE_Library
#endregion Data structure models
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#region Cms Errors Codes
#region Cms Errors Codes
public class CmsError
public class CmsError
{
public CMS_ERROR_CODES errorCode;
public string localizationKey;
@@ -465,7 +465,7 @@ namespace CMS_CORE_Library
GENERIC = 5
}
public enum MAGAZINE_TYPE
public enum SIEMENS_MAGAZINE_TYPE
{
CHAIN = 1,
REVOLVER = 3,
@@ -474,6 +474,13 @@ namespace CMS_CORE_Library
MAGAZINE_LOADING_STATION = 9
}
public enum NC_MAGAZINE_TYPE
{
BOX_MAGAZINE = 0,
DISK = 1,
CHAIN = 2,
}
public enum POSITION_TYPE
{
MAGAZINE_LOCATION = 1,
@@ -682,12 +689,15 @@ namespace CMS_CORE_Library
public class NcMagazineConfigModel
{
public byte Id;
public MAGAZINE_TYPE Type;
public NC_MAGAZINE_TYPE Type;
public int MaxPositions;
}
public class SiemensMagazineConfigModel : NcMagazineConfigModel
public class SiemensMagazineConfigModel
{
public byte Id;
public SIEMENS_MAGAZINE_TYPE Type;
public int MaxPositions;
public string Name;
public bool LoadingIsActive;
public int LoadPosition;
@@ -717,6 +727,23 @@ namespace CMS_CORE_Library
#region Nc Tool Manager Models
public class ToolManagerOptionsModel
{
public bool FamilyOpt { get; set; }
public bool ShankOpt { get; set; }
public bool MagPosTypeOpt { get; set; }
public bool OffsetOpt { get; set; }
public bool ReviveOpt { get; set; }
public bool GammaOpt { get; set; }
public bool LifeOpt { get; set; }
public bool TcpOpt { get; set; }
public bool CoolingOpt { get; set; }
public bool MultidimensionalShankOpt { get; set; }
public bool SelfAdaptivePathOpt { get; set; }
public bool DynamicCompensationOpt { get; set; }
public bool BallufOpt { get; set; }
}
public class OffsetModel
{
public short Id { get; set; }