Manual
FACULTAD DE INGENIERÍA
DIVISIÓN DE COMPUTACIÓN
MANUAL TECNICO
“MICROPROYECTO 2”
MATERIA:
ESTRUCTURAS DE DATOS
ELABORARON:
New Style
Los Hijos de Bill Gates
Los Sobrevivientes
TOLUCA ESTADO DE MEXICO A 07 DE NOVIEMBRE DE 2011
CONTENIDO
1. DESCRIPCION DEL SOFTWARE………………………………………………….3
1.1 RequerimientosBásicos…………………………….……………………………4
1.2 Restricciones Básicas……………………..………….…………………………..4
2. PROPUESTA DE SOLUCIÓN………………………………………..…………..….5
3. REQUERIMIENTOS MÍNIMOS DE HW Y SW PARA EL DESARROLLO Y MANTENIMIENTO
3.1 Hardware………..………………………………………………………………….19
3.2 Software…… ..………………………………………………….………………….19
4. SOPORTE TECNICO……………………………………………….………………20
1. DESCRIPCIPCIÓN DEL SOFTWARE
Es un programa que realiza elregistro y control de inventarios de una farmacia; este recibe datos, los guarda o elimina y genera reportes
a) Funcionalidad Básica
Su propósito es generar un reporte de inventario de artículos de una farmacia
Y un reporte de pedidos
b) Restricciones
El usuario va a poder generar solo 100 registros
2. Propuesta de solución (Basic)type tNodoArt
cve as string * 3 'clave'
nomb as string * 15 ' nombre'
desc as string * 50 ' Descrpción'
preC as double ' Precio de compra'
preV as double ' Precio de venta'
exis as integer ' Existencia'
prov as integer 'Proveedor'
end type
const as integer nulo=0
type tNodoPro
cve as integer 'Clave'
nomb as string * 15 ' nombre o razón social'
dire as string* 40 ' Dirección'
tele as string * 10 ' Teléfono'
mail as string * 10 ' Correo electrónico'
cont as string * 50 ' Persona de contacto'
end type
'TAD ARBOL'
TYPE tArbolPr
dato as tNodoPro
end type
TYPE tArbolAr
dato as tNodoArt
as tNodoArt ptr izq, der
end type
function menuPrincipal() as integer
dim opc as integer
do
print "MENUPRINCIPAL"
print "1. Articulos"
print "2. Proveedores"
print "3. Reporte de inventario"
print "4. Reporte de pedidos"
print "5. Salir"
print "Selecciona una opcion [1..5]: "
input opc
loop until (opc>0) and (opc<6)
return opc
function menuArticulos() as integer
dim opc as integer
do
print "MENUDE ARTICULOS"
print "1. Insertar"
print "2. Eliminar"
print "3. Modifica datos"
print "4. Consultar datos del articulo"
print "5. Consultar todos los articulos"
print "6. Regresar al menu principal"
print "Selecciona una opcion [1..6]: "
input opc
loop until (opc>0) and (opc<7)
return opc
functionmenuProveedores() as integer
dim opc as integer
do
print "MENU DE proveedores"
print "1. Insertar"
print "2. Eliminar"
print "3. Modifica datos"
print "4. Consultar datos de un proveedor"
print "5. Consultar todos los proveedores"
print "6. Regresar al menu principal"
print "Selecciona una opcion [1..6]: "
inputopc
loop until (opc>0) and (opc<7)
return opc
Sub LeeDatosArt (ByRef regArt as tNodoArt, ByVal band as integer)
'Util: lee datos de artículo del teclado.
'Pre: Ninguna.
'Pos: regArt con los datos leídos del teclado.
If (band = 0) Then
Print"Clave de articulo:"
Input regArt.cve
Print"Nombre del articulo:"
Input regArt.nombPrint"Descripcion:"
Input regArt.desc
Print"Precio de compra:"
Input regArt.preC
Print"Precio de venta:"
Input regArt.preV
Print"Articulos en existencia:"
Input regArt.exis
Print"Proveedor:"
Input regArt.prov
Else
Print"Nombre del articulo:"
Input regArt.nomb...
Regístrate para leer el documento completo.