|
|
@@ -1143,35 +1143,35 @@ namespace WCS.WorkEngineering
|
|
|
|
|
|
case "PLC"://PLC
|
|
|
|
|
|
- SqlSugarHelper.SetPLC(connectionString.Key);
|
|
|
-
|
|
|
- _db.DbMaintenance.CreateDatabase();
|
|
|
- _db.CodeFirst.InitTables<WCS_Log>();
|
|
|
- _db.CodeFirst.InitTables<WCS_SRM520>();
|
|
|
- _db.CodeFirst.InitTables<WCS_SRM521>();
|
|
|
- _db.CodeFirst.InitTables<WCS_SRM537>();
|
|
|
- _db.CodeFirst.InitTables<WCS_RGV520>();
|
|
|
- _db.CodeFirst.InitTables<WCS_RGV521>();
|
|
|
- _db.CodeFirst.InitTables<WCS_BCR80>();
|
|
|
- _db.CodeFirst.InitTables<WCS_BCR81>();
|
|
|
- _db.CodeFirst.InitTables<WCS_BCR83>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station520>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station521>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station523>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station524>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station525>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station90>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Station91>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Truss520>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Truss521>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Truss523>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Truss530>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Truss531>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Robot520>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Robot521>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Robot522>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Robot530>();
|
|
|
- _db.CodeFirst.InitTables<WCS_Robot531>();
|
|
|
+ //SqlSugarHelper.SetPLC(connectionString.Key);
|
|
|
+
|
|
|
+ //_db.DbMaintenance.CreateDatabase();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Log>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_SRM520>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_SRM521>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_SRM537>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_RGV520>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_RGV521>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_BCR80>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_BCR81>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_BCR83>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station520>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station521>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station523>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station524>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station525>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station90>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Station91>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Truss520>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Truss521>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Truss523>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Truss530>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Truss531>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Robot520>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Robot521>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Robot522>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Robot530>();
|
|
|
+ //_db.CodeFirst.InitTables<WCS_Robot531>();
|
|
|
//var a = false;
|
|
|
break;
|
|
|
|