VPWHomeRoutine.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. using Aitex.Core.RT.Device;
  2. using Aitex.Core.RT.IOCore;
  3. using Aitex.Core.RT.Log;
  4. using Aitex.Core.RT.Routine;
  5. using Aitex.Core.RT.SCCore;
  6. using Aitex.Core.Util;
  7. using MECF.Framework.Common.Equipment;
  8. using MECF.Framework.Common.Routine;
  9. using PunkHPX8_Core;
  10. using PunkHPX8_RT.Devices.VpwCell;
  11. using PunkHPX8_RT.Devices.VpwMain;
  12. using PunkHPX8_RT.Modules.VpwCell;
  13. using SecsGem.Core.ItemModel;
  14. using System;
  15. using System.Collections.Generic;
  16. using System.Linq;
  17. using System.Reflection;
  18. using System.Runtime.CompilerServices;
  19. using System.Text;
  20. using System.Threading.Tasks;
  21. namespace PunkHPX8_RT.Modules.VpwMain
  22. {
  23. public class VPWHomeRoutine : RoutineBase, IRoutine
  24. {
  25. private enum HomeStep
  26. {
  27. CloseDegasPumpAndAdjustValve,
  28. ChameberUp,
  29. OpenCellDrainValve,
  30. HomeRotation,
  31. CheckRotationStatus,
  32. StartRotation,
  33. CheckRotationRunning,
  34. CloseDiwDegas,
  35. N2PurgeDelay,
  36. CloseN2Purge,
  37. BoostPumpEnable,
  38. CheckPumpEnable,
  39. FlowDelay,
  40. CheckFlow,
  41. CheckCellFlow,
  42. StopRotation,
  43. CheckStopStatus,
  44. CheckTotalFlowOk,
  45. LastHomeRotation,
  46. CheckLastHomeRotation,
  47. CheckFlowOk,
  48. DegasDelay,
  49. OpenDegas,
  50. ChamberDown,
  51. LastCheckStatus,
  52. End
  53. }
  54. #region 常量
  55. /// <summary>
  56. /// 增加额外一分钟
  57. /// </summary>
  58. private const int PLUS_TIME = 60000;
  59. #endregion
  60. #region 内部变量
  61. /// <summary>
  62. /// Cell device集合
  63. /// </summary>
  64. private List<VpwCellDevice> _vpwCellDevices=new List<VpwCellDevice>();
  65. /// <summary>
  66. /// Main Device
  67. /// </summary>
  68. private VpwMainDevice _mainDevice;
  69. /// <summary>
  70. /// cell集合
  71. /// </summary>
  72. private List<VpwCellDevice> _cellLst=new List<VpwCellDevice>();
  73. /// <summary>
  74. /// N2 Purge时长
  75. /// </summary>
  76. private int _n2PurgeTime = 15000;
  77. /// <summary>
  78. /// Flow holder off time
  79. /// </summary>
  80. private int _flowFaultHolderoffTime = 15000;
  81. /// <summary>
  82. /// Degas delay时间
  83. /// </summary>
  84. private int _degasEnableDelayTime = 2000;
  85. /// <summary>
  86. /// 旋转速度
  87. /// </summary>
  88. private int _rotationSpeed = 0;
  89. /// <summary>
  90. /// 总流量起始流量数值
  91. /// </summary>
  92. private double _totalFlowStartLimit = 2.0;
  93. /// <summary>
  94. /// Cell起始流量数值
  95. /// </summary>
  96. private double _cellFlowStartLimit = 2.0;
  97. /// <summary>
  98. /// total flow合格
  99. /// </summary>
  100. private bool _totalFlowOk = false;
  101. /// <summary>
  102. /// cell flow合格集合
  103. /// </summary>
  104. private Dictionary<string,bool> _cellFlowOk = new Dictionary<string, bool>();
  105. /// <summary>
  106. /// 检验流量是否ok
  107. /// </summary>
  108. private bool _checkFlowOk = false;
  109. /// <summary>
  110. /// 总流量
  111. /// </summary>
  112. private double _totalFlow = 0;
  113. /// <summary>
  114. /// Cell注意集合
  115. /// </summary>
  116. private Dictionary<string,double> _cellFlows = new Dictionary<string, double>();
  117. /// <summary>
  118. /// 检验chamber是否上升/下降到位
  119. /// </summary>
  120. private int _checkChamberUpDownTimes = 3;
  121. #endregion
  122. /// <summary>
  123. /// 构造函数
  124. /// </summary>
  125. /// <param name="module"></param>
  126. /// <param name="device"></param>
  127. public VPWHomeRoutine(string module) : base(module)
  128. {
  129. }
  130. /// <summary>
  131. /// 中止
  132. /// </summary>
  133. public void Abort()
  134. {
  135. Runner.Stop("Manual abort");
  136. }
  137. /// <summary>
  138. /// 监控
  139. /// </summary>
  140. /// <returns></returns>
  141. public RState Monitor()
  142. {
  143. Runner.Run(HomeStep.CloseDegasPumpAndAdjustValve, CloseDegasPumpAndAdjustValve, _delay_1ms)
  144. .Run(HomeStep.ChameberUp, _mainDevice.ChamberUp, CheckChamberClosed, _checkChamberUpDownTimes*1000)
  145. .Run(HomeStep.OpenCellDrainValve, OpenCellDrainValve, CheckCellDrainValveStatus, _delay_2s)
  146. .Run(HomeStep.HomeRotation,HomeAllRotation,_delay_1ms)
  147. .WaitWithStopCondition(HomeStep.CheckRotationStatus,CheckAllRotationHomeStatus,CheckAllRotationHomeStopStatus)
  148. .Run(HomeStep.StartRotation,StartRotation,_delay_1ms)
  149. .Wait(HomeStep.CheckRotationRunning,CheckRotationRunningStatus,500)
  150. .Run(HomeStep.CloseDiwDegas,CloseDiwDegas)
  151. .Delay(HomeStep.N2PurgeDelay,_n2PurgeTime)
  152. .Run(HomeStep.CloseN2Purge,_mainDevice.N2PurgeValveOff,_delay_1ms)
  153. .Run(HomeStep.BoostPumpEnable,OpenBoostPump,_delay_1ms)
  154. .Wait(HomeStep.CheckPumpEnable, () => { return _mainDevice.CommonData.BoosterPumpStatus; },_delay_1s)
  155. .Delay(HomeStep.FlowDelay,_flowFaultHolderoffTime)
  156. .Run(HomeStep.CheckFlow,CheckTotalFlow,_delay_1ms)
  157. .Run(HomeStep.CheckCellFlow,CheckCellFlow,_delay_1ms)
  158. .Run(HomeStep.StopRotation,StopRotationAxis,_delay_1ms)
  159. .WaitWithStopCondition(HomeStep.CheckRotationStatus,CheckStopPostionEndStatus,CheckStopPostionStopStatus)
  160. .RunIf(HomeStep.CheckTotalFlowOk, !_totalFlowOk, CheckTotalFlowFailedAction, _delay_1ms)
  161. .Run(HomeStep.LastHomeRotation,HomeAllRotation,_delay_1ms)
  162. .WaitWithStopCondition(HomeStep.CheckLastHomeRotation, CheckAllRotationHomeStatus, CheckAllRotationHomeStopStatus)
  163. .Run(HomeStep.CheckFlowOk,CheckFlowOk,_delay_1ms)
  164. .DelayIf(HomeStep.DegasDelay,_checkFlowOk,_degasEnableDelayTime)
  165. .RunIf(HomeStep.OpenDegas,_checkFlowOk,OpenDegasPump,_delay_1ms)
  166. .RunIf(HomeStep.ChamberDown,_checkFlowOk, () => { return _mainDevice.ChamberDown(); },
  167. () => { return _mainDevice.CommonData.ChamberClosed && !_mainDevice.CommonData.ChamberOpened; })
  168. .Run(HomeStep.LastCheckStatus,LastCheckResult,_delay_1ms)
  169. .End(HomeStep.End,NullFun, _delay_1ms);
  170. return Runner.Status;
  171. }
  172. /// <summary>
  173. /// 关闭degaspump和degas adjust valve
  174. /// </summary>
  175. /// <returns></returns>
  176. private bool CloseDegasPumpAndAdjustValve()
  177. {
  178. return _mainDevice.DegasAdjustOff() && _mainDevice.DegasPumpDisable();
  179. }
  180. /// <summary>
  181. /// 关闭所有的泵和阀 并返回false
  182. /// </summary>
  183. /// <returns></returns>
  184. private bool CheckTotalFlowFailedAction()
  185. {
  186. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $" current total flow {_mainDevice.CommonData.DiwTotalFlow} is less than {_totalFlowStartLimit}");
  187. _mainDevice.BoosterPumpDisable() ;
  188. _mainDevice.DiwDisable() ;
  189. _mainDevice.DiwProcessOff() ;
  190. _mainDevice.DiwDegasValveOff();
  191. foreach (var item in _cellLst)
  192. {
  193. item.FlowDripOff();
  194. item.FlowSmallOff() ;
  195. item.FlowLargeOff();
  196. }
  197. return false;
  198. }
  199. /// <summary>
  200. /// 检验Chamber关闭
  201. /// </summary>
  202. /// <returns></returns>
  203. private bool CheckChamberClosed()
  204. {
  205. return !_mainDevice.CommonData.ChamberClosed && _mainDevice.CommonData.ChamberOpened;
  206. }
  207. /// <summary>
  208. /// 打开所有cell valve
  209. /// </summary>
  210. /// <returns></returns>
  211. private bool OpenCellDrainValve()
  212. {
  213. foreach(var device in _cellLst)
  214. {
  215. bool result= device.DrainValveOn();
  216. if (!result)
  217. {
  218. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"{device.Module} open drain valve failed");
  219. return false;
  220. }
  221. }
  222. return true;
  223. }
  224. /// <summary>
  225. /// 检验Cell Drain状态
  226. /// </summary>
  227. /// <returns></returns>
  228. private bool CheckCellDrainValveStatus()
  229. {
  230. foreach (var item in _cellLst)
  231. {
  232. bool result = item.CommonData.DrainValve;
  233. if (!result)
  234. {
  235. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"{item.Module} drain valve is not opened");
  236. return false;
  237. }
  238. }
  239. return true;
  240. }
  241. /// <summary>
  242. /// Home All Rotation
  243. /// </summary>
  244. /// <returns></returns>
  245. private bool HomeAllRotation()
  246. {
  247. foreach(var item in _cellLst)
  248. {
  249. bool result = item.HomeRotation();
  250. if (!result)
  251. {
  252. return false;
  253. }
  254. }
  255. return true;
  256. }
  257. /// <summary>
  258. /// 检验所有Rotation Home成功
  259. /// </summary>
  260. /// <returns></returns>
  261. private bool CheckAllRotationHomeStatus()
  262. {
  263. int count = 0;
  264. foreach (var item in _cellLst)
  265. {
  266. bool result = item.CheckHomeEndStatus();
  267. if (result)
  268. {
  269. count++;
  270. }
  271. }
  272. bool success= count == _cellLst.Count ;
  273. if (success)
  274. {
  275. foreach(var item in _cellLst)
  276. {
  277. item.SetRotationSpeed(_rotationSpeed);
  278. }
  279. }
  280. return success;
  281. }
  282. /// <summary>
  283. /// rotation电机 home是否停止
  284. /// </summary>
  285. /// <returns></returns>
  286. private bool CheckAllRotationHomeStopStatus()
  287. {
  288. foreach (var item in _cellLst)
  289. {
  290. bool result = item.CheckRotationStopStatus();
  291. if (result)
  292. {
  293. return true;
  294. }
  295. }
  296. return false;
  297. }
  298. /// <summary>
  299. /// 启动rotation
  300. /// </summary>
  301. /// <returns></returns>
  302. private bool StartRotation()
  303. {
  304. int totalTime =(_n2PurgeTime + _flowFaultHolderoffTime + PLUS_TIME)/1000;
  305. int targetPsition = _rotationSpeed * totalTime;
  306. foreach (var item in _cellLst)
  307. {
  308. bool result = item.RotationProfilePosition(targetPsition);
  309. if (!result)
  310. {
  311. StopAllRotation();
  312. return false;
  313. }
  314. }
  315. return true;
  316. }
  317. /// <summary>
  318. /// 检验Rotation是否运动
  319. /// </summary>
  320. /// <returns></returns>
  321. private bool CheckRotationRunningStatus()
  322. {
  323. foreach (var item in _cellLst)
  324. {
  325. bool result = item.CheckRotationRunning();
  326. if (!result)
  327. {
  328. StopAllRotation();
  329. return false;
  330. }
  331. }
  332. return true;
  333. }
  334. /// <summary>
  335. /// 停止所有rotation电机
  336. /// </summary>
  337. private void StopAllRotation()
  338. {
  339. foreach (var item in _cellLst)
  340. {
  341. item.StopProfilePosition();
  342. }
  343. }
  344. /// <summary>
  345. /// 关闭DiwDegas等
  346. /// </summary>
  347. /// <returns></returns>
  348. private bool CloseDiwDegas()
  349. {
  350. int count = 0;
  351. count+=_mainDevice.DiwDegasValveOff()?1:0;
  352. count+=_mainDevice.BoosterPumpDisable()?1:0;
  353. count+=_mainDevice.N2PurgeValveOn()?1:0;
  354. foreach(var item in _cellLst)
  355. {
  356. count += item.FlowDripOff()?1:0;
  357. count += item.FlowSmallOff() ? 1 : 0;
  358. count += item.FlowLargeOff() ? 1 : 0;
  359. }
  360. return count==_cellLst.Count*3+3;
  361. }
  362. /// <summary>
  363. /// 打开Boost Pump
  364. /// </summary>
  365. /// <returns></returns>
  366. private bool OpenBoostPump()
  367. {
  368. int count = 0;
  369. count += _mainDevice.BoosterPumpEnable()?1:0;
  370. count += _mainDevice.DiwEnable() ? 1 : 0;
  371. count += _mainDevice.DiwProcessOn() ? 1 : 0;
  372. count += _mainDevice.DiwDegasValveOn() ? 1 : 0;
  373. foreach (var item in _cellLst)
  374. {
  375. count += item.FlowDripOn() ? 1 : 0;
  376. count += item.FlowSmallOn() ? 1 : 0;
  377. count += item.FlowLargeOn() ? 1 : 0;
  378. }
  379. return count == _cellLst.Count*3+4;
  380. }
  381. /// <summary>
  382. /// 检验流量
  383. /// </summary>
  384. /// <returns></returns>
  385. private bool CheckTotalFlow()
  386. {
  387. double totalFlow = _mainDevice.CommonData.DiwTotalFlow;
  388. if (totalFlow < _totalFlowStartLimit)
  389. {
  390. _totalFlowOk = false;
  391. }
  392. else
  393. {
  394. _totalFlowOk = true;
  395. }
  396. _totalFlow = totalFlow;
  397. return true;
  398. }
  399. /// <summary>
  400. /// 检验CellFlow
  401. /// </summary>
  402. /// <returns></returns>
  403. private bool CheckCellFlow()
  404. {
  405. foreach (var item in _cellLst)
  406. {
  407. double cellFlow = item.CommonData.DiwFlow;
  408. if (cellFlow < _cellFlowStartLimit)
  409. {
  410. _cellFlowOk[item.Module] = false;
  411. item.FlowSmallOff();
  412. item.FlowLargeOff();
  413. }
  414. else
  415. {
  416. _cellFlowOk[item.Module] = true;
  417. }
  418. _cellFlows[item.Module] = cellFlow;
  419. }
  420. return true;
  421. }
  422. /// <summary>
  423. /// 停止rotation
  424. /// </summary>
  425. /// <returns></returns>
  426. public bool StopRotationAxis()
  427. {
  428. foreach(var item in _cellLst)
  429. {
  430. bool result = item.StopProfilePosition();
  431. if (!result)
  432. {
  433. return false;
  434. }
  435. }
  436. return true;
  437. }
  438. /// <summary>
  439. /// 检验停止是否完成
  440. /// </summary>
  441. /// <returns></returns>
  442. public bool CheckStopPostionEndStatus()
  443. {
  444. foreach (var item in _cellLst)
  445. {
  446. bool result = item.CheckRotationEndStatus();
  447. if (!result)
  448. {
  449. return false;
  450. }
  451. }
  452. return true;
  453. }
  454. /// <summary>
  455. /// 检验停止失败状态
  456. /// </summary>
  457. /// <returns></returns>
  458. public bool CheckStopPostionStopStatus()
  459. {
  460. foreach (var item in _cellLst)
  461. {
  462. bool result = item.CheckRotationStopStatus();
  463. if (result)
  464. {
  465. return true;
  466. }
  467. }
  468. return false;
  469. }
  470. /// <summary>
  471. /// 检验流量是否ok
  472. /// </summary>
  473. /// <returns></returns>
  474. private bool CheckFlowOk()
  475. {
  476. if (!_totalFlowOk)
  477. {
  478. _checkFlowOk = false;
  479. return true;
  480. }
  481. foreach(var item in _cellLst)
  482. {
  483. if (!_cellFlowOk[item.Module])
  484. {
  485. _checkFlowOk = false;
  486. return true;
  487. }
  488. }
  489. _checkFlowOk = true;
  490. return true;
  491. }
  492. /// <summary>
  493. /// 打开Degas Pump和Adjust
  494. /// </summary>
  495. /// <returns></returns>
  496. private bool OpenDegasPump()
  497. {
  498. int count = 0;
  499. count+=_mainDevice.DegasPumpEnable()?1:0;
  500. count+=_mainDevice.DegasAdjustOn()?1:0;
  501. return count == 2;
  502. }
  503. /// <summary>
  504. /// 最后确认结果
  505. /// </summary>
  506. /// <returns></returns>
  507. private bool LastCheckResult()
  508. {
  509. //当前是Main Home
  510. if (Module == ModuleName.VPWMain1.ToString())
  511. {
  512. AllCellPostMsg();
  513. if (_totalFlowOk)
  514. {
  515. return true;
  516. }
  517. else
  518. {
  519. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"total flow {_totalFlow} is less than {_totalFlowStartLimit}");
  520. return false;
  521. }
  522. }
  523. else
  524. {
  525. AllCellPostMsg();
  526. VpwMainEntity vpwMainEntity = Singleton<RouteManager>.Instance.GetModule<VpwMainEntity>(ModuleName.VPWMain1.ToString());
  527. if (_totalFlowOk)
  528. {
  529. vpwMainEntity.CheckToPostMessage<VPWMainState, VPWMainMsg>(eEvent.INFO_VPWMAIN, ModuleName.VPWMain1.ToString(), (int)VPWCellMsg.EnterIdle);
  530. }
  531. else
  532. {
  533. vpwMainEntity.PostMsg((int)VPWMainMsg.Error);
  534. LOG.WriteLog(eEvent.ERR_VPWMAIN,ModuleName.VPWMain1.ToString(), $"total flow {_totalFlow} is less than {_totalFlowStartLimit}");
  535. }
  536. if (_cellFlowOk[Module])
  537. {
  538. return true;
  539. }
  540. else
  541. {
  542. LOG.WriteLog(eEvent.ERR_VPW, Module, $"cell flow {_cellFlows[Module]} is less than {_cellFlowStartLimit}");
  543. return false;
  544. }
  545. }
  546. }
  547. /// <summary>
  548. /// 所有cell推送消息
  549. /// </summary>
  550. private void AllCellPostMsg()
  551. {
  552. foreach (var item in _cellLst)
  553. {
  554. //过滤当前本身的cell
  555. if (item.Module == Module)
  556. {
  557. continue;
  558. }
  559. //若cell流量是ok,则post msg变成idle
  560. VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(item.Module);
  561. if (_cellFlowOk[item.Module])
  562. {
  563. vpwCellEntity.CheckToPostMessage<VPWCellState, VPWCellMsg>(eEvent.INFO_VPW, item.Module, (int)VPWCellMsg.EnterIdle);
  564. }
  565. else//则cell流量是不ok,则post error msg
  566. {
  567. vpwCellEntity.PostMsg((int)VPWCellMsg.Error);
  568. LOG.WriteLog(eEvent.ERR_VPW, item.Module, $"cell flow {_cellFlows[item.Module]} is less than {_cellFlowStartLimit}");
  569. }
  570. }
  571. }
  572. /// <summary>
  573. /// 启动
  574. /// </summary>
  575. /// <param name="objs"></param>
  576. /// <returns></returns>
  577. public RState Start(params object[] objs)
  578. {
  579. List<VpwCellDevice> lstDevice = (List<VpwCellDevice>)objs[0];
  580. _vpwCellDevices.Clear();
  581. _cellFlows.Clear();
  582. _cellLst.Clear();
  583. _cellFlowOk.Clear();
  584. _totalFlowOk = false;
  585. _checkFlowOk = false;
  586. _totalFlow = 0;
  587. for (int i = 0; i < lstDevice.Count; i++)
  588. {
  589. _vpwCellDevices.Add(lstDevice[i]);
  590. VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(lstDevice[i].Module);
  591. if (vpwCellEntity.IsAuto || vpwCellEntity.IsManual)
  592. {
  593. _cellLst.Add(lstDevice[i]);
  594. if (!CheckRotationSwitchOn(lstDevice[i])){
  595. return RState.Failed;
  596. }
  597. _cellFlowOk[lstDevice[i].Module]=false;
  598. }
  599. }
  600. _mainDevice = DEVICE.GetDevice<VpwMainDevice>(ModuleName.VPWMain1.ToString());
  601. _n2PurgeTime = SC.GetValue<int>("VPWMain.Plumbing.N2PurgeTime");
  602. _flowFaultHolderoffTime = SC.GetValue<int>("VPWMain.Plumbing.FlowFaultHoldoffTime");
  603. double purgeMotorSpeed = SC.GetValue<double>("VPWMain.Plumbing.PurgeMotorSpeed");
  604. _rotationSpeed = (int)(Math.Round(purgeMotorSpeed*6,0));
  605. _totalFlowStartLimit = SC.GetValue<double>("VPWMain.Plumbing.TotalFlowStartLowLimit");
  606. _cellFlowStartLimit = SC.GetValue<double>("VPWMain.Plumbing.CellFlowStartLowLimit");
  607. _degasEnableDelayTime = SC.GetValue<int>("VPWMain.Plumbing.DegasEnableDelayTime");
  608. _checkChamberUpDownTimes = SC.GetValue<int>("VPWMain.ChamberUpDownCheckTime");
  609. return Runner.Start(Module,"VPW Home");
  610. }
  611. /// <summary>
  612. /// 检验Rotation电机是否上电
  613. /// </summary>
  614. /// <param name="device"></param>
  615. /// <returns></returns>
  616. private bool CheckRotationSwitchOn(VpwCellDevice device)
  617. {
  618. if (!device.CheckRotationSwitchOn())
  619. {
  620. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"{device.Module} rotation is not switch on");
  621. return false;
  622. }
  623. return true;
  624. }
  625. }
  626. }