-
大小: 9.02MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-10-17
- 語言: 其他
- 標(biāo)簽: 車輛調(diào)度??
資源簡(jiǎn)介
實(shí)現(xiàn)一個(gè)車輛調(diào)度的系統(tǒng),實(shí)現(xiàn)的是對(duì)物流公司的管理。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
using?Models;
using?LMSDAL;
using?System.Data;
namespace?LMSBLL
{
????///
????///模塊編號(hào):LMS-Automobile-Manager
????///作用:車輛業(yè)務(wù)邏輯層類。
????///作者:萬漢清
????///編寫日期:2009-08-10
????///
????public?class?AutomobileManager
????{
????????AutomobileService?mser?=?new?AutomobileService();?????????????????????????????????//實(shí)例化車隊(duì)數(shù)據(jù)訪問層類
????????///?獲取所有車輛的信息。 ?????
????????///?返回值為IList<Automobile>類型,即所有車輛的信息。
????????public?IList?getAutomobileList()
????????{
????????????return?mser.getAutomobiles();
????????}
????????///?獲取所有車隊(duì)的信息。
????????///?返回值為IList<Motorcade>類型,即所有車隊(duì)的信息。
????????public?IList?getMotorcadeLIst()
????????{
????????????return?mser.getMotorcades();
????????}
????????///?判斷車輛信息是否更新成功。
????????///?參數(shù)“automobile”為Automobile類型,即車輛的實(shí)體類。
????????///?返回值為布爾類型,如果返回值為true代表更新成功,否則失敗。 ???????
????????public?bool?IsUpdatedAutomobile(Automobile?automobile)
????????{
????????????if?(mser.UpdateAutomobile(automobile)?==?0)
????????????????return?true;
????????????else
????????????????return?false;
????????}
????????///?判斷車輛信息是否增加成功。
????????///?參數(shù)“a”為Automobile類型,即車輛的實(shí)體類。
????????///?返回值為布爾類型,如果返回值為true代表新增成功,否則失敗。
????????public?bool?IsAddAutomobile(Automobile?a)
????????{
????????????if?(mser.AddAutomobile(a)?==?0)
????????????????return?true;
????????????else
????????????????return?false;
????????}
????????///?判斷車輛信息是否刪除成功。
????????///?參數(shù)“automobileid”為string類型,即車輛編號(hào)。
????????///?返回值為布爾類型,如果返回值為true代表刪除成功,否則失敗。 ?????????
????????public?bool?isDeleteAutomobile(string?automobileid)
????????{
????????????if?(mser.DeleteAutomobile(automobileid)?>?0)
????????????????return?true;
????????????else
????????????????return?false;
????????}
????????///?根據(jù)給定的查詢內(nèi)容和范圍,返回符合條件的車輛信息。
????????///?參數(shù)“thing”為string類型,為查詢內(nèi)容。
????????///?參數(shù)“scope”為string類型,為查詢范圍。
????????///?返回值為IList<Automobile>類型,即根據(jù)查詢條件和范圍返回符合條件的車輛列表。
????????public?IList?getAutomobileByScope(string?thing?string?scope)
????????{
????????????IList?alist?=?mser.getAutomobileByScope(thing?scope);
????????????return?alist;
????????}
????????///?返回所有的車隊(duì)編號(hào)。
????????///?返回值為IList<Motorcade>類型,即返回所有的車隊(duì)編號(hào)。
????????public?IList?getMotorcadeID()
????????{
????????????IList?mlist?=?mser.getAllMotorcadeID();
????????????return?mlist;
????????}
????????///?根據(jù)車輛編號(hào),返回車隊(duì)編號(hào)。
????????///?參數(shù)“automobileid”為string
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????5476??2009-09-05?15:28??LMS\LMS.sln
????..A..H.????371200??2009-09-14?23:37??LMS\LMS.suo
?????文件???????8015??2009-09-14?15:04??LMS\LMSBLL\AutomobileManager.cs
?????文件??????24576??2009-09-14?21:18??LMS\LMSBLL\bin\Debug\LMSBLL.dll
?????文件??????54784??2009-09-14?21:18??LMS\LMSBLL\bin\Debug\LMSBLL.pdb
?????文件??????57344??2009-09-14?21:18??LMS\LMSBLL\bin\Debug\LMSDAL.dll
?????文件??????95744??2009-09-14?21:18??LMS\LMSBLL\bin\Debug\LMSDAL.pdb
?????文件??????28672??2009-09-14?21:10??LMS\LMSBLL\bin\Debug\Models.dll
?????文件??????77312??2009-09-14?21:10??LMS\LMSBLL\bin\Debug\Models.pdb
?????文件???????7983??2009-09-14?15:43??LMS\LMSBLL\CarryManager.cs
?????文件????????807??2009-09-10?13:06??LMS\LMSBLL\CheckManager.cs
?????文件???????1627??2009-09-10?13:17??LMS\LMSBLL\CostManager.cs
?????文件???????6977??2009-09-13?22:02??LMS\LMSBLL\driverManager.cs
?????文件???????2686??2009-09-10?13:34??LMS\LMSBLL\LMSBLL.csproj
?????文件???????3711??2009-09-11?01:03??LMS\LMSBLL\MotorcadeManager.cs
?????文件??????24576??2009-09-14?21:18??LMS\LMSBLL\obj\Debug\LMSBLL.dll
?????文件??????54784??2009-09-14?21:18??LMS\LMSBLL\obj\Debug\LMSBLL.pdb
?????文件??????20480??2009-09-11?01:00??LMS\LMSBLL\obj\Debug\Refactor\LMSBLL.dll
?????文件???????7093??2009-09-14?21:18??LMS\LMSBLL\obj\Debug\ResolveAssemblyReference.cache
?????文件????????218??2009-09-14?23:36??LMS\LMSBLL\obj\LMSBLL.csproj.FileList.txt
?????文件???????1331??2009-07-25?10:14??LMS\LMSBLL\Properties\AssemblyInfo.cs
?????文件???????4420??2009-09-14?21:06??LMS\LMSBLL\TransportFind.cs
?????文件????????734??2009-09-10?12:59??LMS\LMSBLL\UserManager.cs
?????文件????????770??2009-09-13?10:02??LMS\LMSDAL\Ado.cs
?????文件??????31900??2009-09-14?15:57??LMS\LMSDAL\AutomobileService.cs
?????文件??????57344??2009-09-14?21:18??LMS\LMSDAL\bin\Debug\LMSDAL.dll
?????文件??????95744??2009-09-14?21:18??LMS\LMSDAL\bin\Debug\LMSDAL.pdb
?????文件??????28672??2009-09-14?21:10??LMS\LMSDAL\bin\Debug\Models.dll
?????文件??????77312??2009-09-14?21:10??LMS\LMSDAL\bin\Debug\Models.pdb
?????文件??????34902??2009-09-14?21:08??LMS\LMSDAL\CarryService.cs
............此處省略306個(gè)文件信息
- 上一篇:天騰TTCE-M100產(chǎn)品說明
- 下一篇:EDEM官方講義
評(píng)論
共有 條評(píng)論