|
@@ -326,7 +326,7 @@ namespace WCS.WorkEngineering
|
|
conv.AddFlag(DeviceFlags.桁架);
|
|
conv.AddFlag(DeviceFlags.桁架);
|
|
conv.AddProtocol<ITruss520>(0, 520, item.Ip);
|
|
conv.AddProtocol<ITruss520>(0, 520, item.Ip);
|
|
conv.AddProtocol<ITruss521>(0, 521, item.Ip);
|
|
conv.AddProtocol<ITruss521>(0, 521, item.Ip);
|
|
- conv.AddProtocol<ITruss523>(0, 523, item.Ip);
|
|
|
|
|
|
+ conv.AddProtocol<ITruss523>(0, 522, item.Ip);
|
|
}
|
|
}
|
|
|
|
|
|
var tuples1 = new List<Tuple<string, List<int>>>
|
|
var tuples1 = new List<Tuple<string, List<int>>>
|
|
@@ -363,7 +363,7 @@ namespace WCS.WorkEngineering
|
|
new("10.30.37.234",new List<int>(){ 1696, 1691}), //库二北
|
|
new("10.30.37.234",new List<int>(){ 1696, 1691}), //库二北
|
|
new("10.30.37.236",new List<int>(){ 1711, 1706}), //库二南
|
|
new("10.30.37.236",new List<int>(){ 1711, 1706}), //库二南
|
|
new("10.30.37.238",new List<int>(){ 1726, 1721}), //库三北
|
|
new("10.30.37.238",new List<int>(){ 1726, 1721}), //库三北
|
|
- new("10.30.37.240",new List<int>(){ 1736, 1741}), //库三南
|
|
|
|
|
|
+ new("10.30.37.240",new List<int>(){ 1741, 1736 }), //库三南
|
|
};
|
|
};
|
|
|
|
|
|
foreach (var item in tuples21)
|
|
foreach (var item in tuples21)
|
|
@@ -470,7 +470,7 @@ namespace WCS.WorkEngineering
|
|
//_db.CodeFirst.InitTables<WCS_Station91>();
|
|
//_db.CodeFirst.InitTables<WCS_Station91>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss520>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss520>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss521>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss521>();
|
|
- //_db.CodeFirst.InitTables<WCS_Truss523>();
|
|
|
|
|
|
+ // _db.CodeFirst.InitTables<QuestDb_Truss523>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss530>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss530>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss531>();
|
|
//_db.CodeFirst.InitTables<WCS_Truss531>();
|
|
//_db.CodeFirst.InitTables<WCS_Robot520>();
|
|
//_db.CodeFirst.InitTables<WCS_Robot520>();
|
|
@@ -478,7 +478,6 @@ namespace WCS.WorkEngineering
|
|
//_db.CodeFirst.InitTables<QuestDb_Robot522>();
|
|
//_db.CodeFirst.InitTables<QuestDb_Robot522>();
|
|
//_db.CodeFirst.InitTables<WCS_Robot530>();
|
|
//_db.CodeFirst.InitTables<WCS_Robot530>();
|
|
//_db.CodeFirst.InitTables<WCS_Robot531>();
|
|
//_db.CodeFirst.InitTables<WCS_Robot531>();
|
|
- var a = false;
|
|
|
|
break;
|
|
break;
|
|
|
|
|
|
default: //其他库
|
|
default: //其他库
|