using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aitex.Core.RT.PLC; using Aitex.Core.RT.SCCore; namespace Aitex.Triton160.RT { public class RtInstance { public const string SystemName = "Triton160"; public const string DbName = "triton160db"; public const string DeviceModelFileName = "DeviceModel.Hz.xml"; public const string LocalIoDefineFileName = "_ioDefineTriton160.xml"; public const string LocalPlcIpAddress = "192.168.10.10"; public const int LocalPlcIoBaseDi = 20; public const int LocalPlcIoBaseDo = 0; public const int LocalPlcIoBaseAi = 2000; public const int LocalPlcIoBaseAo = 1000; public const BlockType LocalPlcDiType = BlockType.WR; public const BlockType LocalPlcDoType = BlockType.WR; public const BlockType LocalPlcAiType = BlockType.D; public const BlockType LocalPlcAoType = BlockType.D; public const int LocalPlcDiBlockLength = 160; public const int LocalPlcDoBlockLength = 160; public const int LocalPlcAiBlockLength = 150; public const int LocalPlcAoBlockLength = 150; public const string RemoteIoDefineFileName = ""; public const string RemotePlcIpAddress = ""; public const int RemotePlcIoBaseDi = 0; public const int RemotePlcIoBaseDo = 0; public const int RemotePlcIoBaseAi = 0; public const int RemotePlcIoBaseAo = 0; public const BlockType RemotePlcDiType = BlockType.WR; public const BlockType RemotePlcDoType = BlockType.WR; public const string InterlockFileName = "Interlock.triton160.xml"; public const string RecipeFormatFileName = "RecipeFormat.xml"; public static void SetDefaultConfig() { } } }