59 lines
1.4 KiB
C#
59 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Logic.ProductionToProductMapper.Files.Fw;
|
|
|
|
namespace Xylem.ServiceFwUpdate.Common.FwUpdateSafe
|
|
{
|
|
/// <summary>
|
|
/// Software container
|
|
/// </summary>
|
|
[Serializable]
|
|
public class SoftwareContainer
|
|
{
|
|
/// <summary>
|
|
/// Software name
|
|
/// </summary>
|
|
public String Program;
|
|
|
|
/// <summary>
|
|
/// Software version major
|
|
/// </summary>
|
|
public Int32 Major;
|
|
|
|
/// <summary>
|
|
/// Software version minor
|
|
/// </summary>
|
|
public Int32 Minor;
|
|
|
|
/// <summary>
|
|
/// Software version build
|
|
/// </summary>
|
|
public Int32 Build;
|
|
|
|
/// <summary>
|
|
/// Date of check in.
|
|
/// </summary>
|
|
public DateTimeOffset CheckInDate;
|
|
|
|
/// <summary>
|
|
/// Software DLL files
|
|
/// </summary>
|
|
public List<FilePart> SoftwareDynLinkLibs;
|
|
|
|
/// <summary>
|
|
/// Register definition file (configuration.json)
|
|
/// </summary>
|
|
public FilePart RegisterDefinitionFile;
|
|
|
|
/// <summary>
|
|
/// Software setup (NLogConfig.xml)
|
|
/// </summary>
|
|
public FilePart SoftwareSetupFile;
|
|
|
|
/// <summary>
|
|
/// FW-Update erase restore of files before and after update (MeterFilesEraseRestore.json)
|
|
/// </summary>
|
|
public FilePart MeterFilesEraseRestore;
|
|
}
|
|
}
|