Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- using HKCardOUT.Helper;
- using HKCardOUT.Logic;
- using HKCardOUT.Logic.Model;
- using HKCardOUT.Logic.Service;
- using HKLib.Dto;
- using HKLib.RabbitMQ.Config;
- using System;
- using System.Collections.Generic;
- using System.Text;
- using XExten.Advance.LinqFramework;
-
- namespace HKCardOUT
- {
- public class CardHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- var dto = msg.ToModel<CardStutasDto>();
-
- DbContext.Context.Updateable<CardStutas>().SetColumns(t => t.Stutas == dto.Stutas).Where(t => t.CardNo == dto.CardNo).ExecuteCommand();
-
- new HKCore().GetAllCardStatus();
- }
- }
- public class TimeHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- DataBus.Times = msg.ToModel<TimeSpilte>();
- }
- }
- public class FoodHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- RemoteService.GetFoodMenus();
- }
- }
-
- public class RangeHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- RemoteService.GetRangeCtrl();
- }
- }
- }
|