RegionRadio split to Region (string) and RadioFrequencyMhz (Int32?), CoreRevision changed from string to Int32?, Service\MeterProcessState\Controllers\GetCorondelFw changed to GetCordonelFw and corrected
67 lines
1.6 KiB
C#
67 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Xylem.Common.Logic.ProductionOrderCore.OrderData;
|
|
|
|
namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile
|
|
{
|
|
/// <summary>
|
|
/// File for metrology look up table
|
|
/// </summary>
|
|
public class MeterLutFile
|
|
{
|
|
/// <summary>
|
|
/// File name of the file on PC
|
|
/// </summary>
|
|
public String LutPcFileName;
|
|
|
|
/// <summary>
|
|
/// Ctor file applications
|
|
/// </summary>
|
|
/// <param name="lutPcFileName"></param>
|
|
public MeterLutFile(String lutPcFileName)
|
|
{
|
|
LutPcFileName = lutPcFileName;
|
|
}
|
|
|
|
/// <summary>
|
|
/// File ID for LUT file
|
|
/// </summary>
|
|
public String StrLutFileId;
|
|
|
|
/// <summary>
|
|
/// Data length
|
|
/// </summary>
|
|
public UInt32 DataLength;
|
|
|
|
/// <summary>
|
|
/// Version of LUT file
|
|
/// </summary>
|
|
public UInt16 Version;
|
|
|
|
/// <summary>
|
|
/// Check of LUT file for verification and register write, read from file
|
|
/// </summary>
|
|
public UInt16 FileCrc;
|
|
|
|
/// <summary>
|
|
/// Calculated during file processing for verification
|
|
/// </summary>
|
|
public UInt16 CalculatedCrc;
|
|
|
|
/// <summary>
|
|
/// Validation of LUT file
|
|
/// </summary>
|
|
public Boolean IsValid;
|
|
|
|
/// <summary>
|
|
/// Binary file content
|
|
/// </summary>
|
|
public List<Byte> BinData = new List<Byte>();
|
|
|
|
/// <summary>
|
|
/// Meter size
|
|
/// </summary>
|
|
public MeterSize MeterSize;
|
|
}
|
|
}
|