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_取杯 = "10000";
        public const string SENCE_放杯位检测 = "10100";
        public const string SENCE_取杯检测 = "11000";

        public const string SENCE_接咖啡 = "12000";
        public const string SENCE_接果汁1 = "12001";
        public const string SENCE_接果汁2 = "12002";
        public const string SENCE_接果汁3 = "12003";
        public const string SENCE_接果汁4 = "12004";
        public const string SENCE_接茶 = "12005";
        public const string SENCE_接水 = "12006";
        public const string SENCE_接茶_接水 = "12007";

        public const string SENCE_放咖啡杯 = "13000";//接饮料位---放饮料过渡位
        public const string SENCE_放果汁杯1 = "13001";
        public const string SENCE_放果汁杯2 = "13002";
        public const string SENCE_放果汁杯3 = "13003";
        public const string SENCE_放果汁杯4 = "13004";
        public const string SENCE_放茶水杯 = "13005";

        public const string SENCE_放杯 = "14000";//放杯过渡位到-放杯

        public const string SENCE_放杯检测 = "15000";

        public const string SENCE_初始位 = "20000";
    }

    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; }
    }

}

