|
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 - metrics - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Seat_Controls, seg_00ff0d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Message; with Message_Types; with Client; with Network; pragma Elaborate (Client); package body Seat_Controls is Packet : Message.Packet; procedure Light_On (Seat : Seat_Id) is Light_Manager_Id : Client.Id := Client.Get_Id ("Light_Manager"); begin Message.Initialize (Packet, Light_Manager_Id); Message.Set_Destination (Packet, Light_Manager_Id); Message.Set_Body (Packet, "T" & Seat_Id'Image (Seat)); Network.Send (Packet); end Light_On; procedure Light_Off (Seat : Seat_Id) is Light_Manager_Id : Client.Id := Client.Get_Id ("Light_Manager"); begin Message.Initialize (Packet, Light_Manager_Id); Message.Set_Destination (Packet, Light_Manager_Id); Message.Set_Body (Packet, "F" & Seat_Id'Image (Seat)); Network.Send (Packet); end Light_Off; procedure Call_Button (Seat : Seat_Id) is Light_Manager_Id : Client.Id := Client.Get_Id ("Light_Manager"); begin Message.Initialize (Packet, Light_Manager_Id); Message.Set_Destination (Packet, Light_Manager_Id); Message.Set_Body (Packet, "C" & Seat_Id'Image (Seat)); Network.Send (Packet); end Call_Button; end Seat_Controls;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=23 rec1=00 rec2=01 rec3=04c [0x01] rec0=09 rec1=00 rec2=02 rec3=000 tail 0x2150bbb70822f64289677 0x42a00088462060003