BLOWING_DETECT_OBJ_INTERFACE.cs 4.2 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9
using FLY.Thick.Blowing.IService;
using FObjBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FLY.Thick.Blowing.OBJ_INTERFACE
{
潘栩锋's avatar
潘栩锋 committed
10 11 12
    /// <summary>
    /// 
    /// </summary>
潘栩锋's avatar
潘栩锋 committed
13 14 15
    public class BLOWING_DETECT_OBJ_INTERFACE
    {
        #region Pack
潘栩锋's avatar
潘栩锋 committed
16 17 18 19
        /// <summary>
        /// 参数
        /// </summary>
        public class Pack_Params
潘栩锋's avatar
潘栩锋 committed
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
        {
            /// <summary>
            /// 旋转架转动角度 °
            /// </summary>
            public double rangle;

            /// <summary>
            /// 人字架周期 设置值
            /// </summary>
            public TimeSpan period;

            /// <summary>
            /// 加减速时间
            /// </summary>
            public TimeSpan accDecTime;


            /// <summary>
            /// 信号0 需要撞2次
            /// </summary>
            public bool isSign0Double;
            /// <summary>
            /// 信号1 需要撞2次
            /// </summary>
            public bool isSign1Double;

            /// <summary>
            /// 信号模式
            /// </summary>
            public BlowingSignType signType;

            /// <summary>
            /// 转向信号时间
            /// </summary>
            public TimeSpan limitSignTime;

            /// <summary>
            /// 人字架到测厚仪长度 m
            /// </summary>
            public double filmLength;

            /// <summary>
            /// 辊周长 mm
            /// </summary>
            public double rollPerimeter;

            /// <summary>
            /// 转向信号100ms 滤波
            /// </summary>
            public bool isSignFilter;
            /// <summary>
            /// 缺少信号模式
            /// </summary>
            public bool isLackSignMode;

潘栩锋's avatar
潘栩锋 committed
75 76 77 78
            /// <summary>
            /// 立体
            /// </summary>
            public bool is3D;
潘栩锋's avatar
潘栩锋 committed
79 80
        }

潘栩锋's avatar
潘栩锋 committed
81 82 83 84
        /// <summary>
        /// 状态
        /// </summary>
        public class Pack_CurrState
潘栩锋's avatar
潘栩锋 committed
85 86 87 88 89 90 91 92 93 94 95 96
        {
            public int limitno;
            public TimeSpan pasttime;
            public int rotationCnt;
            public double filmvelocity;
            public Misc.DIRECTION direction;
            public double angle;
            /// <summary>
            /// 人字架周期 当前值
            /// </summary>
            public TimeSpan period;
            public TimeSpan swapCoolTime;
97
            public TimeSpan BufTotalTime;
潘栩锋's avatar
潘栩锋 committed
98 99 100 101 102
        }

        #endregion
        #region GetValue
        /// <summary>
潘栩锋's avatar
潘栩锋 committed
103
        /// json Pack_Params
潘栩锋's avatar
潘栩锋 committed
104 105 106 107
        /// </summary>
        public const UInt16 GET_PARAMS = 1;

        /// <summary>
潘栩锋's avatar
潘栩锋 committed
108
        /// json Pack_CurrState
潘栩锋's avatar
潘栩锋 committed
109 110 111 112 113 114
        /// </summary>
        public const UInt16 GET_STATE = 5;

        #endregion
        #region SetValue
        /// <summary>
潘栩锋's avatar
潘栩锋 committed
115
        /// json Pack_Params
潘栩锋's avatar
潘栩锋 committed
116 117 118 119 120 121 122 123
        /// </summary>
        public const UInt16 SET_PARAMS = 1;

        #endregion
        #region CallFunction

        /// <summary>
        /// request:null
潘栩锋's avatar
潘栩锋 committed
124
        /// reponse:GetSignListReponse
潘栩锋's avatar
潘栩锋 committed
125 126
        /// </summary>
        public const UInt16 CALL_GETSIGNLIST = 4;
潘栩锋's avatar
潘栩锋 committed
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150

        /// <summary>
        /// request:json GetRollListRequest
        /// reponse:json GetRollListReponse
        /// </summary>
        public const UInt16 CALL_GETROLLIST = 5;

        /// <summary>
        /// request:json GetLimitListRequest
        /// reponse:json GeLimitListReponse
        /// </summary>
        public const UInt16 CALL_GETLIMITLIST = 6;

        /// <summary>
        /// request:null
        /// reponse:json GetFilmLength3DReponse
        /// </summary>
        public const UInt16 CALL_GET_FL_3D = 7;

        /// <summary>
        /// request:json List&lt;double&gt;
        /// reponse:null
        /// </summary>
        public const UInt16 CALL_SET_FL_3D = 8;
潘栩锋's avatar
潘栩锋 committed
151 152 153
        #endregion
        #region PushInfo
        /// <summary>
潘栩锋's avatar
潘栩锋 committed
154
        /// json Pack_Params
潘栩锋's avatar
潘栩锋 committed
155 156 157 158
        /// </summary>
        public const UInt16 PUSH_PARAMS = 1;

        /// <summary>
潘栩锋's avatar
潘栩锋 committed
159
        /// json Pack_CurrState
潘栩锋's avatar
潘栩锋 committed
160 161 162 163
        /// </summary>
        public const UInt16 PUSH_STATE = 5;

        /// <summary>
潘栩锋's avatar
潘栩锋 committed
164
        /// json Pack_BM
潘栩锋's avatar
潘栩锋 committed
165 166 167 168 169
        /// </summary>
        public const UInt16 PUSH_SIGNBM = 9;
        #endregion
    }
}