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
{
///
///
///
public class BLOWING_DETECT_OBJ_INTERFACE
{
#region Pack
///
/// 参数
///
public class Pack_Params
{
///
/// 旋转架转动角度 °
///
public double rangle;
///
/// 人字架周期 设置值
///
public TimeSpan period;
///
/// 加减速时间
///
public TimeSpan accDecTime;
///
/// 信号0 需要撞2次
///
public bool isSign0Double;
///
/// 信号1 需要撞2次
///
public bool isSign1Double;
///
/// 信号模式
///
public BlowingSignType signType;
///
/// 转向信号时间
///
public TimeSpan limitSignTime;
///
/// 人字架到测厚仪长度 m
///
public double filmLength;
///
/// 辊周长 mm
///
public double rollPerimeter;
///
/// 转向信号100ms 滤波
///
public bool isSignFilter;
///
/// 缺少信号模式
///
public bool isLackSignMode;
///
/// 立体
///
public bool is3D;
}
///
/// 状态
///
public class Pack_CurrState
{
public int limitno;
public TimeSpan pasttime;
public int rotationCnt;
public double filmvelocity;
public Misc.DIRECTION direction;
public double angle;
///
/// 人字架周期 当前值
///
public TimeSpan period;
public TimeSpan swapCoolTime;
public TimeSpan BufTotalTime;
}
#endregion
#region GetValue
///
/// json Pack_Params
///
public const UInt16 GET_PARAMS = 1;
///
/// json Pack_CurrState
///
public const UInt16 GET_STATE = 5;
#endregion
#region SetValue
///
/// json Pack_Params
///
public const UInt16 SET_PARAMS = 1;
#endregion
#region CallFunction
///
/// request:null
/// reponse:GetSignListReponse
///
public const UInt16 CALL_GETSIGNLIST = 4;
///
/// request:json GetRollListRequest
/// reponse:json GetRollListReponse
///
public const UInt16 CALL_GETROLLIST = 5;
///
/// request:json GetLimitListRequest
/// reponse:json GeLimitListReponse
///
public const UInt16 CALL_GETLIMITLIST = 6;
///
/// request:null
/// reponse:json GetFilmLength3DReponse
///
public const UInt16 CALL_GET_FL_3D = 7;
///
/// request:json List<double>
/// reponse:null
///
public const UInt16 CALL_SET_FL_3D = 8;
#endregion
#region PushInfo
///
/// json Pack_Params
///
public const UInt16 PUSH_PARAMS = 1;
///
/// json Pack_CurrState
///
public const UInt16 PUSH_STATE = 5;
///
/// json Pack_BM
///
public const UInt16 PUSH_SIGNBM = 9;
#endregion
}
}