CIMES的一些属性、方法
//获取当前登录用户 User.Identity.Name
//取消进站的API WIPTransaction.UndoLotCheckIn(lot, "Wait", true, txnStamp);
//切换到110数据库 //第一种方法 using (var cts = CimesTransactionScope.Create(AppSetting.WMSConnection)) { string SQL = "SELECT TOP 100 * FROM[dbo].[AAAA]"; var DT = DBCenter.GetDataTable(SQL); } //第二种方法 CustomDataAgent wmsDb = DBCenter.Create(AppSetting.WMSConnection); DataTable wmsSelect_Time = wmsDb.GetDataTable(SQLCenter.Parse(WMS_Select_Time, RealID));