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

Quelle  Accelerometer.vdmpp   Sprache: VDM

 

\section{Accelerometer}

This class models the accelerometer physical device containing one only operation called stimulate which will hand in the stimulus to the rateController that process the information from this sensor.

\begin{vdm_al}
class Accelerometer is subclass of GLOBAL

operations

 public 
 stimulate : ActivityData ==> ()
 stimulate (a) == Pacemaker`rateController.stimulate(a);

end Accelerometer
\end{vdm_al}

\subsection*{Test coverage}

\begin{rtinfo}
{tc.info}[Accelerometer]
\end{rtinfo}

Messung
CHZG
999710098

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland