using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TZONE.GPSSocketServer.Common
{
    public class DownCommand
    {
        public static void update_OrderExec_IsExec(string imei, int isexec)
        {
            DataAccess.data_Facade dal = new DataAccess.data_Facade();
            //dal.update_OrderExec_IsExec(imei, isexec);
        }
        /// <summary>
        /// 指令为执行
        /// </summary>
        public static int Exec_NO = 0;
        /// <summary>
        /// OTA软件升级中
        /// </summary>
        public static int Exec_FW_RUN = 1;
        /// <summary>
        /// OTA软件升级成功
        /// </summary>
        public static int Exec_FW_OK = 2;
        /// <summary>
        /// OTA配置升级中
        /// </summary>
        public static int Exec_BIN_RUN = 3;
        /// <summary>
        /// OTA配置升级成功
        /// </summary>
        public static int Exec_BIN_OK = 4;
        /// <summary>
        /// 指令执行成功
        /// </summary>
        public static int Exec_OK = 5;
        /// <summary>
        /// OTA软件升级失败
        /// </summary>
        public static int Exec_FW_FAIL = 11;
        /// <summary>
        /// OTA配置升级失败
        /// </summary>
        public static int Exec_BIN_FAIL = 31;
        /// <summary>
        /// 指令执行失败
        /// </summary>
        public static int Exec_FAIL = 40;
    }
}
