using System;
using System.Collections.Generic;
using System.Text;
namespace Dfs.WayneChina.IMisPlus.Models
{
///
/// Represents some basic setting of an IC card terminal.
/// Max 32 terminals are supported by legacy iFuel system.
///
public class Terminal
{
///
/// Id of the terminal.
/// Sps Field: `PayDevID`
///
public byte Id { get; set; }
///
/// Type of the terminal, 1=UnionPay card, 2=IC card.
/// Sps Field: `PayType`, type: byte.
///
public byte PayMode { get; set; }
///
/// The terminal number, should be the same as set on
/// the terminal keyboard menu.
/// Sps Field: `Address`, type: char(16).
///
public string Address { get; set; }
///
/// Communication protocol of the terminal.
/// Sps Field: `Protocl`, type: byte.
///
public byte ProtocolType { get; set; }
}
}