车辆调度系统


实现一个车辆调度的系统,实现的是对物流公司的管理。
资源截图
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using Models;
using LMSDAL;
using System.Data;

namespace LMSBLL
{
    ///
    ///模块编号:LMS-Automobile-Manager
    ///作用:车辆业务逻辑层类。
    ///作者:万汉清
    ///编写日期:2009-08-10
    ///

    public class AutomobileManager
    {
        AutomobileService mser = new AutomobileService();                                 //实例化车队数据访问层类

        /// 获取所有车辆的信息。     
        /// 返回值为IList<Automobile>类型,即所有车辆的信息。
        public IList getAutomobileList()
        {
            return mser.getAutomobiles();
        }

        /// 获取所有车队的信息。
        /// 返回值为IList<Motorcade>类型,即所有车队的信息。
        public IList getMotorcadeLIst()
        {
            return mser.getMotorcades();
        }

        /// 判断车辆信息是否更新成功。
        /// 参数“automobile”为Automobile类型,即车辆的实体类。
        /// 返回值为布尔类型,如果返回值为true代表更新成功,否则失败。       
        public bool IsUpdatedAutomobile(Automobile automobile)
        {
            if (mser.UpdateAutomobile(automobile) == 0)
                return true;
            else
                return false;
        }

        /// 判断车辆信息是否增加成功。
        /// 参数“a”为Automobile类型,即车辆的实体类。
        /// 返回值为布尔类型,如果返回值为true代表新增成功,否则失败。
        public bool IsAddAutomobile(Automobile a)
        {
            if (mser.AddAutomobile(a) == 0)
                return true;
            else
                return false;
        }

        /// 判断车辆信息是否删除成功。
        /// 参数“automobileid”为string类型,即车辆编号。
        /// 返回值为布尔类型,如果返回值为true代表删除成功,否则失败。         
        public bool isDeleteAutomobile(string automobileid)
        {
            if (mser.DeleteAutomobile(automobileid) > 0)
                return true;
            else
                return false;
        }

        /// 根据给定的查询内容和范围,返回符合条件的车辆信息。
        /// 参数“thing”为string类型,为查询内容。
        /// 参数“scope”为string类型,为查询范围。
        /// 返回值为IList<Automobile>类型,即根据查询条件和范围返回符合条件的车辆列表。
        public IList getAutomobileByScope(string thing string scope)
        {
            IList alist = mser.getAutomobileByScope(thing scope);
            return alist;
        }

        /// 返回所有的车队编号。
        /// 返回值为IList<Motorcade>类型,即返回所有的车队编号。
        public IList getMotorcadeID()
        {
            IList mlist = mser.getAllMotorcadeID();
            return mlist;
        }

        /// 根据车辆编号,返回车队编号。
        /// 参数“automobileid”为string

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5476  2009-09-05 15:28  LMSLMS.sln

    ..A..H.    371200  2009-09-14 23:37  LMSLMS.suo

     文件       8015  2009-09-14 15:04  LMSLMSBLLAutomobileManager.cs

     文件      24576  2009-09-14 21:18  LMSLMSBLLinDebugLMSBLL.dll

     文件      54784  2009-09-14 21:18  LMSLMSBLLinDebugLMSBLL.pdb

     文件      57344  2009-09-14 21:18  LMSLMSBLLinDebugLMSDAL.dll

     文件      95744  2009-09-14 21:18  LMSLMSBLLinDebugLMSDAL.pdb

     文件      28672  2009-09-14 21:10  LMSLMSBLLinDebugModels.dll

     文件      77312  2009-09-14 21:10  LMSLMSBLLinDebugModels.pdb

     文件       7983  2009-09-14 15:43  LMSLMSBLLCarryManager.cs

     文件        807  2009-09-10 13:06  LMSLMSBLLCheckManager.cs

     文件       1627  2009-09-10 13:17  LMSLMSBLLCostManager.cs

     文件       6977  2009-09-13 22:02  LMSLMSBLLdriverManager.cs

     文件       2686  2009-09-10 13:34  LMSLMSBLLLMSBLL.csproj

     文件       3711  2009-09-11 01:03  LMSLMSBLLMotorcadeManager.cs

     文件      24576  2009-09-14 21:18  LMSLMSBLLobjDebugLMSBLL.dll

     文件      54784  2009-09-14 21:18  LMSLMSBLLobjDebugLMSBLL.pdb

     文件      20480  2009-09-11 01:00  LMSLMSBLLobjDebugRefactorLMSBLL.dll

     文件       7093  2009-09-14 21:18  LMSLMSBLLobjDebugResolveAssemblyReference.cache

     文件        218  2009-09-14 23:36  LMSLMSBLLobjLMSBLL.csproj.FileList.txt

     文件       1331  2009-07-25 10:14  LMSLMSBLLPropertiesAssemblyInfo.cs

     文件       4420  2009-09-14 21:06  LMSLMSBLLTransportFind.cs

     文件        734  2009-09-10 12:59  LMSLMSBLLUserManager.cs

     文件        770  2009-09-13 10:02  LMSLMSDALAdo.cs

     文件      31900  2009-09-14 15:57  LMSLMSDALAutomobileService.cs

     文件      57344  2009-09-14 21:18  LMSLMSDALinDebugLMSDAL.dll

     文件      95744  2009-09-14 21:18  LMSLMSDALinDebugLMSDAL.pdb

     文件      28672  2009-09-14 21:10  LMSLMSDALinDebugModels.dll

     文件      77312  2009-09-14 21:10  LMSLMSDALinDebugModels.pdb

     文件      34902  2009-09-14 21:08  LMSLMSDALCarryService.cs

............此处省略306个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)