|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 11264 (0x2c00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Com_Ihm, seg_050532
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Lecteur_68; with Site_68; with Parametre_68; with Plage_68; with Ss_Zone_68; with Horaire_68; with Semaine_68; with Acces_68; with Carte_68; with Lecteur_Zone_68; with Carte_Groupe_68; with General_Defs; with Trame_Ihm_68; with Jj_Hh_Mm_68; with Simple_Io; with Text_Io; package body Com_Ihm is package G_D renames General_Defs; Max_Trame : constant Natural := 13; Trame_Indice : Natural; type T_Tab_Trame is array (1 .. Max_Trame) of Trame_Ihm_68.Object; Tab_Trame : T_Tab_Trame; Lecteur, Lecteur2 : Lecteur_68.Object; Site : Site_68.Object; Parametre : Parametre_68.Object; Semaine : Semaine_68.Object; Ss_Zone : Ss_Zone_68.Object; Ss_Zone2 : Ss_Zone_68.Object; Plage : Plage_68.Object; Acces, Acces2 : Acces_68.Object; Carte, Carte2 : Carte_68.Object; Lecteur_Zone : Lecteur_Zone_68.Object; Carte_Groupe, Carte_Groupe2 : Carte_Groupe_68.Object; Jj_Hh_Mm : Jj_Hh_Mm_68.Object; procedure Ecriture (S : String) is begin Simple_Io.Put_Line (S); end Ecriture; function Lecture return String is S : String (1 .. 0); C : Character; begin if Trame_Indice > Tab_Trame'Last then Simple_Io.Put ("(r)apport (f)in ? "); Text_Io.Get (C); if C = 'f' then return S; else return Trame_Ihm_68.Image (Tab_Trame (Tab_Trame'Last)); end if; else Trame_Indice := Trame_Indice + 1; return Trame_Ihm_68.Image (Tab_Trame (Trame_Indice - 1)); end if; end Lecture; procedure Initialisation is begin Site_68.Create (O => Site, N => 60); Parametre_68.Create (O => Parametre, Tempo => 10, Apb => Parametre_68.Inactif, Veille => Parametre_68.En_Service, Entree_Tor => Parametre_68.Boucle, Evenement => Parametre_68.Tous); Lecteur_68.Create (O => Lecteur, Numero => 3, Site => Site, Parametre => Parametre); Lecteur_68.Create (O => Lecteur2, Numero => 4, Site => Site, Parametre => Parametre); Semaine_68.Create_Semaine_Vide (Semaine); Semaine_68.Ajout_Jour (Semaine, Semaine_68.Lundi); Semaine_68.Ajout_Jour (Semaine, Semaine_68.Mercredi); Ss_Zone_68.Create (O => Ss_Zone, Deb_1_Hh => 10, Deb_1_Mm => 30, Fin_1_Hh => 11, Fin_1_Mm => 05, Deb_2_Hh => 00, Deb_2_Mm => 00, Fin_2_Hh => 00, Fin_2_Mm => 00, Jour_Sem => Semaine); Ss_Zone_68.Initialise (Ss_Zone2); Plage_68.Create (O => Plage, Numero => 1, Zone => 2, Per_1 => Ss_Zone, Per_2 => Ss_Zone2, Per_3 => Ss_Zone2); Carte_68.Create (O => Carte, Numero => 200); Carte_68.Create (O => Carte2, Numero => 199); Lecteur_Zone_68.Create (O => Lecteur_Zone, Lecteur => 3, Zone => 2); Carte_Groupe_68.Create (O => Carte_Groupe, Carte => 200, Groupe => 5); Carte_Groupe_68.Create (O => Carte_Groupe2, Carte => 199, Groupe => 5); Acces_68.Create (O => Acces, Zone => 2, Plage => 1, Groupe => 5); Acces_68.Create (O => Acces2, Zone => 2, Plage => 8, Groupe => 5); Jj_Hh_Mm_68.Create (O => Jj_Hh_Mm, Jour => Jj_Hh_Mm_68.Mercredi, Heure => 10, Minute => 30); Trame_Ihm_68.Create (O => Tab_Trame (1), Action => Trame_Ihm_68.Config); Trame_Ihm_68.Create (O => Tab_Trame (2), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Lecteur, S => Lecteur_68.Image (Lecteur)); Trame_Ihm_68.Create (O => Tab_Trame (3), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Plage, S => Plage_68.Image (Plage)); Trame_Ihm_68.Create (O => Tab_Trame (4), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Acces, S => Acces_68.Image (Acces)); Trame_Ihm_68.Create (O => Tab_Trame (5), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Carte, S => Carte_68.Image (Carte)); Trame_Ihm_68.Create (O => Tab_Trame (6), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Lecteur_Zone, S => Lecteur_Zone_68.Image (Lecteur_Zone)); Trame_Ihm_68.Create (O => Tab_Trame (7), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Carte_Groupe, S => Carte_Groupe_68.Image (Carte_Groupe)); Trame_Ihm_68.Create (O => Tab_Trame (8), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Carte, S => Carte_68.Image (Carte2)); Trame_Ihm_68.Create (O => Tab_Trame (9), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Lecteur, S => Lecteur_68.Image (Lecteur2)); Trame_Ihm_68.Create (O => Tab_Trame (10), Action => Trame_Ihm_68.Creation, Type_Objet => Trame_Ihm_68.Carte_Groupe, S => Carte_Groupe_68.Image (Carte_Groupe2)); Trame_Ihm_68.Create (O => Tab_Trame (11), Action => Trame_Ihm_68.Modification, Type_Objet => Trame_Ihm_68.Horaire, S => Jj_Hh_Mm_68.Image (Jj_Hh_Mm)); Trame_Ihm_68.Create (O => Tab_Trame (12), Action => Trame_Ihm_68.Fin_Config); Trame_Ihm_68.Create (O => Tab_Trame (13), Action => Trame_Ihm_68.Rapport); Trame_Indice := Tab_Trame'First; end Initialisation; end Com_Ihm;
nblk1=a nid=3 hdr6=12 [0x00] rec0=2a rec1=00 rec2=01 rec3=004 [0x01] rec0=1f rec1=00 rec2=08 rec3=048 [0x02] rec0=04 rec1=00 rec2=09 rec3=08c [0x03] rec0=17 rec1=00 rec2=05 rec3=018 [0x04] rec0=13 rec1=00 rec2=02 rec3=00e [0x05] rec0=03 rec1=00 rec2=0a rec3=034 [0x06] rec0=10 rec1=00 rec2=06 rec3=074 [0x07] rec0=10 rec1=00 rec2=04 rec3=068 [0x08] rec0=0c rec1=00 rec2=07 rec3=000 [0x09] rec0=fd rec1=0e rec2=ec rec3=43d tail 0x2154ade728780314aea57 0x42a00088462060003 Free Block Chain: 0x3: 0000 00 00 00 82 80 1a 74 20 3d 3e 20 50 61 72 61 6d ┆ t => Param┆