已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
*轿内指示灯*inlamp1=(inbutton1 or inlamp1) and not left1inlamp2=(inbutton2 or inlamp2) and not left2inlamp3=(inbutton3 or inlamp3) and not left3inlamp4=(inbutton4 or inlamp4) and not left4*轿外指示灯*outlamp1=(outbutton1 or outlamp1) and not left1)outlamp2=(outbutton2 or outlamp2) and (not left2 or (leftup and not leftdown)outlamp3=(outbutton3 or outlamp3) and (not left2 or (leftup and not leftdown)outlamp4=(outbutton4 or outlamp4) and (not left3 or (leftup and not leftdown)outlamp5=(outbutton5 or outlamp5) and (not left3 or (leftup and not leftdown)outlamp6=(outbutton6 or outlamp6) and not left4)*定向程序 上行*leftup=(outlamp2 or outlamp3 or inlamp2) and not left2) or (outlamp4 or outlamp5 or inlamp3) and not left3) or (outlamp6 or inlamp4) and not left4 and not leftdown *定向程序 下行*leftdown=(outlamp4 or outlamp5 or inlamp3) and not left3) or (outlamp2 or outlamp3 or inlamp2) and not left2) or (outlamp1 or inlamp1) and not left1 and not leftup *平层自动开门设置*策略1*开关门控制;手动开门*if openbutton and not closebutton and not upmotor and not downmotor and not stateopen then dooropen=1if (outbutton1 or inbutton1) and left1 and not closebutton and not upmotor and not downmotor and not stateopen then dooropen=1if (outbutton2 or outbutton3 or inbutton2) and left2 and not closebutton and not upmotor and not downmotor and not stateopen then dooropen=1if (outbutton4 or outbutton5 or inbutton3) and left3 and not closebutton and not upmotor and not downmotor and not stateopen then dooropen=1if (outbutton6 or inbutton4) and left4 and not closebutton and not upmotor and not downmotor and not stateopen then dooropen=1if doorclose or stateopen then dooropen=0if (closebutton or closedoordelay) and not openbutton and not dooropen and not stateclose then doorclose=1if openbutton or stateclose then doorclose=0:closedoordelay=0endif*行吊电机正反转*upmotor= leftup and not dooropen and stateclosedownmotor= leftdown and not dooropen and statecloseif upmotor then 高度=高度-1if downmotor then 高度=高度+1left1=(高度=30):left2=(高度=20):left3=(高度=10):left4=(高度=0):if 高度=30 then leftnum=1if 高度=20 then leftnum=2if 高度=10 then leftnum=3if 高
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 麻纺厂消防设施管理细则
- 包装项目现场工程师岗位招聘考试试卷及答案
- 吉林省梅河口市五中2026届高三月考试卷(二)化学试题含解析
- 专题07 力学实验、电学实验(2大考点)(教师版)
- T∕AOPA 0101-2025 民用无人机机巢通 用术语
- 射频消融联合光动力治疗Barrett食管技术融合
- 2026年新疆乌鲁木齐地区高三毕业班摸底考试化学试题含解析
- 餐饮连锁加盟合同
- 医学26年:幼年性息肉病综合征 查房课件
- 2026历史新课程考试题及答案
- 部编四年级道德与法治下册全册教案(含反思)
- 国家职业技术技能标准 6-25-04-07 广电和通信设备电子装接工 人社厅发20199号
- (完整版)材料力学知识点总结
- 投诉法官枉法裁判范本
- 银行保安服务 投标方案(技术标)
- 《谏逐客书》市公开课一等奖课件范例
- 2023-2024年天原杯全国初中学生化学竞赛复赛试题(含答案)
- 2023年高考化学(湖南卷)真题详细解读及评析
- 群智能算法完整版本
- 困难气道患者手术的麻醉管理
- 中药处方优化方案
评论
0/150
提交评论