资源简介

酒店管理系统源码(ASP C# .NET C 毕业设计) 可直接运行。做毕业设计、课程设计或者想研究下技术的可以下载学习。需要更多资源的可以关注我。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Security.Principal;
using System.Net;
using System.ServiceModel;

using HCSMS.Model;
using HCSMS.Presentation.Impl;


namespace ClientConsole
{
    class ClientTest
    {
        static void Main(string[] args)
        {
            KitchenCallBackUI ui = new KitchenCallBackUI();
            ui.RequestForChangeItemEvent +=new UserInterface.HandleEventHandler(ui_RequestForChangeItemEvent);
            ui.RequestForOrderItemEvent += new UserInterface.HandleEventHandler(ui_RequestForOrderItemEvent);
            try
            {
                Console.WriteLine(“Prepare for handle request: “);
                ui.Start();
                while (Console.ReadKey().Key != ConsoleKey.Enter)
                {

                }
                ui.Stop();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }           
        }

        static List ui_RequestForOrderItemEvent(object sender List requestList)
        {
            foreach (var info in requestList)
            {
                OrderItem(info.EntityId info.SourceId);
            }
            return requestList;
        }

        static List ui_RequestForChangeItemEvent(object sender List requestList)
        {
            foreach(var info in requestList)
            {
                ChangeItem(info.EntityId info.SourceId info.TargetId);
            }
            return new List();
        }

       
        public static string ChangeItem(string tableNumber string oldItemId string newItemId)
        {
            Console.WriteLine(DateTime.Now.ToString() + “ Table Number: “ + tableNumber + “ “ + “ Change Item: “ + oldItemId + “\t“ + newItemId);
            return null;
        }

        public string ChangeTable(string tableNumber string oldTableId string newTableId)
        {
            Console.WriteLine(DateTime.Now.ToString() + “ Table Number: “ + tableNumber + “ “ + “ Change Table: “ + oldTableId + “\t“ + newTableId);
            return null;
        }

        public static string OrderItem(string tableNumber string itemId)
        {
            Console.WriteLine(DateTime.Now.ToString() + “ Table Number: “ + tableNumber + “ “ + “ Order Item: “ + itemId);
            return null;
        }

        public string DeorderItem(string tableNumber string itemId)
        {
            Console.WriteLine(DateTime.Now.ToString() + “ Table Number: “ + tableNumber + “ “ + “ Deorder Item: “ + itemId);
            return null;
        }

        public void PrioritizeDish(string tableNumber string itemId PriorityLevel level)
        {
            throw new NotImplementedException();
        }

     

    }
}

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

    .......      7966  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\app.con

    .......     11124  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\app.config

    .......      6656  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\ClientConsole.exe

    .......     11124  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\ClientConsole.exe.config

    .......     15872  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\ClientConsole.pdb

    .......     11608  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\ClientConsole.vshost.exe

    .......     11124  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\ClientConsole.vshost.exe.config

    .......       479  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\ClientConsole.vshost.exe.manifest

    .......      6144  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Model.Application.dll

    .......     24064  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Model.Application.pdb

    .......     19968  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Model.dll

    .......     13824  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Model.pdb

    .......      6144  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Presentation.dll

    .......     34304  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Presentation.Impl.dll

    .......    108032  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Presentation.Impl.pdb

    .......      7680  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Presentation.pdb

    .......      7168  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Service.dll

    .......      7680  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\bin\Debug\HCSMS.Service.pdb

    .......      5355  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\ClientConsole.csproj

    .......       465  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\ClientConsole.csproj.user

    .......      2886  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\ClientTest.cs

    .......      2589  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\ClientConsole.csproj.FileListAbsolute.txt

    .......      6656  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\ClientConsole.exe

    .......     15872  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\ClientConsole.pdb

    .......      6498  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

    .......     15487  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\ResolveAssemblyReference.cache

    .......      4608  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\TempPE\Service References.AccountService.Reference.cs.dll

    .......      4608  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\TempPE\Service References.AuthorityService.Reference.cs.dll

    .......      6144  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\obj\Debug\TempPE\Service References.KitchenService.Reference.cs.dll

    .......      1340  2012-02-21 17:21  c#酒店管理系统\HCSMSSolution-trunk-master\ClientConsole\Properties\AssemblyInfo.cs

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

评论

共有 条评论