OBJA_OBJ_INTERFACE.cs 1.33 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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FObjSysTest.OBJ_INTERFACE
{
    public class OBJA_OBJ_INTERFACE
    {
        #region Pack

        public class Pack_Params
        {
            public double[] numbers;
        }
        public class Pack_Status
        {
            public DateTime now;
        }
        #endregion


        #region GetValue
        /// <summary>
        /// Pack_Params
        /// </summary>
        public const UInt16 GET_PARAMS = 0;
        /// <summary>
        /// Pack_Status
        /// </summary>
        public const UInt16 GET_STATUS = 1;

        #endregion
        #region SetValue
        /// <summary>
        /// Pack_Params
        /// </summary>
        public const UInt16 SET_PARAMS = 0;
        #endregion
        #region PushMsg
        /// <summary>
        /// Pack_Params
        /// </summary>
        public const UInt16 PUSH_PARAMS = 0;

        /// <summary>
        /// Pack_Status
        /// </summary>
        public const UInt16 PUSH_STATUS = 1;

        #endregion

        #region CallFunction
        /// <summary>
        /// request:Pack_CallGetNumbersRequest
        /// reponse:Pack_CallGetNumbersReponse
        /// </summary>
        public const UInt16 CALL_GETNUMBERS = 0;
        #endregion
    }
}