コード例 #1
0
 public void ChangeTableTo(Table aNewTable)
 {
     //try
     //{
     //    dinningProxy.ChangeTable(Table.Number, aNewTable.Number);
     //}
     //catch (FaultException<HCSMSException> ex)
     //{
     //    raiseError(ex);
     //}
     //catch (Exception ex)
     //{
     //    raiseError(ex);
     //}
 }
コード例 #2
0
 public TableUI(Table aTable, Session session)
     : this(session)
 {
     this.Table = aTable;
 }
コード例 #3
0
 private TableUI(Session session)
     : base(session)
 {
     Table = new Table();
 }
コード例 #4
0
        private static Table convertToTable(string id, string location, string name, int seatAmount, string status, string type)
        {
            Table table = new Table();

            table.Number = id;
            table.Location = location;
            table.Name = name;
            table.SeatAmount = seatAmount;
            table.Status =(TableStatus) Enum.Parse(typeof(TableStatus),status);
            table.Type = type;

            return table;
        }