using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.Model { public class JakaModel { public const string SENCE_初始位 = "1000"; public const string SENCE_初始位_取杯位 = "1010"; public const string SENCE_取杯位_取杯放杯检测位 = "1011"; public const string SENCE_取杯放杯检测位_取杯位 = "1012"; public const string SENCE_取杯位_接咖啡位 = "1020"; public const string SENCE_取杯位_接奶茶位 = "1021"; public const string SENCE_等奶茶_接奶茶位 = "1022"; public const string SENCE_接咖啡位_放咖啡位 = "1030"; public const string SENCE_接奶茶位_放奶茶位 = "1031"; public const string SENCE_落杯 = "1100"; public const string SENCE_初始位_取杯位检测 = "1200"; public const string SENCE_取杯位检测_取杯位 = "1300"; public const string SENCE_取杯位_接咖啡 = "1400"; public const string SENCE_取杯位_接奶茶 = "1500"; public const string SENCE_初始位_放杯位检测 = "1600"; public const string SENCE_放杯位检测_接咖啡 = "1610"; public const string SENCE_放杯位检测_接奶茶 = "1620"; public const string SENCE_接咖啡_放杯位 = "1700"; public const string SENCE_接奶茶_放杯位 = "1800"; public const string SENCE_异常回初始位 = "1900"; public const string SENCE_接咖啡_初始位 = "1910"; public const string SENCE_接奶茶_初始位 = "1920"; public const string SENCE_放杯位_初始位 = "2000"; public const string SENCE_初始位_落杯位 = "100"; public const string SENCE_落杯位_接咖啡位 = "110"; public const string SENCE_接咖啡位_初始位 = "120"; public const string SENCE_落杯位_接奶茶等待位 = "150"; public const string SENCE_接奶茶等待位_初始位 = "160"; public const string SENCE_接咖啡_放咖啡杯 = ""; public const string SENCE_接水 = ""; public const string SENCE_放茶水杯 = ""; public const string SENCE_接茶_接水 = ""; public const string SENCE_接果汁1 = ""; public const string SENCE_接果汁2 = ""; public const string SENCE_接果汁3 = ""; public const string SENCE_接果汁4 = ""; public const string SENCE_放果汁杯1 = ""; public const string SENCE_放果汁杯2 = ""; public const string SENCE_放果汁杯3 = ""; public const string SENCE_放果汁杯4 = ""; public const string SENCE_取杯检测 = ""; public const string SENCE_放杯 = ""; public const string SENCE_放杯检测 = ""; public const string SENCE_接茶 = ""; } public class WriteJaka : BaseEvent { public string Address { get; set; } public object Value { get; set; } public int DO_Index { get; set; } } public class ReadJaka : BaseEvent { public string Address { get; set; } public ushort Length { get; set; } public object ReadPar { get; set; } } public enum Kind:int { 咖啡 = 1, 奶茶 = 2 } }