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