using BPA.Models;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.MorkF
{
internal class GVL_MorkF
{
///
/// 初始化完成状态
///
public bool InitialComplete { get; set; }
///
/// 供盘 模组状态 忙碌1 空闲0
///
public bool ProvidePlateModule { get; set; }
///
/// 供盘完成状态
///
public bool ProvidePlateComplete { get; set; }
///
/// 清洗模组1状态 忙碌1 空闲0
///
public bool CleanModule { get; set; }
///
/// 清洗模组2状态 忙碌1 空闲0
///
public bool SecondCleanModule { get; set; }
///
/// 清洗模组1完成状态
///
public bool CleanComplete { get; set; }
//
/// 清洗模组2完成状态
///
public bool SecondCleanComplete { get; set; }
///
/// 锅灶1状态 忙碌1 空闲0
///
public bool KitchenOneStatus { get; set; }
///
/// 锅灶1状态 忙碌1 空闲0
///
public bool KitchenSecondStatus { get; set; }
///
/// 锅灶1注油完成状态
///
public bool FallOilComplete { get; set; }
///
/// 锅灶2注油完成状态
///
public bool SecondOilComplete { get; set; }
///
/// 锅灶1翻转机上升完成状态
///
public bool TurnMachineUpComplete { get; set; }
///
/// 锅灶2翻转机上升完成状态
///
public bool SecondTurnMachineUpComplete { get; set; }
///
/// 锅灶1翻转机下降完成状态
///
public bool TurnMachineDownComplete { get; set; }
///
/// 锅灶2翻转机下降完成状态
///
public bool SecondTurnMachineDownComplete { get; set; }
///
/// 料仓旋转到位状态
///
public bool MaterialArriveComplete { get; set; }
///
/// 机器人空闲状态 1:忙碌 0:空闲
///
public bool RoobotIdle { get; set; }
///
/// 放锅至灶台1完成状态
///
public bool PutPotToKitchenComlete { get; set; }
///
/// 放锅至灶台2完成状态
///
public bool PutPotToSecondKitchenComlete { get; set; }
///
/// 机器人取料完成状态
///
public bool TakeMaterialComplete { get; set; }
///
/// 机器人放锅至清洗台1完成状态
///
public bool PlaceRinseTableComplete { get; set; }
///
/// 机器人放锅至清洗台2完成状态
///
public bool PlaceRinseSecondTableComplete { get; set; }
///
/// 订单取配料队列
///
public ConcurrentQueue TakeMaterialQueue = new ConcurrentQueue();
///
/// 订单供盘队列
///
public ConcurrentQueue TakePlateQueue = new ConcurrentQueue();
///
/// 存放主流程当前订单唯一ID
///
public string MainCurrentOrderId { get; set; }
///
/// 存放辅流程当前订单唯一ID
///
public string MinorCurrentOrderId { get; set; }
///
/// PLC上升沿初始化触发信号
///
public bool DevicDataInite { set; get; }
///
/// 取素菜A料完成
///
public bool TakeVegBurdenAComplete { get; set; }
///
/// 取荤菜A料完成
///
public bool TakeMeatBurdenAComplete { get; set; }
///
/// 所有A料下锅完成
///
public bool TakeAllBurdenAComplete { get; set; }
///
/// 取素菜B料完成
///
public bool TakeVegBurdenBComplete { get; set; }
///
/// 所有B料下锅完成
///
public bool TakeAllBurdenBComplete { get; set; }
///
/// 取C料完成
///
public bool TakeBurdenCComplete { get; set; }
///
/// 除C料外,所有配料下锅标志
///
public bool TakeAllBurdenComplete { get; set; }
///
/// 锅1到位 true:到位 false:未到位
///
public bool PotInPlace { get; set; }
///
/// 锅2到位 true:到位 false:未到位
///
public bool SecondPotInPlace { get; set; }
///
/// true:烹饪完成
///
public bool CookingComplete { get; set; }
///
/// 注油完成
///
public bool AddOilComplete { get; set; }
///
/// 1号锅倒料完成
///
public bool FallMaterialComplete { get; set; }
///
/// 2号锅倒料完成
///
public bool SecondFallMaterialComplete { get; set; }
///
/// 供盘互锁
///
public bool TakePlateLock { get; set; }
///
/// 取锅互锁
///
public bool TakePotLock { get; set; }
///
/// 取素菜A料互锁
///
public bool TakeVegALock { get; set; }
///
/// 取荤菜A料互锁
///
public bool TakeMeatALock { get; set; }
///
/// 取素菜B料互锁
///
public bool TakeVegBLock { get; set; }
///
/// 取C料互锁
///
public bool TakeBurdenCLcok { get; set; }
///
/// 烹饪任务互锁
///
public bool CookingLock { get; set; }
///
/// 转台互锁
///
public bool TurnTableLock { get; set; }
///
/// 主流程自锁
///
public bool MainProcessExcuteLock { get; set; }
///
/// 辅流程自锁
///
public bool MinorProcessExcuteLock { get; set; }
///
/// 开始取料标志
///
public bool AllowTakeMaterial { get; set; }
///
/// 主流程订单完成标志
///
public bool MainOutMealComplete { get; set; }
///
/// 辅流程订单完成标志
///
public bool MinorOutMealComplete { get; set; }
///
/// 主流程订单取料结束
///
public bool MainOrderMaterialCom { get; set; }
///
/// 主流程是否取料判断
///
public bool MainHasTakeMaterial { get; set; }
///
/// 主流程等待
///
public bool MainProcessWait { get; set; }
///
/// 辅流程等待
///
public bool MinorProcessWait { get; set; }
///
/// 辅流程订单取料结束
///
public bool MinorOrderMaterialCom { get; set; }
///
/// 辅流程是否取料判断
///
public bool MinorHasTakeMaterial { get; set; }
///
/// 存储订单对应流程对象
///
public List listStirBom=new List();
///
/// 下配料次数
///
public int MaterialCount { get; set; }
///
/// 允许执行辅流程标识
///
public bool MinorProcessFlag { get; set; }
///
/// 辅流程执行状态
///
public bool MinorProessStatus { get; set; }
///
/// 允许执行主流程标识
///
public bool MainProcessFlag { get; set; } = true;
///
/// 主流程执行状态
///
public bool MainProcessStatus { get; set; } = true;
///
/// 当前放锅位置 1:1号锅 2: 2号锅
///
public int CurrentPutPotLoc { get; set; }
///
/// 主流程所执行的锅位置
///
public int MainProcessPotLoc { get; set; }
///
/// 辅流程所执行的锅位置
///
public int MinorProcessPotLoc { get; set; }
#region 单口锅逻辑变量
///
/// 订单唯一ID
///
public string CurrentOrderId { get; set; }
#endregion
}
}