终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

676 lines
22 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace FryPot_DosingSystem.Control
  7. {
  8. /// <summary>
  9. /// plc变量
  10. /// </summary>
  11. internal class GlobalVariable
  12. {
  13. /// <summary>
  14. /// 滚筒线1
  15. /// </summary>
  16. public RollerLineOne rollerLineOne = new RollerLineOne();
  17. /// <summary>
  18. /// 滚筒线2
  19. /// </summary>
  20. public RollerLineTwo rollerLineTwo = new RollerLineTwo();
  21. /// <summary>
  22. /// 滚筒线3
  23. /// </summary>
  24. public RollerLineThree rollerLineThree = new RollerLineThree();
  25. /// <summary>
  26. /// 炒锅1
  27. /// </summary>
  28. public FryPotOne fryPotOne= new FryPotOne();
  29. /// <summary>
  30. /// 炒锅2
  31. /// </summary>
  32. public FryPotTwo fryPotTwo= new FryPotTwo();
  33. /// <summary>
  34. /// 炒锅3
  35. /// </summary>
  36. public FryPotThree fryPotThree= new FryPotThree();
  37. /// <summary>
  38. /// 炒锅4
  39. /// </summary>
  40. public FryPotFour fryPotFour= new FryPotFour();
  41. /// <summary>
  42. /// 炒锅5
  43. /// </summary>
  44. public FryPotFive fryPotFive= new FryPotFive();
  45. /// <summary>
  46. /// 洗桶进桶滚筒运行信号
  47. /// </summary>
  48. public ushort CleadBarrelEnterSingle { get; set; }
  49. /// <summary>
  50. /// 洗桶出桶滚筒运行信号
  51. /// </summary>
  52. public ushort CleadBarrelExitSingle { get; set; }
  53. /// <summary>
  54. /// PLC初始化状态
  55. /// </summary>
  56. public ushort PlcInite { get; set; }
  57. /// <summary>
  58. /// 清洗台清洗完成信号/洗桶出桶AGV呼叫信号
  59. /// </summary>
  60. public ushort CleanComplete { get; set; }
  61. #region 上位机内部逻辑条件
  62. /// <summary>
  63. /// 退出线体1任务
  64. /// </summary>
  65. public bool ExitLineOneTask { get; set; }
  66. /// <summary>
  67. /// 退出线体2任务
  68. /// </summary>
  69. public bool ExitLineTwoTask { get; set; }
  70. /// <summary>
  71. /// 退出线体3任务
  72. /// </summary>
  73. public bool ExitLineThreeTask { get; set; }
  74. /// <summary>
  75. /// 允许AGV去线体1装桶条件
  76. /// </summary>
  77. public bool AllowAgvToLineLoadRoller { get; set; } = true;
  78. /// <summary>
  79. /// 允许AGV去线体2装桶条件
  80. /// </summary>
  81. public bool AllowAgvToLineTwoLoadRoller { get; set; } = true;
  82. /// <summary>
  83. /// 允许AGV去线体3装桶条件
  84. /// </summary>
  85. public bool AllowAgvToLineThreeLoadRoller { get; set; } = true;
  86. ///// <summary>
  87. ///// 配方唯一ID
  88. ///// </summary>
  89. //public string RecipeId { get; set; }
  90. /// <summary>
  91. /// 线体1对应的进桶出桶互锁
  92. /// </summary>
  93. public bool InOrOutputLock { get; set; }
  94. /// <summary>
  95. /// 线体2对应的进桶出桶互锁
  96. /// </summary>
  97. public bool LTwoInOrOutputLock { get; set; }
  98. /// <summary>
  99. /// 线体3对应的进桶出桶互锁
  100. /// </summary>
  101. public bool LThreeInOrOutputLock { get; set; }
  102. ///// <summary>
  103. ///// 线体1任务执行锁
  104. ///// </summary>
  105. //public bool LOneTaskLock { get; set; }
  106. ///// <summary>
  107. ///// 线体2任务执行锁
  108. ///// </summary>
  109. //public bool LTwoTaskLock { get; set; }
  110. ///// <summary>
  111. ///// 线体3任务执行锁
  112. ///// </summary>
  113. //public bool LThreeTaskLock { get; set; }
  114. /// <summary>
  115. /// 线体1当前正在制作的配方名称
  116. /// </summary>
  117. public string LOneCurrentRecipeName { get; set; } = string.Empty;
  118. /// <summary>
  119. /// 线体2当前正在制作的配方名称
  120. /// </summary>
  121. public string LTwoCurrentRecipeName { get; set; } = string.Empty;
  122. /// <summary>
  123. /// 线体3当前正在制作的配方名称
  124. /// </summary>
  125. public string LThreeCurrentRecipeName { get; set; } = string.Empty;
  126. #endregion
  127. #region 线体1流程互锁变量
  128. public bool LoadRoller { get; set; }
  129. public bool AgvToFryPot { get; set; }
  130. public bool PotOneInputMaterialArrive { get; set; }
  131. public bool PotOneOutputRollerArrive { get; set; }
  132. public bool AgvArrivePot { get; set; }
  133. #endregion
  134. #region 线体2流程互锁变量
  135. public bool LTwoLoadRoller { get; set; }
  136. public bool LTwoAgvToFryPot { get; set; }
  137. public bool LTwoPotInputMaterialArrive { get; set; }
  138. public bool LTwoPotOutputRollerArrive { get; set; }
  139. public bool LTwoAgvArrivePot { get; set; }
  140. #endregion
  141. #region 线体3流程互锁变量
  142. public bool LThreeLoadRoller { get; set; }
  143. public bool LThreeAgvToFryPot { get; set; }
  144. public bool LThreePotInputMaterialArrive { get; set; }
  145. public bool LThreePotOutputRollerArrive { get; set; }
  146. public bool LThreeAgvArrivePot { get; set; }
  147. #endregion
  148. #region AGV视图显示变量
  149. public int LOneMaterialNum { get; set; } = 0;
  150. public int LOneFryPotSerial { get; set; } = 1;
  151. public int LOneCurrentCookingStep { get; set; } = 0;
  152. public bool agvArriveUpLoad { get; set; }
  153. public bool agvArriveUnLoad { get; set; }
  154. public bool agvFryPotEmptyRollerArrive { get; set; }
  155. public bool EmptyRollerUnLoadcCom { get; set; }//AGV空桶4号线体下料完成
  156. public bool agvLineOneLoadCom { get; set; }//线体1上料完成
  157. public int LTwoMaterialNum { get; set; } = 0;
  158. public int LTwoFryPotSerial { get; set; } = 2;
  159. public int LTwoCurrentCookingStep { get; set; } = 0;
  160. public bool agvArriveLTwoUpLoad { get; set; }
  161. public bool LTwoagvArriveUnLoad { get; set; }
  162. public bool LTwoagvFryPotEmptyRollerArrive { get; set; }
  163. public bool agvLineTwoLoadCom { get; set; }//线体2上料完成
  164. public int LThreeMaterialNum { get; set; } = 0;
  165. public int LThreeFryPotSerial { get; set; } = 3;
  166. public int LThreeCurrentCookingStep { get; set; } = 0;
  167. public bool agvArriveLThreeUpLoad { get; set; }
  168. public bool LThreeagvArriveUnLoad { get; set; }
  169. public bool LThreeagvFryPotEmptyRollerArrive { get; set; }
  170. public bool agvLineThreeLoadCom { get; set; }//线体1上料完成
  171. public int LFourRollerNum { get; set; } = 0;//4号线体空桶数量
  172. //新增空桶清洗系列变量
  173. public bool agvArriveLineFour { get; set; }//agv从清洗台到达线体4下料位置
  174. //public bool agvArriveCleanUnLoad { get; set; }//agv到达清洗台下料位置
  175. public bool agvArriveCleanLoad { get; set; }//agv到达清洗台上料位置
  176. public bool agvArriveLineOneLoadEmptyRoller { get; set; }//agv到达线体1空桶上料位置
  177. public bool agvArriveLineTwoLoadEmptyRoller { get; set; }//agv到达线体2空桶上料位置
  178. public bool agvArriveLineThreeLoadEmptyRoller { get; set; }//agv到达线体3空桶上料位置
  179. public bool agvArriveLineOneLoadCom { get; set; } //agv线体1空桶上料完成
  180. public bool agvArriveLineTwoLoadCom { get; set; } //agv线体2空桶上料完成
  181. public bool agvArriveLineThreeLoadCom { get; set; }//agv线体3空桶上料完成
  182. #endregion
  183. }
  184. /// <summary>
  185. /// 滚筒线1相关变量
  186. /// </summary>
  187. public class RollerLineOne
  188. {
  189. /// <summary>
  190. /// 工位号1
  191. /// </summary>
  192. public ushort StationOne { get; set; }
  193. /// <summary>
  194. /// 工位号2
  195. /// </summary>
  196. public ushort StationTwo { get; set; }
  197. /// <summary>
  198. /// 工位号3
  199. /// </summary>
  200. public ushort StationThree { get; set; }
  201. /// <summary>
  202. /// 工位号4
  203. /// </summary>
  204. public ushort StationFour { get; set; }
  205. /// <summary>
  206. /// 工位号5
  207. /// </summary>
  208. public ushort StationFive { get; set; }
  209. /// <summary>
  210. /// 工位号6
  211. /// </summary>
  212. public ushort StationSix { get; set; }
  213. /// <summary>
  214. /// 工位号7
  215. /// </summary>
  216. public ushort StationSeven { get; set; }
  217. /// <summary>
  218. /// 工位号8
  219. /// </summary>
  220. public ushort StationEight { get; set; }
  221. /// <summary>
  222. /// 输送出料滚筒运行信号
  223. /// </summary>
  224. public ushort OutMaterialingSingle { get; set; }
  225. /// <summary>
  226. /// 输送出料滚筒运行故障信号
  227. /// </summary>
  228. public ushort OutMaterialingTroubleSingle { get; set; }
  229. /// <summary>
  230. /// 当前线体配方完成信号
  231. /// </summary>
  232. public ushort RecipeCompleteSingle { get; set; }
  233. /// <summary>
  234. /// 当前配方完成的中转信号
  235. /// </summary>
  236. public ushort RecipeComMidSingle { get; set; } = 1;
  237. /// <summary>
  238. /// 线体1上空桶确认信号
  239. /// </summary>
  240. public ushort EmptyRollerConfirmSingle { get; set; }
  241. /// <summary>
  242. /// 线体1上单个空桶编号
  243. /// </summary>
  244. public ushort EmptyRollerNum { get; set; }
  245. /// <summary>
  246. /// 上一个桶是否是空桶,空桶上料结束后,配方料桶AGV才能去1号线装桶
  247. /// </summary>
  248. public bool IsEpmtyBefore { get; set; } //空桶上料结束后,配方料桶AGV才能去1号线装桶
  249. /// <summary>
  250. /// 配方料桶上料结束后,线体空桶AGV才能1号线装桶
  251. /// </summary>
  252. public bool CanRun { get; set; } = true; //配方料桶上料结束后,线体空桶AGV才能1号线装桶
  253. /// <summary>
  254. /// 线体1上所有空桶的编号集合
  255. /// </summary>
  256. public List<ushort> EmptyRollerNums { get; set; } = new List<ushort>();
  257. /// <summary>
  258. /// AGV从炒锅到达线体4空桶下料位置
  259. /// </summary>
  260. public bool agvArriveLineFour { get; set; }
  261. /// <summary>
  262. /// AGV从线体1到达清洗台
  263. /// </summary>
  264. public bool agvArriveCleanUnLoad { get; set; }
  265. }
  266. /// <summary>
  267. /// 滚筒线2相关变量
  268. /// </summary>
  269. public class RollerLineTwo
  270. {
  271. /// <summary>
  272. /// 工位号1
  273. /// </summary>
  274. public ushort StationOne { get; set; }
  275. /// <summary>
  276. /// 工位号2
  277. /// </summary>
  278. public ushort StationTwo { get; set; }
  279. /// <summary>
  280. /// 工位号3
  281. /// </summary>
  282. public ushort StationThree { get; set; }
  283. /// <summary>
  284. /// 工位号4
  285. /// </summary>
  286. public ushort StationFour { get; set; }
  287. /// <summary>
  288. /// 工位号5
  289. /// </summary>
  290. public ushort StationFive { get; set; }
  291. /// <summary>
  292. /// 工位号6
  293. /// </summary>
  294. public ushort StationSix { get; set; }
  295. /// <summary>
  296. /// 工位号7
  297. /// </summary>
  298. public ushort StationSeven { get; set; }
  299. /// <summary>
  300. /// 工位号8
  301. /// </summary>
  302. public ushort StationEight { get; set; }
  303. /// <summary>
  304. /// 输送出料滚筒运行信号
  305. /// </summary>
  306. public ushort OutMaterialingSingle { get; set; }
  307. /// <summary>
  308. /// 输送出料滚筒运行故障信号
  309. /// </summary>
  310. public ushort OutMaterialingTroubleSingle { get; set; }
  311. /// <summary>
  312. /// 当前线体配方完成信号
  313. /// </summary>
  314. public ushort RecipeCompleteSingle { get; set; }
  315. /// <summary>
  316. /// 当前配方完成的中转信号
  317. /// </summary>
  318. public ushort RecipeComMidSingle { get; set; } = 1;
  319. /// <summary>
  320. /// 线体1上空桶确认信号
  321. /// </summary>
  322. public ushort EmptyRollerConfirmSingle { get; set; }
  323. /// <summary>
  324. /// 线体1上单个空桶编号
  325. /// </summary>
  326. public ushort EmptyRollerNum { get; set; }
  327. /// <summary>
  328. /// 上一个同时否是空桶
  329. /// </summary>
  330. public bool IsEpmtyBefore { get; set; }
  331. public bool CanRun { get; set; } = true; //配方料桶上料结束后,线体空桶AGV才能1号线装桶
  332. /// <summary>
  333. /// 线体2上所有空桶的编号集合
  334. /// </summary>
  335. public List<ushort> EmptyRollerNums { get; set; } = new List<ushort>();
  336. /// <summary>
  337. /// AGV从炒锅到达线体4空桶下料位置
  338. /// </summary>
  339. public bool agvArriveLineFour { get; set; }
  340. /// <summary>
  341. /// AGV从线体2到达清洗台
  342. /// </summary>
  343. public bool agvArriveCleanUnLoad { get; set; }
  344. }
  345. /// <summary>
  346. /// 滚筒线3相关变量
  347. /// </summary>
  348. public class RollerLineThree
  349. {
  350. /// <summary>
  351. /// 工位号1
  352. /// </summary>
  353. public ushort StationOne { get; set; }
  354. /// <summary>
  355. /// 工位号2
  356. /// </summary>
  357. public ushort StationTwo { get; set; }
  358. /// <summary>
  359. /// 工位号3
  360. /// </summary>
  361. public ushort StationThree { get; set; }
  362. /// <summary>
  363. /// 工位号4
  364. /// </summary>
  365. public ushort StationFour { get; set; }
  366. /// <summary>
  367. /// 工位号5
  368. /// </summary>
  369. public ushort StationFive { get; set; }
  370. /// <summary>
  371. /// 工位号6
  372. /// </summary>
  373. public ushort StationSix { get; set; }
  374. /// <summary>
  375. /// 工位号7
  376. /// </summary>
  377. public ushort StationSeven { get; set; }
  378. /// <summary>
  379. /// 工位号8
  380. /// </summary>
  381. public ushort StationEight { get; set; }
  382. /// <summary>
  383. /// 输送出料滚筒运行信号
  384. /// </summary>
  385. public ushort OutMaterialingSingle { get; set; }
  386. /// <summary>
  387. /// 输送出料滚筒运行故障信号
  388. /// </summary>
  389. public ushort OutMaterialingTroubleSingle { get; set; }
  390. /// <summary>
  391. /// 当前线体配方完成信号
  392. /// </summary>
  393. public ushort RecipeCompleteSingle { get; set; }
  394. /// <summary>
  395. /// 当前配方完成的中转信号
  396. /// </summary>
  397. public ushort RecipeComMidSingle { get; set; } = 1;
  398. /// <summary>
  399. /// 线体1上空桶确认信号
  400. /// </summary>
  401. public ushort EmptyRollerConfirmSingle { get; set; }
  402. /// <summary>
  403. /// 线体1上单个空桶编号
  404. /// </summary>
  405. public ushort EmptyRollerNum { get; set; }
  406. /// <summary>
  407. /// 上一个同时否是空桶
  408. /// </summary>
  409. public bool IsEpmtyBefore { get; set; }
  410. public bool CanRun { get; set; } = true;//配方料桶上料结束后,线体空桶AGV才能1号线装桶
  411. /// <summary>
  412. /// 线体3上所有空桶的编号集合
  413. /// </summary>
  414. public List<ushort> EmptyRollerNums { get; set; } = new List<ushort>();
  415. /// <summary>
  416. /// AGV从炒锅到达线体4空桶下料位置
  417. /// </summary>
  418. public bool agvArriveLineFour { get; set; }
  419. /// <summary>
  420. /// AGV从线体3到达清洗台
  421. /// </summary>
  422. public bool agvArriveCleanUnLoad { get; set; }
  423. }
  424. /// <summary>
  425. /// 滚筒线4相关变量
  426. /// </summary>
  427. public class RollerLineFour
  428. {
  429. /// <summary>
  430. /// 工位号1
  431. /// </summary>
  432. public ushort StationOne { get; set; }
  433. /// <summary>
  434. /// 工位号2
  435. /// </summary>
  436. public ushort StationTwo { get; set; }
  437. /// <summary>
  438. /// 工位号3
  439. /// </summary>
  440. public ushort StationThree { get; set; }
  441. /// <summary>
  442. /// 工位号4
  443. /// </summary>
  444. public ushort StationFour { get; set; }
  445. /// <summary>
  446. /// 工位号5
  447. /// </summary>
  448. public ushort StationFive { get; set; }
  449. /// <summary>
  450. /// 工位号6
  451. /// </summary>
  452. public ushort StationSix { get; set; }
  453. /// <summary>
  454. /// 工位号7
  455. /// </summary>
  456. public ushort StationSeven { get; set; }
  457. /// <summary>
  458. /// 工位号8
  459. /// </summary>
  460. public ushort StationEight { get; set; }
  461. /// <summary>
  462. /// 输送出料滚筒运行信号
  463. /// </summary>
  464. public ushort OutMaterialingSingle { get; set; }
  465. /// <summary>
  466. /// 输送出料滚筒运行故障信号
  467. /// </summary>
  468. public ushort OutMaterialingTroubleSingle { get; set; }
  469. /// <summary>
  470. /// 当前线体配方完成信号
  471. /// </summary>
  472. public ushort RecipeCompleteSingle { get; set; }
  473. /// <summary>
  474. /// 当前配方完成的中转信号
  475. /// </summary>
  476. public ushort RecipeComMidSingle { get; set; } = 1;
  477. }
  478. /// <summary>
  479. /// 炒锅1相关变量
  480. /// </summary>
  481. public class FryPotOne
  482. {
  483. /// <summary>
  484. /// 进料滚筒运行信号
  485. /// </summary>
  486. public ushort InputMaterialRollerRunningSingle { get; set; }
  487. /// <summary>
  488. /// 进料到位信号
  489. /// </summary>
  490. public ushort InputMaterialArrivedSingle { get; set; }
  491. /// <summary>
  492. /// 空桶到位信号
  493. /// </summary>
  494. public ushort EmptyBarrelArrivedSingle { get; set; }
  495. /// <summary>
  496. /// 空桶滚筒运行信号
  497. /// </summary>
  498. public ushort EmptyBarrelRollerRunningSingle { get; set; }
  499. /// <summary>
  500. /// 滚筒故障信号
  501. /// </summary>
  502. public ushort RollerTroubleSingle { get; set; }
  503. /// <summary>
  504. /// 用油量确认信号
  505. /// </summary>
  506. public ushort OilConfirm { get; set; }
  507. /// <summary>
  508. /// 当前配方用油量
  509. /// </summary>
  510. public double OilCapacity { get; set; }
  511. }
  512. /// <summary>
  513. /// 炒锅2相关变量
  514. /// </summary>
  515. public class FryPotTwo
  516. {
  517. /// <summary>
  518. /// 进料滚筒运行信号
  519. /// </summary>
  520. public ushort InputMaterialRollerRunningSingle { get; set; }
  521. /// <summary>
  522. /// 进料到位信号
  523. /// </summary>
  524. public ushort InputMaterialArrivedSingle { get; set; }
  525. /// <summary>
  526. /// 空桶到位信号
  527. /// </summary>
  528. public ushort EmptyBarrelArrivedSingle { get; set; }
  529. /// <summary>
  530. /// 空桶滚筒运行信号
  531. /// </summary>
  532. public ushort EmptyBarrelRollerRunningSingle { get; set; }
  533. /// <summary>
  534. /// 滚筒故障信号
  535. /// </summary>
  536. public ushort RollerTroubleSingle { get; set; }
  537. /// <summary>
  538. /// 用油量确认信号
  539. /// </summary>
  540. public ushort OilConfirm { get; set; }
  541. /// <summary>
  542. /// 当前配方用油量
  543. /// </summary>
  544. public double OilCapacity { get; set; }
  545. }
  546. /// <summary>
  547. /// 炒锅3相关变量
  548. /// </summary>
  549. public class FryPotThree
  550. {
  551. /// <summary>
  552. /// 进料滚筒运行信号
  553. /// </summary>
  554. public ushort InputMaterialRollerRunningSingle { get; set; }
  555. /// <summary>
  556. /// 进料到位信号
  557. /// </summary>
  558. public ushort InputMaterialArrivedSingle { get; set; }
  559. /// <summary>
  560. /// 空桶到位信号
  561. /// </summary>
  562. public ushort EmptyBarrelArrivedSingle { get; set; }
  563. /// <summary>
  564. /// 空桶滚筒运行信号
  565. /// </summary>
  566. public ushort EmptyBarrelRollerRunningSingle { get; set; }
  567. /// <summary>
  568. /// 滚筒故障信号
  569. /// </summary>
  570. public ushort RollerTroubleSingle { get; set; }
  571. /// <summary>
  572. /// 用油量确认信号
  573. /// </summary>
  574. public ushort OilConfirm { get; set; }
  575. /// <summary>
  576. /// 当前配方用油量
  577. /// </summary>
  578. public double OilCapacity { get; set; }
  579. }
  580. /// <summary>
  581. /// 炒锅4相关变量
  582. /// </summary>
  583. public class FryPotFour
  584. {
  585. /// <summary>
  586. /// 进料滚筒运行信号
  587. /// </summary>
  588. public ushort InputMaterialRollerRunningSingle { get; set; }
  589. /// <summary>
  590. /// 进料到位信号
  591. /// </summary>
  592. public ushort InputMaterialArrivedSingle { get; set; }
  593. /// <summary>
  594. /// 空桶到位信号
  595. /// </summary>
  596. public ushort EmptyBarrelArrivedSingle { get; set; }
  597. /// <summary>
  598. /// 空桶滚筒运行信号
  599. /// </summary>
  600. public ushort EmptyBarrelRollerRunningSingle { get; set; }
  601. /// <summary>
  602. /// 滚筒故障信号
  603. /// </summary>
  604. public ushort RollerTroubleSingle { get; set; }
  605. /// <summary>
  606. /// 用油量确认信号
  607. /// </summary>
  608. public ushort OilConfirm { get; set; }
  609. /// <summary>
  610. /// 当前配方用油量
  611. /// </summary>
  612. public double OilCapacity { get; set; }
  613. }
  614. /// <summary>
  615. /// 炒锅5相关变量
  616. /// </summary>
  617. public class FryPotFive
  618. {
  619. /// <summary>
  620. /// 进料滚筒运行信号
  621. /// </summary>
  622. public ushort InputMaterialRollerRunningSingle { get; set; }
  623. /// <summary>
  624. /// 进料到位信号
  625. /// </summary>
  626. public ushort InputMaterialArrivedSingle { get; set; }
  627. /// <summary>
  628. /// 空桶到位信号
  629. /// </summary>
  630. public ushort EmptyBarrelArrivedSingle { get; set; }
  631. /// <summary>
  632. /// 空桶滚筒运行信号
  633. /// </summary>
  634. public ushort EmptyBarrelRollerRunningSingle { get; set; }
  635. /// <summary>
  636. /// 滚筒故障信号
  637. /// </summary>
  638. public ushort RollerTroubleSingle { get; set; }
  639. /// <summary>
  640. /// 用油量确认信号
  641. /// </summary>
  642. public ushort OilConfirm { get; set; }
  643. /// <summary>
  644. /// 当前配方用油量
  645. /// </summary>
  646. public double OilCapacity { get; set; }
  647. }
  648. }