VpwCellDevice.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. using Aitex.Core.RT.DataCenter;
  2. using Aitex.Core.RT.Device;
  3. using Aitex.Core.RT.Log;
  4. using Aitex.Core.RT.OperationCenter;
  5. using Aitex.Core.Util;
  6. using MECF.Framework.Common.Beckhoff.ModuleIO;
  7. using MECF.Framework.Common.CommonData.Prewet;
  8. using MECF.Framework.Common.CommonData.Vpw;
  9. using MECF.Framework.Common.IOCore;
  10. using MECF.Framework.Common.Persistent.SRD;
  11. using MECF.Framework.Common.Persistent.Temperature;
  12. using MECF.Framework.Common.Persistent.VpwCell;
  13. using MECF.Framework.Common.Persistent.VpwMain;
  14. using MECF.Framework.Common.ToolLayout;
  15. using MECF.Framework.Common.Utilities;
  16. using PunkHPX8_RT.Devices.AXIS;
  17. using PunkHPX8_RT.Devices.Resistivity;
  18. using PunkHPX8_RT.Devices.VpwMain;
  19. using PunkHPX8_RT.Modules;
  20. using PunkHPX8_RT.Modules.VpwMain;
  21. using System;
  22. using System.Collections.Generic;
  23. using System.Linq;
  24. using System.Reflection;
  25. using System.Text;
  26. using System.Threading.Tasks;
  27. namespace PunkHPX8_RT.Devices.VpwCell
  28. {
  29. public class VpwCellDevice : BaseDevice, IDevice
  30. {
  31. #region 常量
  32. private const string COMMON_DATA = "CommonData";
  33. private const string DIW_FLOW = "DiwFlow";
  34. private const string VACUUM_PRESSURE = "VacuumPressure";
  35. private const string FLOW_DRIP = "FlowDrip";
  36. private const string FLOW_SMALL = "FlowSmall";
  37. private const string FLOW_LARGE = "FlowLarge";
  38. private const string VACUUM_VALVE = "VacuumValve";
  39. private const string VENT_VALVE = "VentValve";
  40. private const string DRAIN_VALVE = "DrainValve";
  41. private const string PERSISTENT_VALUE = "PersistentValue";
  42. private const string LOOPDO_VALUE = "LoopDoValue";
  43. #endregion
  44. #region 内部变量
  45. /// <summary>
  46. /// 变量是否初始化字典
  47. /// </summary>
  48. private Dictionary<string, bool> _variableInitializeDic = new Dictionary<string, bool>();
  49. /// <summary>
  50. /// 数据
  51. /// </summary>
  52. private VpwCellCommonData _commonData=new VpwCellCommonData();
  53. /// Vpw main数据
  54. /// </summary>
  55. private VpwMainCommonData _mainCommonData = new VpwMainCommonData();
  56. /// <summary>
  57. /// 持久性数值
  58. /// </summary>
  59. private VpwCellPersistentValue _vpwCellPersistentValue;
  60. /// <summary>
  61. /// 水平电机
  62. /// </summary>
  63. private JetAxisBase _rotationAxis;
  64. /// <summary>
  65. /// 水阻计控制器
  66. /// </summary>
  67. private ResistivityController _resistivityController;
  68. /// <summary>
  69. /// 水阻值
  70. /// </summary>
  71. private double _resistivityValue;
  72. /// <summary>
  73. /// main device
  74. /// </summary>
  75. private VpwMainDevice _vpwMainDevice;
  76. #endregion
  77. #region 属性
  78. /// <summary>
  79. /// 数据
  80. /// </summary>
  81. public VpwCellCommonData CommonData { get { return _commonData; } }
  82. /// <summary>
  83. /// vpw main数据
  84. /// </summary>
  85. public VpwMainCommonData MainCommonData { get { return _mainCommonData; } }
  86. /// <summary>
  87. /// 操作模式
  88. /// </summary>
  89. public string OperationMode { get { return _vpwCellPersistentValue.OperatingMode; } }
  90. /// <summary>
  91. /// 工程模式
  92. /// </summary>
  93. public string EngineerMode { get { return _vpwCellPersistentValue.RecipeOperatingMode; } }
  94. /// <summary>
  95. /// LoopDO数值
  96. /// </summary>
  97. public double LoopDOValue { get { return GetLoopDOValue(); } }
  98. #endregion
  99. /// <summary>
  100. /// 构造函数
  101. /// </summary>
  102. /// <param name="moduleName"></param>
  103. public VpwCellDevice(string moduleName) : base(moduleName, moduleName, moduleName, moduleName)
  104. {
  105. }
  106. #region 初始化
  107. /// <summary>
  108. /// 初始化
  109. /// </summary>
  110. /// <returns></returns>
  111. public bool Initialize()
  112. {
  113. InitializeParameter();
  114. InitializeRoutine();
  115. SubscribeData();
  116. SubscribeValueAction();
  117. InitializeOperation();
  118. return true;
  119. }
  120. /// <summary>
  121. /// 初始化参数
  122. /// </summary>
  123. private void InitializeParameter()
  124. {
  125. _rotationAxis = DEVICE.GetDevice<JetAxisBase>($"{Module}.Rotation");
  126. _vpwCellPersistentValue = VpwCellPersistentManager.Instance.GetPersistentValue(Module);
  127. VpwCellItem vpwCellItem=VpwCellItemManager.Instance.GetVpwItem(Module);
  128. if (vpwCellItem != null)
  129. {
  130. _resistivityController = DEVICE.GetDevice<ResistivityController>(vpwCellItem.ResistivityID);
  131. }
  132. _vpwMainDevice = DEVICE.GetDevice<VpwMainDevice>($"VPWMain1");
  133. if(_vpwMainDevice != null)
  134. {
  135. _mainCommonData = _vpwMainDevice.CommonData;
  136. }
  137. }
  138. /// <summary>
  139. /// 初始化Routine
  140. /// </summary>
  141. private void InitializeRoutine()
  142. {
  143. }
  144. /// <summary>
  145. /// 订阅
  146. /// </summary>
  147. private void SubscribeData()
  148. {
  149. DATA.Subscribe($"{Module}.{COMMON_DATA}", () => CommonData, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  150. DATA.Subscribe($"{Module}.{PERSISTENT_VALUE}", () => _vpwCellPersistentValue, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  151. DATA.Subscribe($"{Module}.DiwCellFlow", () => CommonData.DiwFlow, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  152. DATA.Subscribe($"{Module}.VacuumValve", () => CommonData.VacuumValve, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  153. DATA.Subscribe($"{Module}.{LOOPDO_VALUE}", ()=> { return GetLoopDOValue(); }, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  154. }
  155. /// <summary>
  156. /// 获取Loop do数值
  157. /// </summary>
  158. /// <returns></returns>
  159. private double GetLoopDOValue()
  160. {
  161. if (_resistivityController != null)
  162. {
  163. string value = _resistivityController.ResisitivityValue;
  164. if (double.TryParse(value, out _resistivityValue))
  165. {
  166. return _resistivityValue;
  167. }
  168. else
  169. {
  170. _resistivityValue = 0;
  171. return 0;
  172. }
  173. }
  174. else
  175. {
  176. return 0;
  177. }
  178. }
  179. /// <summary>
  180. /// 订阅数据
  181. /// </summary>
  182. private void SubscribeValueAction()
  183. {
  184. IoSubscribeUpdateVariable(DIW_FLOW);
  185. IoSubscribeUpdateVariable(DRAIN_VALVE);
  186. IoSubscribeUpdateVariable(VACUUM_PRESSURE);
  187. IoSubscribeUpdateVariable(VACUUM_VALVE);
  188. IoSubscribeUpdateVariable(VENT_VALVE);
  189. IoSubscribeUpdateVariable(FLOW_DRIP);
  190. IoSubscribeUpdateVariable(FLOW_LARGE);
  191. IoSubscribeUpdateVariable(FLOW_SMALL);
  192. }
  193. /// <summary>
  194. /// 初始化变量
  195. /// </summary>
  196. /// <param name="variable"></param>
  197. private void IoSubscribeUpdateVariable(string variable)
  198. {
  199. _variableInitializeDic[variable] = false;
  200. IOModuleManager.Instance.SubscribeModuleVariable(Module, variable, UpdateVariableValue);
  201. }
  202. /// <summary>
  203. /// 更新变量数值
  204. /// </summary>
  205. /// <param name="variable"></param>
  206. /// <param name="value"></param>
  207. private void UpdateVariableValue(string variable, object value)
  208. {
  209. PropertyInfo property = _commonData.GetType().GetProperty(variable);
  210. if (property != null)
  211. {
  212. property.SetValue(_commonData, value);
  213. if (variable == VACUUM_PRESSURE)
  214. {
  215. double torr = UnitUtil.ConvertToTorr((double)value);
  216. property.SetValue(_commonData, torr);
  217. }
  218. }
  219. if (_variableInitializeDic.ContainsKey(variable) && !_variableInitializeDic[variable])
  220. {
  221. _variableInitializeDic[variable] = true;
  222. }
  223. }
  224. /// <summary>
  225. /// 初始化OP
  226. /// </summary>
  227. private void InitializeOperation()
  228. {
  229. OP.Subscribe($"{Module}.FlowDripOn", (cmd,para)=> { return FlowDripOn(); });
  230. OP.Subscribe($"{Module}.FlowDripOff", (cmd, para) => { return FlowDripOff(); });
  231. OP.Subscribe($"{Module}.FlowSmallOn", (cmd, para) => { return FlowSmallOn(); });
  232. OP.Subscribe($"{Module}.FlowSmallOff", (cmd, para) => { return FlowSmallOff(); });
  233. OP.Subscribe($"{Module}.FlowLargeOn", (cmd, para) => { return FlowLargeOn(); });
  234. OP.Subscribe($"{Module}.FlowLargeOff", (cmd, para) => { return FlowLargeOff(); });
  235. OP.Subscribe($"{Module}.VentValveOn", (cmd, para) => { return VentValveOn(); });
  236. OP.Subscribe($"{Module}.VentValveOff", (cmd, para) => { return VentValveOff(); });
  237. OP.Subscribe($"{Module}.DrainValveOn", (cmd, para) => { return DrainValveOn(); });
  238. OP.Subscribe($"{Module}.DrainValveOff", (cmd, para) => { return DrainValveOff(); });
  239. OP.Subscribe($"{Module}.VacuumValveOn", (cmd, para) => { return VacuumValveOn(); });
  240. OP.Subscribe($"{Module}.VacuumValveOff", (cmd, para) => { return VacuumValveOff(); });
  241. OP.Subscribe($"{Module}.DisabledAction", DisabledOperation);
  242. OP.Subscribe($"{Module}.ManualAction", ManualOperation);
  243. OP.Subscribe($"{Module}.AutoAction", AutoOperation);
  244. OP.Subscribe($"{Module}.EngineeringModeAction", EngineeringModeOperation);
  245. OP.Subscribe($"{Module}.ProductionModeAction", ProductionModeOperation);
  246. OP.Subscribe($"{Module}.StartRotation", StartRotationAction);
  247. OP.Subscribe($"{Module}.StopRotation", StopRotationAction);
  248. }
  249. #endregion
  250. #region Action
  251. private bool StartRotationAction(string cmd, object[] args)
  252. {
  253. if (args.Length < 2 && (int)args[0] < 0 && (int)args[1] < 0)
  254. {
  255. LOG.WriteLog(eEvent.ERR_VPW, Module, $"Start rotation paramater is wrong");
  256. return false;
  257. }
  258. double targetPostion = (int)args[0] * 6 * (int)args[1];
  259. object[] param = new object[] { "",targetPostion };
  260. return _rotationAxis.JogUpPosition("", param);
  261. }
  262. private bool StopRotationAction(string cmd, object[] args)
  263. {
  264. return _rotationAxis.StopPositionOperation();
  265. }
  266. #region Flow
  267. /// <summary>
  268. /// Flow Drip on
  269. /// </summary>
  270. /// <returns></returns>
  271. public bool FlowDripOn()
  272. {
  273. return WriteVariableValue(FLOW_DRIP, true);
  274. }
  275. /// <summary>
  276. /// Flow Drip Off
  277. /// </summary>
  278. /// <returns></returns>
  279. public bool FlowDripOff()
  280. {
  281. return WriteVariableValue(FLOW_DRIP, false);
  282. }
  283. /// <summary>
  284. /// Flow Small On
  285. /// </summary>
  286. /// <returns></returns>
  287. public bool FlowSmallOn()
  288. {
  289. return WriteVariableValue(FLOW_SMALL, true);
  290. }
  291. /// <summary>
  292. /// Flow Small Off
  293. /// </summary>
  294. /// <returns></returns>
  295. public bool FlowSmallOff()
  296. {
  297. return WriteVariableValue(FLOW_SMALL, false);
  298. }
  299. /// <summary>
  300. /// Flow Large On
  301. /// </summary>
  302. /// <returns></returns>
  303. public bool FlowLargeOn()
  304. {
  305. return WriteVariableValue(FLOW_LARGE, true);
  306. }
  307. /// <summary>
  308. /// Flow Large Off
  309. /// </summary>
  310. /// <returns></returns>
  311. public bool FlowLargeOff()
  312. {
  313. return WriteVariableValue(FLOW_LARGE, false);
  314. }
  315. #endregion
  316. #region Mode Switch
  317. /// <summary>
  318. /// DisabledAction
  319. /// </summary>
  320. /// <param name="cmd"></param>
  321. /// <param name="param"></param>
  322. /// <returns></returns>
  323. private bool DisabledOperation(string cmd, object[] args)
  324. {
  325. string currentOperation = "Disabled";
  326. VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(Module);
  327. if (vpwCellEntity != null && _vpwCellPersistentValue != null && _vpwCellPersistentValue.OperatingMode != currentOperation)
  328. {
  329. string preOperation = _vpwCellPersistentValue.OperatingMode;
  330. if (vpwCellEntity.IsBusy)
  331. {
  332. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"{Module} is Busy, can't switch to Disabled mode");
  333. return false;
  334. }
  335. vpwCellEntity.EnterInit();
  336. _vpwCellPersistentValue.OperatingMode = currentOperation;
  337. LOG.WriteLog(eEvent.INFO_VPWMAIN, Module, $"Operating mode is switched from {preOperation} to {currentOperation}");
  338. }
  339. VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
  340. return true;
  341. }
  342. /// <summary>
  343. /// ManualAction
  344. /// </summary>
  345. /// <param name="cmd"></param>
  346. /// <param name="param"></param>
  347. /// <returns></returns>
  348. private bool ManualOperation(string cmd, object[] args)
  349. {
  350. string currentOperation = "Manual";
  351. VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(Module);
  352. if (vpwCellEntity != null && _vpwCellPersistentValue != null && _vpwCellPersistentValue.OperatingMode != currentOperation)
  353. {
  354. string preOperation = _vpwCellPersistentValue.OperatingMode;
  355. if (vpwCellEntity.IsBusy)
  356. {
  357. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"{Module} is Busy, can't switch to Manual mode");
  358. return false;
  359. }
  360. vpwCellEntity.EnterInit();
  361. _vpwCellPersistentValue.OperatingMode = currentOperation;
  362. LOG.WriteLog(eEvent.INFO_VPWMAIN, Module, $"Operating mode is switched from {preOperation} to {currentOperation}");
  363. }
  364. VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
  365. return true;
  366. }
  367. /// <summary>
  368. /// AutoAction
  369. /// </summary>
  370. /// <param name="cmd"></param>
  371. /// <param name="param"></param>
  372. /// <returns></returns>
  373. private bool AutoOperation(string cmd, object[] args)
  374. {
  375. string currentOperation = "Auto";
  376. VpwCellEntity vpwCellEntity = Singleton<RouteManager>.Instance.GetModule<VpwCellEntity>(Module);
  377. if (vpwCellEntity != null && _vpwCellPersistentValue != null && _vpwCellPersistentValue.OperatingMode != currentOperation)
  378. {
  379. string preOperation = _vpwCellPersistentValue.OperatingMode;
  380. if (vpwCellEntity.IsBusy)
  381. {
  382. LOG.WriteLog(eEvent.ERR_VPWMAIN, Module, $"{Module} is Busy, can't switch to Auto mode");
  383. return false;
  384. }
  385. vpwCellEntity.EnterInit();
  386. _vpwCellPersistentValue.OperatingMode = currentOperation;
  387. LOG.WriteLog(eEvent.INFO_VPWMAIN, Module, $"Operating mode is switched from {preOperation} to {currentOperation}");
  388. }
  389. VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
  390. return true;
  391. }
  392. /// <summary>
  393. /// EngineeringModeAction
  394. /// </summary>
  395. /// <param name="cmd"></param>
  396. /// <param name="param"></param>
  397. /// <returns></returns>
  398. private bool EngineeringModeOperation(string cmd, object[] args)
  399. {
  400. string currentRecipeOperation = "Engineering";
  401. if (_vpwCellPersistentValue != null)
  402. {
  403. _vpwCellPersistentValue.RecipeOperatingMode = currentRecipeOperation;
  404. }
  405. VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
  406. return true;
  407. }
  408. /// <summary>
  409. /// ProductionAction
  410. /// </summary>
  411. /// <param name="cmd"></param>
  412. /// <param name="param"></param>
  413. /// <returns></returns>
  414. private bool ProductionModeOperation(string cmd, object[] args)
  415. {
  416. string currentRecipeOperation = "Production";
  417. if (_vpwCellPersistentValue != null)
  418. {
  419. _vpwCellPersistentValue.RecipeOperatingMode = currentRecipeOperation;
  420. }
  421. VpwCellPersistentManager.Instance.UpdatePersistentValue(Module);
  422. return true;
  423. }
  424. #endregion
  425. #region Vent Valve
  426. /// <summary>
  427. /// Vent Valve On
  428. /// </summary>
  429. /// <returns></returns>
  430. public bool VentValveOn()
  431. {
  432. return WriteVariableValue(VENT_VALVE, true);
  433. }
  434. /// <summary>
  435. /// Vent Valve Off
  436. /// </summary>
  437. /// <returns></returns>
  438. public bool VentValveOff()
  439. {
  440. return WriteVariableValue(VENT_VALVE, false);
  441. }
  442. #endregion
  443. #region Drain Valve
  444. /// <summary>
  445. /// Drain Valve On
  446. /// </summary>
  447. /// <returns></returns>
  448. public bool DrainValveOn()
  449. {
  450. return WriteVariableValue(DRAIN_VALVE, true);
  451. }
  452. /// <summary>
  453. /// Drain Valve Off
  454. /// </summary>
  455. /// <returns></returns>
  456. public bool DrainValveOff()
  457. {
  458. return WriteVariableValue(DRAIN_VALVE, false);
  459. }
  460. #endregion
  461. #region Vacuum
  462. /// <summary>
  463. /// Vacuum valve on
  464. /// </summary>
  465. /// <returns></returns>
  466. public bool VacuumValveOn()
  467. {
  468. return WriteVariableValue(VACUUM_VALVE, true);
  469. }
  470. /// <summary>
  471. /// Vacuum valve off
  472. /// </summary>
  473. /// <returns></returns>
  474. public bool VacuumValveOff()
  475. {
  476. return WriteVariableValue(VACUUM_VALVE, false);
  477. }
  478. #endregion
  479. /// <summary>
  480. /// 写变量
  481. /// </summary>
  482. /// <param name="variable"></param>
  483. /// <param name="value"></param>
  484. /// <returns></returns>
  485. private bool WriteVariableValue(string variable, object value)
  486. {
  487. string ioName = BeckhoffModuleIOManager.Instance.GetIoNameByInnerModuleName($"{Module}.{variable}");
  488. return IOModuleManager.Instance.WriteIoValue(ioName, value);
  489. }
  490. #endregion
  491. #region Axis
  492. /// <summary>
  493. /// 电机是否上电
  494. /// </summary>
  495. /// <returns></returns>
  496. public bool CheckRotationSwitchOn()
  497. {
  498. return _rotationAxis.IsSwitchOn;
  499. }
  500. /// <summary>
  501. /// Home rotation
  502. /// </summary>
  503. /// <returns></returns>
  504. public bool HomeRotation()
  505. {
  506. return _rotationAxis.Home();
  507. }
  508. /// <summary>
  509. /// 检验Rotation Home结果
  510. /// </summary>
  511. /// <returns></returns>
  512. public bool CheckHomeEndStatus()
  513. {
  514. return CheckRotationEndStatus() && _rotationAxis.IsHomed;
  515. }
  516. /// <summary>
  517. /// 检验Rotation结束状态
  518. /// </summary>
  519. /// <returns></returns>
  520. public bool CheckRotationEndStatus()
  521. {
  522. return _rotationAxis.Status == PunkHPX8_Core.RState.End;
  523. }
  524. /// <summary>
  525. /// 检验Rotation失败状态
  526. /// </summary>
  527. /// <returns></returns>
  528. public bool CheckRotationStopStatus()
  529. {
  530. return _rotationAxis.Status == PunkHPX8_Core.RState.Failed;
  531. }
  532. /// <summary>
  533. /// 设置速度
  534. /// </summary>
  535. /// <param name="speed"></param>
  536. /// <returns></returns>
  537. public bool SetRotationSpeed(int speed)
  538. {
  539. _rotationAxis.SetProfileSpeed(speed);
  540. return true;
  541. }
  542. /// <summary>
  543. /// 改变速度
  544. /// </summary>
  545. /// <param name="speed"></param>
  546. /// <returns></returns>
  547. public bool ChangeRotationSpeed(int speed)
  548. {
  549. return _rotationAxis.ChangeSpeed(speed);
  550. }
  551. /// <summary>
  552. /// 电机运动
  553. /// </summary>
  554. /// <param name="position"></param>
  555. /// <returns></returns>
  556. public bool RotationProfilePosition(double position)
  557. {
  558. return _rotationAxis.ProfilePositionOperation(position);
  559. }
  560. /// <summary>
  561. /// 停止运动
  562. /// </summary>
  563. /// <returns></returns>
  564. public bool StopProfilePosition()
  565. {
  566. return _rotationAxis.StopPositionOperation();
  567. }
  568. /// <summary>
  569. /// 是否Rotation运动
  570. /// </summary>
  571. /// <returns></returns>
  572. public bool CheckRotationRunning()
  573. {
  574. return _rotationAxis.IsRun;
  575. }
  576. #endregion
  577. /// <summary>
  578. /// 定时器
  579. /// </summary>
  580. /// <returns></returns>
  581. public bool OnTimer()
  582. {
  583. if (_rotationAxis != null)
  584. {
  585. _rotationAxis.OnTimer();
  586. }
  587. return true;
  588. }
  589. /// <summary>
  590. /// 监控
  591. /// </summary>
  592. public void Monitor()
  593. {
  594. }
  595. public void Reset()
  596. {
  597. }
  598. public void Terminate()
  599. {
  600. }
  601. }
  602. }