1234567891011121314151617181920212223242526272829303132 |
- using DBHelper;
- using Newtonsoft.Json;
- using System.ComponentModel;
- using WCS.Core;
- using WCS.Entity;
- using WCS.Service.Systems;
- namespace WCS.Service.Worlds
- {
- /// <summary>
- /// 数据采集世界,
- /// 该世界不进行任何的交互处理,仅进行硬件数据采集
- /// </summary>
- [Description("数据采集世界")]
- public class DataCollectionWorld : World
- { /// <summary>
- /// 构造函数
- /// </summary>
- public DataCollectionWorld()
- {
- Interval = 50;
- }
- protected override void AfterUpdate()
- {
-
- //var a = Ltc.GetSystem<DataCollectionSysyem>();
- //var v = a.Invoke(true);
- // Ltc.GetSystem<DataCollectionSysyem>().Invoke(true);
- }
- }
- }
|