freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設(shè)計-設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實(shí)現(xiàn)(參考版)

2024-12-05 17:51本頁面
  

【正文】 } if ([0].Rows[0][DeviceCategory].ToString() != ) { 。 if ([0]. 0) { if ([0].Rows[0][DeviceID].ToString() != ) { = ([0].Rows[0][DeviceID].ToString())。 28 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實(shí)現(xiàn) model = new ()。 } /// summary /// 得到一個對象實(shí)體 /// /summary public GetModel(int DeviceID) { SqlParameter[] parameters = { new SqlParameter(DeviceID, ,4)}。 parameters[0].Value = DeviceID。 } /// summary /// 刪除一條數(shù)據(jù) /// /summary public void Delete(int DeviceID) { int rowsAffected。 parameters[14].Value = 。 parameters[12].Value = 。 parameters[10].Value = 。 parameters[8].Value = 。 parameters[6].Value = 。 parameters[4].Value = 。 parameters[2].Value = 。 parameters[0].Value = 。 } /// summary /// 更新一條數(shù)據(jù) /// /summary 第五章 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊的編碼與實(shí)現(xiàn) 27 public void Update( model) { int rowsAffected。 (UP_H_DeviceInfo_ADD, parameters, out rowsAffected)。 parameters[13].Value = 。 parameters[11].Value = 。 parameters[9].Value = 。 parameters[7].Value = 。 parameters[5].Value = 。 parameters[3].Value = 。 parameters[1].Value = 。 SqlParameter[] parameters = { new SqlParameter(DeviceID, ,4), new SqlParameter(DepartID, ,4), new SqlParameter(DeviceCategory, ,4), new SqlParameter(DeviceClassID, ,4), new SqlParameter(DeviceState, ,20), new SqlParameter(UserPeople, ,50), new SqlParameter(DeviceType, ,50), new SqlParameter(Manufacture, ,50), new SqlParameter(LeaveFacDate, ), new SqlParameter(BeginUseDate, ), new SqlParameter(StockDate, ), new SqlParameter(Remark, ), new SqlParameter(Price, ,50), new SqlParameter(AssetID, ,50), new SqlParameter(Recorder, ,50)}。 } else { return false。 int result = (UP_H_DeviceInfo_Exists, parameters, out rowsAffected)。 SqlParameter[] parameters = { 26 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實(shí)現(xiàn) new SqlParameter(DeviceID, ,4)}。} endregion 成員方法 }} (3) 設(shè)備信息 namespace { /// summary /// 數(shù)據(jù)訪問類 H_DeviceInfo。 return (())。 if (() != ) { ( where + strWhere)。 } ( DeviceClassID,DeviceClassName,DeviceCategory )。 (select )。 } return (())。 ( FROM H_DeviceClassInfo )。 }} /// summary /// 獲得數(shù)據(jù)列表 第五章 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊的編碼與實(shí)現(xiàn) 25 /// /summary public DataSet GetList(string strWhere) { StringBuilder strSql = new StringBuilder()。 } return model。 } = [0].Rows[0][DeviceClassName].ToString()。 DataSet ds = (UP_H_DeviceClassInfo_GetModel, parameters, ds)。 parameters[0].Value = DeviceClassID。 (UP_H_DeviceClassInfo_Delete, parameters, out rowsAffected)。 SqlParameter[] parameters = { new SqlParameter(DeviceClassID, ,4)}。 (UP_H_DeviceClassInfo_Update, parameters, out rowsAffected)。 parameters[1].Value = 。 SqlParameter[] parameters = { new SqlParameter(DeviceClassID, ,4), new SqlParameter(DeviceClassName, ,50), new SqlParameter(DeviceCategory, ,4)}。 24 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實(shí)現(xiàn) return (int)parameters[0].Value。 parameters[2].Value = 。 parameters[0].Direction = 。 }} /// summary /// 增加一條數(shù)據(jù) /// /summary public int Add( model) { int rowsAffected。 if (result == 1) { return true。 parameters[0].Value = DeviceClassID。 /// /summary public class H_DeviceClassInfo { public H_DeviceClassInfo() { } region 成員方法 /// summary /// 是否存在該記錄 /// /summary public bool Exists(int DeviceClassID) { int rowsAffected。 } 第五章 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊的編碼與實(shí)現(xiàn) 23 /* /// summary public DataTable GetListPage(string where, int pageIndex, int pageSize, out int RecordCount, out int pageCount) { return (*, where, DeviceID, , pageIndex, pageSize, out RecordCount, out pageCount, null)。 DataTable dt = (()).Tables[0]。 return (())。 if (() != ) { ( where + strWhere)。 } ( DeviceCategory,DeviceCategoryName )。 (select )。 } return (())。 ( FROM H_DeviceCategory )。 } } /// summary /// 獲得數(shù)據(jù)列表 /// /summary public DataSet GetList(string strWhere) { StringBuilder strSql = new StringBuilder()。 return model。 if ([0]. 0) 22 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實(shí)現(xiàn) { if ([0].Rows[0][DeviceCategory].ToString() != ) { = ([0].Rows[0][DeviceCategory].ToString())。 model = new ()。 } /// summ
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1