using System; using System.Collections.Generic; using Aitex.Core.Util; using MECF.Framework.Common.IOCore; namespace Aitex.Core.RT.IOCore { public static class IO { public static Index DI = new Index(); public static Index DO = new Index(); public static Index AI = new Index(); public static Index AO = new Index(); public static bool CanSetDO(string doName, bool onOff, out string reason) { return Singleton.Instance.CanSetDo(doName, onOff, out reason); } public static List> GetIONameList(string group, IOType ioType) { return Singleton.Instance.GetIONameList(group, ioType); } public static List GetDiList(string source) { return Singleton.Instance.GetDIList(source); } public static List GetDoList(string source) { return Singleton.Instance.GetDOList(source); } public static List GetAiList(string source) { return Singleton.Instance.GetAIList(source); } public static List GetAoList(string source) { return Singleton.Instance.GetAOList(source); } } }