54 lines
2.0 KiB
C#
54 lines
2.0 KiB
C#
using JSMachine.WMS.PLC.ModbusImpl.Elevator.Enums;
|
||||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace JSMachine.WMS.PLC.ModbusImpl.Elevator.Model
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 提升机状态,用于读取PLC的时候表明提升机允许干什么,用于写PLC的时候表示动作已经完成给PLC反馈
|
|||
|
|
/// </summary>
|
|||
|
|
public class ElevatorPlcStatus
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 提升机编号 1,2
|
|||
|
|
/// </summary>
|
|||
|
|
public int ElevatorNo { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库放货通道2 网带号1001 读取数据位0 写入数据位8
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockInPutdownChanelTwo { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库放货通道1 网带号1011 读取数据位2 写入数据位10
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockInPutdownChanelOne { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库取货通道2 网带号2004 读取数据位5 写入数据位13
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockInPickupChannelTwo { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 入库取货通道1 网带号2014 读取数据位7 写入数据位15
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockInPickupChannelOne { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库放货通道2 网带号2001 读取数据位4 写入数据位12
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockOutPutdownChanelTwo { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库放货通道1 网带号2011 读取数据位6 写入数据位14
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockOutPutdownChanelOne { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库取货通道2 网带号1006 读取数据位1 写入数据位9
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockOutPickupChanelTwo { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库取货通道1 网带号1016 读取数据位3 写入数据位11
|
|||
|
|
/// </summary>
|
|||
|
|
public bool StockOutPickupChanelOne { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|