using System;
using System.Collections.Generic;
using System.Text;
namespace Dfs.WayneChina.IMisPlus.Models
{
///
/// Settings/parameters of fuel tank of legacy iFuel system.
///
public class Tank
{
///
/// Id of the tank, used by system.
/// Sps Field: `TankID`, type: tinyint(1)
///
public int Id { get; set; }
///
/// Product code of the fuel in the tank.
/// Sps Field: `FuelNo`, type: char(10).
/// ** Normally this field is filled with an integer.
///
public string ProductCode { get; set; }
///
/// Height of liquid
/// Sps Field: `Height`, type: int(2)
///
public ushort Height { get; set; }
///
/// Maximum height
/// Sps Field: `MaxHeight`, type: int(2)
///
public ushort MaxHeight { get; set; }
///
/// Minium height
/// Sps Field: `MinHeight`, type: int(2)
///
public ushort MinHeight { get; set; }
///
/// Maximum volume
/// Sps Field: `MaxVolume`, type: int(2)
///
public ushort MaxVolume { get; set; }
///
/// Minimum volume
/// Sps Field: `MinVolume`, type: int(2)
///
public ushort MinVolume { get; set; }
///
/// Maximum volume
/// Sps Field: `MaxWaterHeight`, type: int(2)
///
public ushort MaxWaterHeight { get; set; }
///
/// Maximum temperature
///
public ushort MaxTemp { get; set; }
///
/// Id of the probe of the tank gauge.
/// Sps Field: `ProbeID`, type: varchar(32)
///
public string ProbeId { get; set; }
///
/// Offset
/// Sps Field: `OffSet`, type: int(11)
///
public int Offset { get; set; }
///
/// Liquid fuel offset
/// Sps Field: `OilOffSet`, type: int(11)
///
public long OilOffset { get; set; }
///
/// Water offset
/// Sps Field: `WaterOffSet`, type: int(11)
///
public int WaterOffset { get; set; }
///
/// Probe address
/// Sps Field: `ProbeAddr`, type: varchar(32)
///
public string ProbeAddress { get; set; }
///
/// Sps Field: `FixDate`, type: date, format: `0000-00-00`
///
public DateTime InstallDate { get; set; }
///
/// Sps Field: `FactoryNo`, type: char(20)
///
///
/// The date that the tank is shipped (or manufactured).
/// Sps Field: `FactoryDate`, type: date, format: `0000-00-00`
///
public DateTime DateOfManufacture { get; set; }
///
/// The life span limit of the tank.
/// Sps Field: `LimitDate`, type: int(2)
///
public ushort Life { get; set; }
///
/// Manufacture of the tank.
/// Sps Field: `FactName`, type: varchar(20)
///
public string Manufacturer { get; set; }
}
}