Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/VDM/VDMPP/CashDispenserPP/test/     Datei vom 13.4.2020 mit Größe 628 B image not shown  

SSL SendStatement.vdmpp   Interaktion und
PortierbarkeitVDM

 

\section{The SendStatement Testing Class}

 The event SendStatement corresponds to a client asking for a
 statement to be send by ordinary mail at one of the tills in this
 system.

\begin{vdm_al}
class SendStatement is subclass of Event

instance variables

  tillid : System`TillId;

operations
  public Init : System`TillId ==> SendStatement
  Init(tid) ==
    (tillid := tid;
     return self);

  public execute : System ==> Test`TestResult
  execute(sys) ==
    let till = sys.GetTill(tillid)
    in
      if till.CardValidated()
      then till.RequestStatement()
      else return false;

end SendStatement
\end{vdm_al}

Messung
CHZG
889710095

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.1Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24) ¤

*Eine klare Vorstellung vom Zielzustand