public ExpressProductsModel(int departmentId, int countryId, int unitId, ClientTreatment clientTreatment)
 {
     DepartmentId    = departmentId;
     CountryId       = countryId;
     UnitId          = unitId;
     ClientTreatment = clientTreatment;
 }
 public OrdersReadinessToStationaryModel(int departmentId, int countryId, int unitId, bool isNewBoard, ClientTreatment clientTreatment)
 {
     UnitId          = unitId;
     CountryId       = countryId;
     DepartmentId    = departmentId;
     IsNewBoard      = isNewBoard;
     ClientTreatment = clientTreatment;
 }
Ejemplo n.º 3
0
        private void LocalClient_OnClientReceivedData(MemoryStream obj)
        {
            if (Configurations.ConfigurationManager.Instance.Startup.show_data)
            {
                logger.Info($"- - - client [len : {obj.Length}]- - -");
                logger.Info(obj.ToArray().ToHexString());
                Console.WriteLine();
            }

            ClientTreatment.InitBuild(obj);
        }
Ejemplo n.º 4
0
        public Pizzeria(Int32 id, Uuid uuid, String name, String alias, String translitAlias, UnitApprove approve, UnitState state,
                        Int32 departmentId, Uuid departmentUuid, Int32 countryId, OrganizationShortInfo organization, Double square,
                        DateTime?beginDateTimeWork, String orientation, Boolean?cardPaymentPickup, Decimal?coordinateX, Decimal?coordinateY,
                        ClientTreatment clientTreatment, Boolean terminalAtCourier, PizzeriaFormat pizzeriaFormat)
            : base(id, uuid, name, alias, UnitType.Pizzeria, state, departmentId, departmentUuid, countryId, organization)
        {
            Format            = pizzeriaFormat;
            Square            = square;
            BeginDateTimeWork = beginDateTimeWork;
            Orientation       = orientation;
            CardPaymentPickup = cardPaymentPickup;
            CoordinateX       = coordinateX;
            CoordinateY       = coordinateY;
            ClientTreatment   = clientTreatment;

            Approve           = approve;
            TranslitAlias     = translitAlias;
            TerminalAtCourier = terminalAtCourier;
        }