46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using System;
|
|
|
|
namespace Logic.ProductionToProductMapper.Cordonel
|
|
{
|
|
|
|
/// <summary>
|
|
/// Combination of information of installed applications.
|
|
/// </summary>
|
|
/// <remarks date="2021-Feb-12" author="Roland Drabesch">
|
|
/// - Initial
|
|
/// </remarks>
|
|
/// <remarks date="2021-Mar-10" author="Thomas Wiedebusch">
|
|
/// - Changed version from Uint32 to String
|
|
/// </remarks>
|
|
public class CordonelAppVersion
|
|
{
|
|
/// <summary>
|
|
/// Identification number of application
|
|
/// </summary>
|
|
public Int32 Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Version of application
|
|
/// </summary>
|
|
public String Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// Marker for update capability (e.g. Metrology (GENESISFLOW) could be locked, core revision is locked)
|
|
/// </summary>
|
|
public Boolean IsUpdateable { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ctor
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <param name="version"></param>
|
|
/// <param name="isUpdateable"></param>
|
|
public CordonelAppVersion(Int32 id, String version, Boolean isUpdateable = true)
|
|
{
|
|
Id = id;
|
|
Version = version;
|
|
IsUpdateable = isUpdateable;
|
|
}
|
|
}
|
|
}
|