DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦6ceffa9fa⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Parametre_68, seg_04e413

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



package Parametre_68 is

    type Object is private;

    subtype T_Tempo is Natural range 0 .. 255;
    type T_Apb is (Inactif, Actif);
    type T_Veille is (En_Veille, En_Service);
    type T_Entree_Tor is (Contact, Boucle, Bp);
    type T_Evenement is (Anomalies, Tous);

    -- constantes utilisees par la fonction Image

    Debut_Parametre : constant String := "Parametre";
    Fin_Parametre : constant String := "Fin Parametre";
    Sep_Parametre : constant Character := '#';

    procedure Create (O : in out Object;
                      Tempo : T_Tempo;
                      Apb : T_Apb;
                      Veille : T_Veille;
                      Entree_Tor : T_Entree_Tor;
                      Evenement : T_Evenement);

    procedure Set_Tempo (O : in out Object; Tempo : T_Tempo);
    procedure Set_Apb (O : in out Object; Apb : T_Apb);
    procedure Set_Veille (O : in out Object; Veille : T_Veille);
    procedure Set_Entree_Tor (O : in out Object; Entree_Tor : T_Entree_Tor);
    procedure Set_Evenement (O : in out Object; Evenement : T_Evenement);

    function Get_Tempo (O : Object) return T_Tempo;
    function Get_Apb (O : Object) return T_Apb;
    function Get_Veille (O : Object) return T_Veille;
    function Get_Entree_Tor (O : Object) return T_Entree_Tor;
    function Get_Evenement (O : Object) return T_Evenement;

    function Image (O : Object) return String;
    function Value (S : String) return Object;
    procedure Value (S : String; O : in out Object; Der_Car : in out Natural);

private

    type Object is
        record
            Tempo : T_Tempo;
            Apb : T_Apb;
            Veille : T_Veille;
            Entree_Tor : T_Entree_Tor;
            Evenement : T_Evenement;
        end record;

end Parametre_68;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=052
        [0x01] rec0=19 rec1=00 rec2=02 rec3=000
    tail 0x21755c67a876b5c30d011 0x42a00088462060003