BULKDB_OBJ_INTERFACE.cs 1.63 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FLY.Thick.Blowing.OBJ_INTERFACE
{
    public class BULKDB_OBJ_INTERFACE
    {
        #region Pack
        public class Pack_State
        {
            public int Count;
            public DateTime StartTime;
            public DateTime EndTime;
            public bool IsFinished;
        }
        #endregion

        #region GetValue
        /// <summary>
        /// json Pack_State
        /// </summary>
        public const UInt16 GET_STATE = 1;
        #endregion
        #region SetValue

        #endregion
        #region PushMsg
        /// <summary>
        /// json Pack_State
        /// </summary>
        public const UInt16 PUSH_STATE = 1;
        /// <summary>
        /// json BulkDBTempFrameChangedEventArgs
        /// </summary>
        public const UInt16 PUSH_TEMP_FRAME_CHANGED = 2;
        #endregion
        #region CallFunction

        /// <summary>
        /// request: json Pack_GetFrameRequest
        /// reponse: json Pack_GetFrameReponse
        /// </summary>
        public const UInt16 CALL_GET_FRAME = 0;

        /// <summary>
        /// request: json Pack_GetTrendRequest
        /// reponse: json Pack_GetTrendReponse
        /// </summary>
        public const UInt16 CALL_GET_TREND = 1;

        /// <summary>
        /// reponse: json Pack_GetErrorRequest
        /// reponse: json Pack_GetErrorReponse
        /// </summary>
        public const UInt16 CALL_GET_ERROR = 2;

        /// <summary>
        /// request: null
        /// </summary>
        public const UInt16 CALL_FINISH = 3;
        #endregion
    }
}