Diferencia entre revisiones de «Server V»
Línea 23: | Línea 23: | ||
|style="width:300px;color:white;" bgcolor="black"|'''Respuesta Mensaje Vending''' | |style="width:300px;color:white;" bgcolor="black"|'''Respuesta Mensaje Vending''' | ||
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|01 |
|style="width:200px;color:black;background:white;"|Login empleado | |style="width:200px;color:black;background:white;"|Login empleado | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_01.png|center]] '''Ej: 01|2|14/04/15 11:17:05|66|1234|1234|''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_01.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|03 |
|style="width:200px;color:black;background:white;"|Permiso sobre selección | |style="width:200px;color:black;background:white;"|Permiso sobre selección | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_03.png|center]] '''Ej: 03|2|14/04/15 11:18:07|69|2345|12|100|''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_03.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|05 |
|style="width:200px;color:black;background:white;"|Descuenta saldo | |style="width:200px;color:black;background:white;"|Descuenta saldo | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_05.png|center]] '''Ej: 05|2|14/04/15 11:18:11|70|2345|12|100|''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_05.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|07 |
|style="width:200px;color:black;background:white;"|Cambia password | |style="width:200px;color:black;background:white;"|Cambia password | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_07.png|center]] '''Ej: 07|6|29/01/13 13:27:02|6|2093|1234|4321|''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_07.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|11 |
|style="width:200px;color:black;background:white;"|Configuración del módem | |style="width:200px;color:black;background:white;"|Configuración del módem | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_11.png|center]] '''Ej: 11|2|25/02/19 17:24:57|192.1''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_11.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|13 |
|style="width:200px;color:black;background:white;"|Permite almacenar errores del modulo en base datos | |style="width:200px;color:black;background:white;"|Permite almacenar errores del modulo en base datos | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_13.png|center]] '''Ej: 13|2|14/04/15 11:17:05|6|100-20/06/19 21:17:05,200-21/06/19 21:17:05''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_13.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|15 |
|style="width:200px;color:black;background:white;"|Pago de tarjeta | |style="width:200px;color:black;background:white;"|Pago de tarjeta | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_15.png|center]] '''Ej: 15|2|14/04/2019 12:17:00|900|1|25256312|999''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_15.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|17 |
|style="width:200px;color:black;background:white;"|Reverso de pago de tarjeta | |style="width:200px;color:black;background:white;"|Reverso de pago de tarjeta | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Trama_17.png|center]] '''Ej: 17|2|14/04/2019 12:17:00|10001|7894561230|561|1|2900|1''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_17.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|19 |
|style="width:200px;color:black;background:white;"|Inventario inicial | |style="width:200px;color:black;background:white;"|Inventario inicial | ||
− | |style="width: | + | |style="width:300px;color:black;background:white;"|'''Ej: 19|2|15/05/2019 13:20:00|963|1096|8745|100|*''' |
− | |style="width: | + | |style="width:300px;color:black;background:white;"|[[Archivo:Respuesta_Trama_19.png|center]] |
|- | |- | ||
− | |style="width: | + | |style="width:50px;color:black;background:white;"|23 |
|style="width:200px;color:black;background:white;"|Cambio de precio de la vending | |style="width:200px;color:black;background:white;"|Cambio de precio de la vending | ||
|} | |} |
Revisión del 18:29 12 ago 2019
Características
- Aplicación: Windows Forms.
- Framework: .NET Framework 3.5.
- Nombre GIT: VendingFactory-ServerV
- Descarga GIT: http://192.168.9.60:8080/scm/git/VendingFactory-ServerV
Objetivo
El objetivo de este aplicativo es el de interpretar las tramas que son enviadas por las maquinas Vendings registradas en estado activo. Y realizar una determinada acción dependiendo de la trama que se haya enviado.
Diagrama flujo proceso
El flujo de proceso de este aplicativo se describe en el siguiente diagrama de flujo:
Tramas Server V
El aplicativo del Server V interpreta y responde las siguientes tramas:
Id. Trama | Descripción | Mensaje que se envía | Respuesta Mensaje Vending |
01 | Login empleado | Ej: 01|2|14/04/15 11:17:05|66|1234|1234| | |
03 | Permiso sobre selección | Ej: 03|2|14/04/15 11:18:07|69|2345|12|100| | |
05 | Descuenta saldo | Ej: 05|2|14/04/15 11:18:11|70|2345|12|100| | |
07 | Cambia password | Ej: 07|6|29/01/13 13:27:02|6|2093|1234|4321| | |
11 | Configuración del módem | Ej: 11|2|25/02/19 17:24:57|192.1 | |
13 | Permite almacenar errores del modulo en base datos | Ej: 13|2|14/04/15 11:17:05|6|100-20/06/19 21:17:05,200-21/06/19 21:17:05 | |
15 | Pago de tarjeta | Ej: 15|2|14/04/2019 12:17:00|900|1|25256312|999 | |
17 | Reverso de pago de tarjeta | Ej: 17|2|14/04/2019 12:17:00|10001|7894561230|561|1|2900|1 | |
19 | Inventario inicial | Ej: 19|2|15/05/2019 13:20:00|963|1096|8745|100|* | |
23 | Cambio de precio de la vending |
![]() | Permiso sobre selección: Esta trama valida que el usuario tenga permiso para sacar un producto de la Vending |
![]() | Permite almacenar errores del modulo en base datos: El listado de errores consta de clave-fecha-hora separados por una coma. Estos datos se registran en la tabla VF_OPE_ERRORES_VENDING |
![]() | Pago de tarjeta: Los últimos dígitos del precio son los decimales. Estos datos se registran en la tabla OPE_CASHLESS |
![]() | Inventario inicial: El inventario inicial se registra en la tabla OPE_INVENT_VENDING |