|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace FryPot_DosingSystem.Control
- {
- /// <summary>
- /// plc变量
- /// </summary>
- internal class GlobalVariable
- {
- /// <summary>
- /// 滚筒线心跳
- /// </summary>
- public ushort LineHeartBeat { get; set; } = 2;
- /// <summary>
- /// 滚筒线心跳异常次数
- /// </summary>
- public int LBeatStopTimes { get; set; }
- /// <summary>
- /// 根据滚筒线心跳判断是否允许下单
- /// </summary>
- public bool CanPlaceOrder { get; set; }
-
-
- /// <summary>
- /// 炒锅1心跳
- /// </summary>
- public ushort PotOneHeartBeat { get; set; } = 2;
- /// <summary>
- /// 炒锅1心跳异常次数
- /// </summary>
- public int POneBeatStopTimes { get; set; }
- /// <summary>
- /// 炒锅2心跳
- /// </summary>
- public ushort PotTwoHeartBeat { get; set; } = 2;
- /// <summary>
- /// 炒锅2心跳异常次数
- /// </summary>
- public int PTwoBeatStopTimes { get; set; }
- /// <summary>
- /// 炒锅3心跳
- /// </summary>
- public ushort PotThreeHeartBeat { get; set; } = 2;
- /// <summary>
- /// 炒锅3心跳异常次数
- /// </summary>
- public int PThreeBeatStopTimes { get; set; }
-
- /// <summary>
- /// 炒锅4心跳
- /// </summary>
- public ushort PotFourHeartBeat { get; set; } = 2;
- /// <summary>
- /// 炒锅4心跳异常次数
- /// </summary>
- public int PFourBeatStopTimes { get; set; }
- /// <summary>
- /// 炒锅5心跳
- /// </summary>
- public ushort PotFiveHeartBeat { get; set; } = 2;
- /// <summary>
- /// 炒锅5心跳异常次数
- /// </summary>
- public int PFiveBeatStopTimes { get; set; }
-
- /// <summary>
- /// 滚筒线1
- /// </summary>
- public RollerLineOne rollerLineOne = new RollerLineOne();
- /// <summary>
- /// 滚筒线2
- /// </summary>
- public RollerLineTwo rollerLineTwo = new RollerLineTwo();
- /// <summary>
- /// 滚筒线3
- /// </summary>
- public RollerLineThree rollerLineThree = new RollerLineThree();
-
- /// <summary>
- /// 炒锅1
- /// </summary>
- public FryPotOne fryPotOne= new FryPotOne();
- /// <summary>
- /// 炒锅2
- /// </summary>
- public FryPotTwo fryPotTwo= new FryPotTwo();
- /// <summary>
- /// 炒锅3
- /// </summary>
- public FryPotThree fryPotThree= new FryPotThree();
- /// <summary>
- /// 炒锅4
- /// </summary>
- public FryPotFour fryPotFour= new FryPotFour();
- /// <summary>
- /// 炒锅5
- /// </summary>
- public FryPotFive fryPotFive= new FryPotFive();
- /// <summary>
- /// 洗桶进桶滚筒运行信号
- /// </summary>
- public ushort CleadBarrelEnterSingle { get; set; }
- /// <summary>
- /// 洗桶出桶滚筒运行信号
- /// </summary>
- public ushort CleadBarrelExitSingle { get; set; }
- /// <summary>
- /// PLC初始化状态
- /// </summary>
- public ushort PlcInite { get; set; }
- /// <summary>
- /// 清洗台清洗完成信号/洗桶出桶AGV呼叫信号
- /// </summary>
- public ushort CleanComplete { get; set; }
- #region 上位机内部逻辑条件
- /// <summary>
- /// 退出线体1任务
- /// </summary>
- public bool ExitLineOneTask { get; set; }
- /// <summary>
- /// 退出线体2任务
- /// </summary>
- public bool ExitLineTwoTask { get; set; }
- /// <summary>
- /// 退出线体3任务
- /// </summary>
- public bool ExitLineThreeTask { get; set; }
- /// <summary>
- /// 允许AGV去线体1装桶条件
- /// </summary>
- public bool AllowAgvToLineLoadRoller { get; set; } = true;
- /// <summary>
- /// 允许AGV去线体2装桶条件
- /// </summary>
- public bool AllowAgvToLineTwoLoadRoller { get; set; } = true;
- /// <summary>
- /// 允许AGV去线体3装桶条件
- /// </summary>
- public bool AllowAgvToLineThreeLoadRoller { get; set; } = true;
- ///// <summary>
- ///// 配方唯一ID
- ///// </summary>
- //public string RecipeId { get; set; }
- /// <summary>
- /// 线体1对应的进桶出桶互锁
- /// </summary>
- public bool InOrOutputLock { get; set; }
- /// <summary>
- /// 线体2对应的进桶出桶互锁
- /// </summary>
- public bool LTwoInOrOutputLock { get; set; }
- /// <summary>
- /// 线体3对应的进桶出桶互锁
- /// </summary>
- public bool LThreeInOrOutputLock { get; set; }
- ///// <summary>
- ///// 线体1任务执行锁
- ///// </summary>
- //public bool LOneTaskLock { get; set; }
- ///// <summary>
- ///// 线体2任务执行锁
- ///// </summary>
- //public bool LTwoTaskLock { get; set; }
- ///// <summary>
- ///// 线体3任务执行锁
- ///// </summary>
- //public bool LThreeTaskLock { get; set; }
- /// <summary>
- /// 线体1当前正在制作的配方名称
- /// </summary>
- public string LOneCurrentRecipeName { get; set; } = string.Empty;
- /// <summary>
- /// 线体2当前正在制作的配方名称
- /// </summary>
- public string LTwoCurrentRecipeName { get; set; } = string.Empty;
- /// <summary>
- /// 线体3当前正在制作的配方名称
- /// </summary>
- public string LThreeCurrentRecipeName { get; set; } = string.Empty;
- #endregion
- #region 线体1流程互锁变量
- public bool LoadRoller { get; set; }
-
- public bool AgvToFryPot { get; set; }
-
-
- public bool PotOneInputMaterialArrive { get; set; }
- public bool PotOneOutputRollerArrive { get; set; }
- public bool AgvArrivePot { get; set; }
- #endregion
- #region 线体2流程互锁变量
-
- public bool LTwoLoadRoller { get; set; }
-
- public bool LTwoAgvToFryPot { get; set; }
-
- public bool LTwoPotInputMaterialArrive { get; set; }
- public bool LTwoPotOutputRollerArrive { get; set; }
- public bool LTwoAgvArrivePot { get; set; }
- #endregion
- #region 线体3流程互锁变量
-
- public bool LThreeLoadRoller { get; set; }
-
- public bool LThreeAgvToFryPot { get; set; }
-
- public bool LThreePotInputMaterialArrive { get; set; }
- public bool LThreePotOutputRollerArrive { get; set; }
- public bool LThreeAgvArrivePot { get; set; }
- #endregion
- #region AGV视图显示变量
- public int LOneMaterialNum { get; set; } = 0;
- public int LOneFryPotSerial { get; set; } = 0;
- public int LOneCurrentCookingStep { get; set; } = 0;
- public int LFourCurrentCookingStep { get; set; } = 0;
- public bool agvArriveUpLoad { get; set; }
- public bool agvArriveUnLoad { get; set; }
- public bool agvFryPotEmptyRollerArrive { get; set; }
- public bool EmptyRollerUnLoadcCom { get; set; }//AGV空桶4号线体下料完成
- public bool agvLineOneLoadCom { get; set; }//线体1满料桶上料完成
- //2022.11.1 新增
-
-
-
- public int LTwoMaterialNum { get; set; } = 0;
- public int LTwoFryPotSerial { get; set; } =0;
- public int LFiveCurrentCookingStep { get; set; } = 0;
- public int LTwoCurrentCookingStep { get; set; } = 0;
- public bool agvArriveLTwoUpLoad { get; set; }
- public bool LTwoagvArriveUnLoad { get; set; }
- public bool LTwoagvFryPotEmptyRollerArrive { get; set; }
- public bool agvLineTwoLoadCom { get; set; }//线体2上料完成
-
- public int LThreeMaterialNum { get; set; } = 0;
- public int LThreeFryPotSerial { get; set; } = 0;
- public int LThreeCurrentCookingStep { get; set; } = 0;
- public bool agvArriveLThreeUpLoad { get; set; }
- public bool LThreeagvArriveUnLoad { get; set; }
- public bool LThreeagvFryPotEmptyRollerArrive { get; set; }
- public bool agvLineThreeLoadCom { get; set; }//线体1上料完成
-
- public int LFourRollerNum { get; set; } = 0;//4号线体空桶数量
- //新增空桶清洗系列变量
- public bool agvArriveLineFour { get; set; }//agv从清洗台到达线体4下料位置
- //public bool agvArriveCleanUnLoad { get; set; }//agv到达清洗台下料位置
- public bool agvArriveCleanLoad { get; set; }//agv到达清洗台上料位置
-
- public bool agvArriveLineOneLoadEmptyRoller { get; set; }//agv到达线体1空桶上料位置
- public bool agvArriveLineTwoLoadEmptyRoller { get; set; }//agv到达线体2空桶上料位置
-
- public bool agvArriveLineThreeLoadEmptyRoller { get; set; }//agv到达线体3空桶上料位置
-
- public bool agvArriveLineOneLoadCom { get; set; } //agv线体1空桶上料完成
- public bool agvArriveLineTwoLoadCom { get; set; } //agv线体2空桶上料完成
- public bool agvArriveLineThreeLoadCom { get; set; }//agv线体3空桶上料完成
-
- /// <summary>
- /// 允许下一个空桶去洗桶
- /// </summary>
- public bool AllowNextEmptyRollerToClean { get; set; } = true;
-
-
-
- #endregion
-
-
- #region AGV任务号对应的AGV故障信号
- /// <summary>
- /// 线体1到炒锅1,4 AGV故障
- /// </summary>
- public bool LineOneRobotTaskError { get; set; }
-
- public bool LineTwoRobotTaskError { get; set; }
-
- public bool LineThreeRobotTaskError { get; set; }
-
- public bool LineFourRobotTaskError { get; set; }
-
- public bool LineFiveRobotTaskError { get; set; }
-
- public bool LineSixRobotTaskError { get; set; }
-
- public bool LineSevenRobotTaskError { get; set; }
-
- public bool LineEightRobotTaskError { get; set; }
-
- public bool LineNineRobotTaskError { get; set; }
-
- public bool LineTenRobotTaskError { get; set; }
- #endregion
- }
- /// <summary>
- /// 滚筒线1相关变量
- /// </summary>
- public class RollerLineOne
- {
- /// <summary>
- /// 工位号1
- /// </summary>
- public ushort StationOne { get; set; }
- /// <summary>
- /// 工位号2
- /// </summary>
- public ushort StationTwo { get; set; }
- /// <summary>
- /// 工位号3
- /// </summary>
- public ushort StationThree { get; set; }
- /// <summary>
- /// 工位号4
- /// </summary>
- public ushort StationFour { get; set; }
- /// <summary>
- /// 工位号5
- /// </summary>
- public ushort StationFive { get; set; }
- /// <summary>
- /// 工位号6
- /// </summary>
- public ushort StationSix { get; set; }
- /// <summary>
- /// 工位号7
- /// </summary>
- public ushort StationSeven { get; set; }
- /// <summary>
- /// 工位号8
- /// </summary>
- public ushort StationEight { get; set; }
- /// <summary>
- /// 输送出料滚筒运行信号
- /// </summary>
- public ushort OutMaterialingSingle { get; set; }
- /// <summary>
- /// 输送出料滚筒运行故障信号
- /// </summary>
- public ushort OutMaterialingTroubleSingle { get; set; }
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
- /// <summary>
- /// 当前配方完成的中转信号
- /// </summary>
- public ushort RecipeComMidSingle { get; set; } = 1;
- /// <summary>
- /// 线体1上空桶确认信号
- /// </summary>
- public ushort EmptyRollerConfirmSingle { get; set; }
- /// <summary>
- /// 线体1上单个空桶编号
- /// </summary>
- public ushort EmptyRollerNum { get; set; }
-
- /// <summary>
- /// 上一个桶是否是空桶,空桶上料结束后,配方料桶AGV才能去1号线装桶
- /// </summary>
- public bool IsEpmtyBefore { get; set; } //空桶上料结束后,配方料桶AGV才能去1号线装桶
- /// <summary>
- /// 配方料桶上料结束后,线体空桶AGV才能1号线装桶
- /// </summary>
- public bool CanRun { get; set; } = true; //配方料桶上料结束后,线体空桶AGV才能1号线装桶
- /// <summary>
- /// 线体1上所有空桶的编号集合
- /// </summary>
- public List<ushort> EmptyRollerNums { get; set; } = new List<ushort>();
- /// <summary>
- /// AGV从炒锅到达线体4空桶下料位置
- /// </summary>
- public bool agvArriveLineFour { get; set; }
- /// <summary>
- /// AGV从线体1到达清洗台
- /// </summary>
- public bool agvArriveCleanUnLoad { get; set; }
- /// <summary>
- /// 下位确认执行信号 true:执行 false:不执行
- /// </summary>
- public ushort ExcuteIsConfirm { get; set;} //默认为:0,确认执行:1,取消执行:2
- /// <summary>
- /// 线体1流程控制互锁信号
- /// </summary>
- public bool NextStart { get; set; }
-
- /// <summary>
- /// 下位信号判断
- /// </summary>
- public bool LowSignalJude { get; set; }
-
- /// <summary>
- /// 集中洗桶模式
- /// </summary>
- public ushort WashEmptyRollerModel { get; set; }
- /// <summary>
- /// 洗桶就位信号
- /// </summary>
- public ushort WashRollerArriveSignal { get; set; }
-
-
- }
- /// <summary>
- /// 滚筒线2相关变量
- /// </summary>
- public class RollerLineTwo
- {
- /// <summary>
- /// 工位号1
- /// </summary>
- public ushort StationOne { get; set; }
- /// <summary>
- /// 工位号2
- /// </summary>
- public ushort StationTwo { get; set; }
- /// <summary>
- /// 工位号3
- /// </summary>
- public ushort StationThree { get; set; }
- /// <summary>
- /// 工位号4
- /// </summary>
- public ushort StationFour { get; set; }
- /// <summary>
- /// 工位号5
- /// </summary>
- public ushort StationFive { get; set; }
- /// <summary>
- /// 工位号6
- /// </summary>
- public ushort StationSix { get; set; }
- /// <summary>
- /// 工位号7
- /// </summary>
- public ushort StationSeven { get; set; }
- /// <summary>
- /// 工位号8
- /// </summary>
- public ushort StationEight { get; set; }
- /// <summary>
- /// 输送出料滚筒运行信号
- /// </summary>
- public ushort OutMaterialingSingle { get; set; }
- /// <summary>
- /// 输送出料滚筒运行故障信号
- /// </summary>
- public ushort OutMaterialingTroubleSingle { get; set; }
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
- /// <summary>
- /// 当前配方完成的中转信号
- /// </summary>
- public ushort RecipeComMidSingle { get; set; } = 1;
- /// <summary>
- /// 线体1上空桶确认信号
- /// </summary>
- public ushort EmptyRollerConfirmSingle { get; set; }
- /// <summary>
- /// 线体1上单个空桶编号
- /// </summary>
- public ushort EmptyRollerNum { get; set; }
- /// <summary>
- /// 上一个同时否是空桶
- /// </summary>
- public bool IsEpmtyBefore { get; set; }
-
- public bool CanRun { get; set; } = true; //配方料桶上料结束后,线体空桶AGV才能1号线装桶
- /// <summary>
- /// 线体2上所有空桶的编号集合
- /// </summary>
- public List<ushort> EmptyRollerNums { get; set; } = new List<ushort>();
- /// <summary>
- /// AGV从炒锅到达线体4空桶下料位置
- /// </summary>
- public bool agvArriveLineFour { get; set; }
- /// <summary>
- /// AGV从线体2到达清洗台
- /// </summary>
- public bool agvArriveCleanUnLoad { get; set; }
-
-
- /// <summary>
- /// 下位确认执行信号 true:执行 false:不执行
- /// </summary>
- public ushort ExcuteIsConfirm { get; set; }
- /// <summary>
- /// 线体1流程控制互锁信号
- /// </summary>
- public bool NextStart { get; set; }
-
- /// <summary>
- /// 下位信号判断
- /// </summary>
- public bool LowSignalJude { get; set; }
-
- /// <summary>
- /// 集中洗桶模式
- /// </summary>
- public ushort WashEmptyRollerModel { get; set; }
- /// <summary>
- /// 洗桶就位信号
- /// </summary>
- public ushort WashRollerArriveSignal { get; set; }
-
- }
- /// <summary>
- /// 滚筒线3相关变量
- /// </summary>
- public class RollerLineThree
- {
- /// <summary>
- /// 工位号1
- /// </summary>
- public ushort StationOne { get; set; }
- /// <summary>
- /// 工位号2
- /// </summary>
- public ushort StationTwo { get; set; }
- /// <summary>
- /// 工位号3
- /// </summary>
- public ushort StationThree { get; set; }
- /// <summary>
- /// 工位号4
- /// </summary>
- public ushort StationFour { get; set; }
- /// <summary>
- /// 工位号5
- /// </summary>
- public ushort StationFive { get; set; }
- /// <summary>
- /// 工位号6
- /// </summary>
- public ushort StationSix { get; set; }
- /// <summary>
- /// 工位号7
- /// </summary>
- public ushort StationSeven { get; set; }
- /// <summary>
- /// 工位号8
- /// </summary>
- public ushort StationEight { get; set; }
- /// <summary>
- /// 输送出料滚筒运行信号
- /// </summary>
- public ushort OutMaterialingSingle { get; set; }
- /// <summary>
- /// 输送出料滚筒运行故障信号
- /// </summary>
- public ushort OutMaterialingTroubleSingle { get; set; }
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
- /// <summary>
- /// 当前配方完成的中转信号
- /// </summary>
- public ushort RecipeComMidSingle { get; set; } = 1;
- /// <summary>
- /// 线体1上空桶确认信号
- /// </summary>
- public ushort EmptyRollerConfirmSingle { get; set; }
- /// <summary>
- /// 线体1上单个空桶编号
- /// </summary>
- public ushort EmptyRollerNum { get; set; }
- /// <summary>
- /// 上一个同时否是空桶
- /// </summary>
- public bool IsEpmtyBefore { get; set; }
-
- public bool CanRun { get; set; } = true;//配方料桶上料结束后,线体空桶AGV才能1号线装桶
-
- /// <summary>
- /// 线体3上所有空桶的编号集合
- /// </summary>
- public List<ushort> EmptyRollerNums { get; set; } = new List<ushort>();
- /// <summary>
- /// AGV从炒锅到达线体4空桶下料位置
- /// </summary>
- public bool agvArriveLineFour { get; set; }
- /// <summary>
- /// AGV从线体3到达清洗台
- /// </summary>
- public bool agvArriveCleanUnLoad { get; set; }
-
- /// <summary>
- /// 下位确认执行信号 true:执行 false:不执行
- /// </summary>
- public ushort ExcuteIsConfirm { get; set; }
- /// <summary>
- /// 线体1流程控制互锁信号
- /// </summary>
- public bool NextStart { get; set; }
-
- /// <summary>
- /// 下位信号判断
- /// </summary>
- public bool LowSignalJude { get; set; }
-
- /// <summary>
- /// 集中洗桶模式
- /// </summary>
- public ushort WashEmptyRollerModel { get; set; }
- /// <summary>
- /// 洗桶就位信号
- /// </summary>
- public ushort WashRollerArriveSignal { get; set; }
-
-
- }
- /// <summary>
- /// 滚筒线4相关变量
- /// </summary>
- public class RollerLineFour
- {
- /// <summary>
- /// 工位号1
- /// </summary>
- public ushort StationOne { get; set; }
- /// <summary>
- /// 工位号2
- /// </summary>
- public ushort StationTwo { get; set; }
- /// <summary>
- /// 工位号3
- /// </summary>
- public ushort StationThree { get; set; }
- /// <summary>
- /// 工位号4
- /// </summary>
- public ushort StationFour { get; set; }
- /// <summary>
- /// 工位号5
- /// </summary>
- public ushort StationFive { get; set; }
- /// <summary>
- /// 工位号6
- /// </summary>
- public ushort StationSix { get; set; }
- /// <summary>
- /// 工位号7
- /// </summary>
- public ushort StationSeven { get; set; }
- /// <summary>
- /// 工位号8
- /// </summary>
- public ushort StationEight { get; set; }
- /// <summary>
- /// 输送出料滚筒运行信号
- /// </summary>
- public ushort OutMaterialingSingle { get; set; }
- /// <summary>
- /// 输送出料滚筒运行故障信号
- /// </summary>
- public ushort OutMaterialingTroubleSingle { get; set; }
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
- /// <summary>
- /// 当前配方完成的中转信号
- /// </summary>
- public ushort RecipeComMidSingle { get; set; } = 1;
-
- }
- /// <summary>
- /// 炒锅1相关变量
- /// </summary>
- public class FryPotOne
- {
- /// <summary>
- /// 进料滚筒运行信号
- /// </summary>
- public ushort InputMaterialRollerRunningSingle { get; set; }
- /// <summary>
- /// 进料到位信号
- /// </summary>
- public ushort InputMaterialArrivedSingle { get; set; }
- /// <summary>
- /// 空桶到位信号
- /// </summary>
- public ushort EmptyBarrelArrivedSingle { get; set; }
- /// <summary>
- /// 空桶滚筒运行信号
- /// </summary>
- public ushort EmptyBarrelRollerRunningSingle { get; set; }
- /// <summary>
- /// 滚筒故障信号
- /// </summary>
- public ushort RollerTroubleSingle { get; set; }
-
- /// <summary>
- /// 用油量确认信号
- /// </summary>
- public ushort OilConfirm { get; set; }
- /// <summary>
- /// 当前配方用油量
- /// </summary>
- public double OilCapacity { get; set; }
-
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
- /// <summary>
- /// 炒股当前步数
- /// </summary>
- public ushort ProcessStep { get; set; }
- }
- /// <summary>
- /// 炒锅2相关变量
- /// </summary>
- public class FryPotTwo
- {
- /// <summary>
- /// 进料滚筒运行信号
- /// </summary>
- public ushort InputMaterialRollerRunningSingle { get; set; }
- /// <summary>
- /// 进料到位信号
- /// </summary>
- public ushort InputMaterialArrivedSingle { get; set; }
- /// <summary>
- /// 空桶到位信号
- /// </summary>
- public ushort EmptyBarrelArrivedSingle { get; set; }
- /// <summary>
- /// 空桶滚筒运行信号
- /// </summary>
- public ushort EmptyBarrelRollerRunningSingle { get; set; }
- /// <summary>
- /// 滚筒故障信号
- /// </summary>
- public ushort RollerTroubleSingle { get; set; }
- /// <summary>
- /// 用油量确认信号
- /// </summary>
- public ushort OilConfirm { get; set; }
- /// <summary>
- /// 当前配方用油量
- /// </summary>
- public double OilCapacity { get; set; }
-
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
- /// <summary>
- /// 炒锅当前步数
- /// </summary>
- public ushort ProcessStep { get; set; }
- }
- /// <summary>
- /// 炒锅3相关变量
- /// </summary>
- public class FryPotThree
- {
- /// <summary>
- /// 进料滚筒运行信号
- /// </summary>
- public ushort InputMaterialRollerRunningSingle { get; set; }
- /// <summary>
- /// 进料到位信号
- /// </summary>
- public ushort InputMaterialArrivedSingle { get; set; }
- /// <summary>
- /// 空桶到位信号
- /// </summary>
- public ushort EmptyBarrelArrivedSingle { get; set; }
- /// <summary>
- /// 空桶滚筒运行信号
- /// </summary>
- public ushort EmptyBarrelRollerRunningSingle { get; set; }
- /// <summary>
- /// 滚筒故障信号
- /// </summary>
- public ushort RollerTroubleSingle { get; set; }
- /// <summary>
- /// 用油量确认信号
- /// </summary>
- public ushort OilConfirm { get; set; }
- /// <summary>
- /// 当前配方用油量
- /// </summary>
- public double OilCapacity { get; set; }
-
-
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
-
- /// <summary>
- /// 炒股当前步数
- /// </summary>
- public ushort ProcessStep { get; set; }
- }
- /// <summary>
- /// 炒锅4相关变量
- /// </summary>
- public class FryPotFour
- {
- /// <summary>
- /// 进料滚筒运行信号
- /// </summary>
- public ushort InputMaterialRollerRunningSingle { get; set; }
- /// <summary>
- /// 进料到位信号
- /// </summary>
- public ushort InputMaterialArrivedSingle { get; set; }
- /// <summary>
- /// 空桶到位信号
- /// </summary>
- public ushort EmptyBarrelArrivedSingle { get; set; }
- /// <summary>
- /// 空桶滚筒运行信号
- /// </summary>
- public ushort EmptyBarrelRollerRunningSingle { get; set; }
- /// <summary>
- /// 滚筒故障信号
- /// </summary>
- public ushort RollerTroubleSingle { get; set; }
- /// <summary>
- /// 用油量确认信号
- /// </summary>
- public ushort OilConfirm { get; set; }
- /// <summary>
- /// 当前配方用油量
- /// </summary>
- public double OilCapacity { get; set; }
-
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
-
- /// <summary>
- /// 炒股当前步数
- /// </summary>
- public ushort ProcessStep { get; set; }
- }
- /// <summary>
- /// 炒锅5相关变量
- /// </summary>
- public class FryPotFive
- {
- /// <summary>
- /// 进料滚筒运行信号
- /// </summary>
- public ushort InputMaterialRollerRunningSingle { get; set; }
- /// <summary>
- /// 进料到位信号
- /// </summary>
- public ushort InputMaterialArrivedSingle { get; set; }
- /// <summary>
- /// 空桶到位信号
- /// </summary>
- public ushort EmptyBarrelArrivedSingle { get; set; }
- /// <summary>
- /// 空桶滚筒运行信号
- /// </summary>
- public ushort EmptyBarrelRollerRunningSingle { get; set; }
- /// <summary>
- /// 滚筒故障信号
- /// </summary>
- public ushort RollerTroubleSingle { get; set; }
- /// <summary>
- /// 用油量确认信号
- /// </summary>
- public ushort OilConfirm { get; set; }
- /// <summary>
- /// 当前配方用油量
- /// </summary>
- public double OilCapacity { get; set; }
-
- /// <summary>
- /// 当前线体配方完成信号
- /// </summary>
- public ushort RecipeCompleteSingle { get; set; }
-
- /// <summary>
- /// 炒股当前步数
- /// </summary>
- public ushort ProcessStep { get; set; }
- }
- }
|