BLOWING_SCAN_OBJ_INTERFACE.cs 1.9 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FObjBase;
using FLY.Thick.BlowingScan.IService;
using FLY.Thick.BlowingScan.Common;
using FLY.Thick.Blowing.OBJ_INTERFACE;

namespace FLY.Thick.BlowingScan.OBJ_INTERFACE
{
    /// <summary>
    /// 吹膜测厚.扫描 OBJ接口
    /// </summary>
    public class BLOWING_SCAN_OBJ_INTERFACE:BLOWING_OBJ_INTERFACE
    {
        #region Pack
        public class Pack_ParamsExt
        {
            /// <summary>
            /// 扫描用,解方程数
            /// </summary>
            public int solveCnt;
            
            /// <summary>
            /// 探头直径
            /// </summary>
            public int sensorWidth;
            /// <summary>
            /// 平滑
            /// </summary>
            public int smooth;
        }

        public class Pack_BM
        {
            public int firstbm;
            public int lastbm;
        }


        #endregion
        #region GetValue
        /// <summary>
        /// json Pack_ParamsExt
        /// </summary>
        public const UInt16 GET_PARAMSEXT = 3;

        /// <summary>
        /// json Pack_BM
        /// </summary>
        public const UInt16 GET_BUFINFO = 4;
        #endregion
        #region SetValue
        /// <summary>
        /// json Pack_Params
        /// </summary>
        public const UInt16 SET_PARAMSEXT = 3;
        #endregion
        #region CallFunction
        /// <summary>
        /// request:null
        /// reponse:json  GetBufListReponse
        /// </summary>
        public const UInt16 CALL_GETBUF = 1;
        #endregion
        #region PushInfo
        /// <summary>
        /// json Pack_ParamsExt
        /// </summary>
        public const UInt16 PUSH_PARAMSEXT = 3;

        /// <summary>
        /// json Pack_BM
        /// </summary>
        public const UInt16 PUSH_BUFINFO = 4;

        #endregion
    }
}