using System; namespace Logic.ProductionToProductMapper.Files.Fw { /// /// Serialized files /// [Serializable] public class FilePart { /// /// The name of the parent file /// public Int32 ParentFileId { get; set; } /// /// The file id /// public Int32 FileId { get; set; } /// /// The name of the file without any path information /// public String FileName { get; set; } /// /// Location of file from base path (e.g the FwUpdateSw has a subfolder for language [de] /// public String SubDirectory { get; set; } /// /// Data stream /// public Byte[] FileContent { get; set; } /// /// Length of data stream for comparison of length at data exchange /// public Int32 FileContentLength { get; set; } /// /// Checksum of data stream for comparison of length at data exchange /// public UInt16 FileContentCrc16CcittMsb { get; set; } } }