|
|
|
|
using Admin.Core.Common;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Core.Palletiz.config
|
|
|
|
|
{
|
|
|
|
|
internal class AppConfig
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string storeCode = Appsettings.app("StoreInfo", "StoreCode");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<PlcConfig> plcAddr = new List<PlcConfig>()
|
|
|
|
|
{
|
|
|
|
|
new PlcConfig(){spaceCode = 1,spaceArea = "A",address = "X10D3"},
|
|
|
|
|
new PlcConfig(){spaceCode = 2,spaceArea = "A",address = "X10D9"},
|
|
|
|
|
new PlcConfig(){spaceCode = 3,spaceArea = "A",address = "X10E3"},
|
|
|
|
|
new PlcConfig(){spaceCode = 4,spaceArea = "A",address = "X10E9"},
|
|
|
|
|
new PlcConfig(){spaceCode = 5,spaceArea = "A",address = "X10F3"},
|
|
|
|
|
new PlcConfig(){spaceCode = 6,spaceArea = "A",address = "X10F9"},
|
|
|
|
|
new PlcConfig(){spaceCode = 7,spaceArea = "A",address = "X1103"},
|
|
|
|
|
new PlcConfig(){spaceCode = 8,spaceArea = "A",address = "X1109"},
|
|
|
|
|
new PlcConfig(){spaceCode = 9,spaceArea = "A",address = "X1113"},
|
|
|
|
|
new PlcConfig(){spaceCode = 10,spaceArea = "A",address = "X1119"},
|
|
|
|
|
new PlcConfig(){spaceCode = 11,spaceArea = "A",address = "X1123"},
|
|
|
|
|
new PlcConfig(){spaceCode = 12,spaceArea = "A",address = "X1129"},
|
|
|
|
|
new PlcConfig(){spaceCode = 13,spaceArea = "A",address = "X1133"},
|
|
|
|
|
new PlcConfig(){spaceCode = 14,spaceArea = "A",address = "X1139"}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|