using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FObjBase;
using FLY.Thick.Base.Common;
using Misc;
namespace FLY.Thick.Base.OBJ_INTERFACE
{
public class DYNAREA_OBJ_INTERFACE
{
#region Pack
public class Pack_GetADPos
{
public int Thick;
public int Position;
public int BoltIndex;
public int AD;
}
public class Pack_Position2
{
public int Position2;
}
public class Pack_GetScanInfo
{
///
/// 最新样品AD
///
public int[] SampleAD;
///
/// 动态温修
///
public bool TempState;
///
/// 数据有效
///
public bool DataValid;
///
/// 扫描方向
///
public Misc.DIRECTION direction;
///
/// 膜宽 mm
///
public double Width;
///
/// 线速度m/min
///
public double FilmVelocity;
///
/// 膜生产位置m
///
public double FilmPosition;
///
/// 速度 m/min
///
public double Velocity;
public DIRECTION Direction { get; internal set; }
}
public class Pack_GetControllerState
{
///
/// 运行状态
///
public CTRL_STATE ControllerState;
///
/// 自动扫描时间累积
///
public int AutoScanCounter;
}
public class Pack_GetIO
{
public UInt16 IStatus;
public UInt16 OStatus;
}
public class Pack_GetSystem
{
///
/// FLYAD 连接状态
///
public bool FLYADIsConnect;
///
/// 锁
///
public bool SecuteLock;
///
/// 系统剩余小时
///
public int Hrs;
}
public class Pack_GetProfile
{
///
/// 产品名称
///
public string ProductName;
///
/// 目标值
///
public int Target;
///
/// 报警值
///
public int Alarm;
///
/// 数据开始分区号
///
public int DataBoltNoBegin;
///
/// 数据结束分区号
///
public int DataBoltNoEnd;
///
/// 扫描范围开始分区号
///
public int ScanBoltNoBegin;
///
/// 扫描范围结束分区号
///
public int ScanBoltNoEnd;
///
/// 斜率补差
///
public double Comp;
///
/// 平移补差
///
public int Shift;
}
public class Pack_GetBoltmap
{
///
/// 总分区数
///
public int NBolts;
///
/// 开始分区号
///
public int FirstBoltNo;
}
#endregion
#region GetValue
///
/// Pack_GetADPos
///
public const UInt16 GET_ADPOS = 0;
///
/// Pack_GetScanInfo
///
public const UInt16 GET_SCANINFO = 1;
///
/// Pack_GetControllerState
///
public const UInt16 GET_CONTROLLER_STATE = 2;
///
/// Pack_GetIO
///
public const UInt16 GET_IO = 4;
///
/// Pack_GetSystem
///
public const UInt16 GET_SYSTEM = 5;
///
/// Pack_GetProfile
///
public const UInt16 GET_PROFILE = 6;
///
/// Pack_GetBoltmap
///
public const UInt16 GET_BOLTMAP = 7;
///
/// Pack_Position2
///
public const UInt16 GET_POSITION2 = 8;
#endregion
#region PushMsg
///
/// Pack_GetADPos
///
public const UInt16 PUSH_ADPOS = 0;
///
/// Pack_GetScanInfo
///
public const UInt16 PUSH_SCANINFO = 1;
///
/// Pack_GetControllerState
///
public const UInt16 PUSH_CONTROLLER_STATE = 2;
///
/// Pack_GetIO
///
public const UInt16 PUSH_IO = 4;
///
/// Pack_GetSystem
///
public const UInt16 PUSH_SYSTEM = 5;
///
/// Pack_GetProfile
///
public const UInt16 PUSH_PROFILE = 6;
///
/// Pack_GetBoltmap
///
public const UInt16 PUSH_BOLTMAP = 7;
///
/// Pack_Position2
///
public const UInt16 PUSH_POSITION2 = 8;
#endregion
}
}