More Components of telephone switch
After receiving dialing sequence, the dialing component has the number
until to be called, this number is exchanged with the transfer component
and therefore part of the interface.
COMPONENT dial(on-hook:BOOLEAN; rec_number; ….)
Together the on-hook and rec-number makes up the interface between the dial and connect components of one unit, they are grouped as record.
TYPE InterfaceDialConn = (*Interface: dial-connect component*)
on-hook: BOOLEAN (*indicate receiver on hook*)
rec_number: number (*Dialled phone*)