First commit 20/03/1997
This commit is contained in:
commit
6823005994
300 files changed
+31820
No files matched your search
BIN
Binary file not shown.
@@ -0,0 +1,61 @@
|
||||
#include <stdio.h>
|
||||
|
||||
struct V
|
||||
{
|
||||
int HorasMedicion[6];
|
||||
};
|
||||
|
||||
struct C
|
||||
{
|
||||
struct V VProductos;
|
||||
|
||||
} Config = { { 8, 12, 16, 20, 24, 4 } };
|
||||
char TablaHoraria[24];
|
||||
|
||||
void ConstruyeTablaHoraria(void);
|
||||
|
||||
void main(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i=0; i < 20; i++ )
|
||||
printf ( "\n" );
|
||||
|
||||
ConstruyeTablaHoraria();
|
||||
|
||||
printf ( "0: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[0], Config.VProductos.HorasMedicion[1] );
|
||||
printf ( "1: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[1], Config.VProductos.HorasMedicion[2] );
|
||||
printf ( "2: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[2], Config.VProductos.HorasMedicion[3] );
|
||||
printf ( "3: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[3], Config.VProductos.HorasMedicion[4] );
|
||||
printf ( "4: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[4], Config.VProductos.HorasMedicion[5] );
|
||||
printf ( "5: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[5], Config.VProductos.HorasMedicion[0] );
|
||||
|
||||
printf ( "\n" );
|
||||
for ( i = 0; i < 12; i++ )
|
||||
{
|
||||
printf( " %02d >-> %d %02d >-> %d \n", i, TablaHoraria[i], i+12, TablaHoraria[i+12] );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void ConstruyeTablaHoraria(void)
|
||||
{
|
||||
int i, j, k;
|
||||
|
||||
// Revisamos las 24 horas posibles: 00 - 1 - 2 - ... - 22 - 23
|
||||
for ( i = 0; i < 24; i ++ )
|
||||
// Por cada hora verificamos el rango donde pueda estar ( 0 - 5 )
|
||||
for ( j = 0; j < 6; j ++ )
|
||||
{
|
||||
for ( k = ( Config.VProductos.HorasMedicion[j] % 24); k != (Config.VProductos.HorasMedicion[(j+1)%6]%24); k = (++k)%24 )
|
||||
{
|
||||
if ( i == k )
|
||||
{
|
||||
TablaHoraria[i] = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( k != (Config.VProductos.HorasMedicion[(j+1)%6]%24) )
|
||||
break;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,168 @@
|
||||
|
||||
|
||||
@1,140
|
||||
Desayuno Especial
|
||||
@0,130
|
||||
Cafe
|
||||
|
||||
Tostada Jamon
|
||||
Û
|
||||
Zumo 225
|
||||
|
||||
|
||||
|
||||
|
||||
@2,140
|
||||
Pide un Baguette
|
||||
@0,130
|
||||
Jamon y Queso 225 York y Queso
|
||||
Pringa 200 Tortilla Patatas
|
||||
Vegetal 200 Salchicha
|
||||
Chorizo 200
|
||||
Pollo y Queso 225 Lomo
|
||||
Roquefor y Jam. 225
|
||||
Anchoa 250 Lomo Mechado
|
||||
|
||||
|
||||
Pida una Caipiri¤a
|
||||
Pida una Caipiri¤a !!
|
||||
!! pide pajaritos fritos !!
|
||||
|
||||
|
||||
|
||||
ÜÜÜ ÜÜÜ ÜÜÜ ÜÜ ÜÜ Ü ÜÜÜ ÜÜÜ
|
||||
ÛÜÛ ÛÜ ßÜ Û ÛÜÜÛ Û Û Û Û
|
||||
Û ÛÜÜ ÜÜÛ ÛÜ Û Û Û Û ÛÜÛ
|
||||
|
||||
ÜÜ ÜÜÜ Ü ÜÜÜ ÜÜÜ ÜÜÜ Ü ÜÜ Ü
|
||||
ÛÜ ÛÜß Û Û Û Û ÛÜÛ ÛÜÛ ÛÜß ÛÜÛ
|
||||
Û Û Û Û Û ÛÜÛ Û Û Û Û Û Û Û
|
||||
|
||||
Ü Ü ÜÜ Ü Ü ÜÜÜ ÜÜ
|
||||
Û Û ÛÜ Û Û ÛÜÛ ÛÜß
|
||||
ÛÜ ÛÜ ÛÜ ßÜß Û Û Û Û
|
||||
|
||||
|
||||
VISITANO EN NUESTRA OTRA
|
||||
BODEGUILLA
|
||||
VIRGEN DEL BUEN AIRE TORRE 2
|
||||
TF954453191
|
||||
|
||||
|
||||
|
||||
|
||||
@1,140
|
||||
Pescaito frito
|
||||
@0,130
|
||||
|
||||
Calamares 1/4 o Raci¢n 500
|
||||
Pescadda frita " " 475
|
||||
Puntillitas " " 550
|
||||
Adobo " " 400
|
||||
Hueva Frita " " 500
|
||||
Pijota " " S/M
|
||||
Boquerones " " S/M
|
||||
Pavias " " 400
|
||||
Croquetas " " 400
|
||||
Frito Variado " " 1200
|
||||
|
||||
@1,140
|
||||
Carnes (en mesa o para llever )
|
||||
@0,130
|
||||
|
||||
Churrasco de cerdo 1/4 o Raci¢n 450
|
||||
Churrasco de pollo " " 500
|
||||
Churrasco de pavo " " 300
|
||||
Brocheta de solomillo " " 550
|
||||
Hamburguesa " " 250
|
||||
Pinchito de pollo " " 200
|
||||
Lomo Plancha " " 200
|
||||
Super Serranito " " 350
|
||||
|
||||
@1,140
|
||||
Ali¤os
|
||||
@0,130
|
||||
TAPA RACIàN
|
||||
Ensaladilla 200 350
|
||||
Ali¤o de gambas 200 350
|
||||
Ali¤o de patatas 200 300
|
||||
Pimientos asados 200 350
|
||||
TAPA RACIàN
|
||||
At£n encebollado 200 350
|
||||
Patatas ali¤adas 200 350
|
||||
Melva 200
|
||||
Cocktel de Marisco 300
|
||||
|
||||
|
||||
@1,140
|
||||
Guisos
|
||||
@0,130
|
||||
TAPA RACIàN
|
||||
Menudo con garbanzo 200 400
|
||||
Espinacas 200 400
|
||||
Carnes con tomate 200 400
|
||||
Lomo mechado 250 400
|
||||
Solomicho al whisky 250 800
|
||||
|
||||
|
||||
Albondigas 200 350
|
||||
Gambas al ajillo 250 1200.
|
||||
|
||||
Bacalao con tomate 200 400
|
||||
|
||||
|
||||
@1,140
|
||||
Chacina
|
||||
@0,130
|
||||
TAPA RACIàN
|
||||
Queso Oveja 200 800
|
||||
|
||||
Queso de Cabra 200 750
|
||||
Queso Cabrales 200 750
|
||||
Queso al Salmon 200
|
||||
Queso Finas Hierbas 200
|
||||
@1,140
|
||||
Bandeja de quesos variados 1700
|
||||
@0,130
|
||||
|
||||
Jamon de Bellota 250 1200
|
||||
Morcon 200 750
|
||||
Ca¤a de Lomo 200 1000
|
||||
Chicharrones 200
|
||||
@1,140
|
||||
Bandeja Serrana 2100
|
||||
@0,130
|
||||
|
||||
@1,140
|
||||
Platos combinados
|
||||
@0,130
|
||||
|
||||
N§1 Tortilla francesa, pimientos fritos
|
||||
y jam¢n.
|
||||
400
|
||||
|
||||
N§2 Lomo plancha con patatas fritas y
|
||||
pesscada frita.
|
||||
400
|
||||
|
||||
N§3 Tortilla Jam¢n, croquetas, ensalada.
|
||||
400
|
||||
|
||||
N§4 Frito variado, 1 Persona 600
|
||||
|
||||
N§5 Tortilla de esparragos,pescada frita
|
||||
ensalada.
|
||||
550
|
||||
|
||||
N§6 Huevos fritos con Jam¢n y pimientos.
|
||||
400
|
||||
|
||||
PIDA UNA CAIPIRI¥A
|
||||
300
|
||||
|
||||
|
||||
|
||||
|
||||
MENU DEL DIA
|
||||
700 PTS
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,30 @@
|
||||
#include <conio.h>
|
||||
|
||||
#include "d:\program\src_dos\libs\bdatos\bdatos.hh"
|
||||
#include "d:\program\src_dos\tpv\tpv_def.h"
|
||||
|
||||
|
||||
BDatos BReg;
|
||||
VENTAS SReg;
|
||||
|
||||
|
||||
void main ( void )
|
||||
{
|
||||
long i;
|
||||
|
||||
if ( BReg.AbrirReg( "ventas.tmp", sizeof( VENTAS ) ) == ERROR )
|
||||
{
|
||||
cprintf( "Error leyendo VENTAS.TMP\r\n" );
|
||||
return;
|
||||
}
|
||||
|
||||
for ( i = 0; i < BReg.Registros(); i++ )
|
||||
{
|
||||
BReg.LeeReg( (void *)&SReg, i );
|
||||
cprintf( "Reg %02d: %09lu %06u %06lu %06lu\r\n", i, SReg.CodigoR, SReg.Cantidad, SReg.PrecioC, SReg.PrecioV );
|
||||
}
|
||||
|
||||
BReg.CerrarReg();
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 300 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user