Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/PVS/structures/   (Beweissystem der NASA Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 1 kB image not shown  

Quellcode-Bibliothek Accelerometer.vdmpp   Sprache: unbekannt

 
\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}

97%


[ 0.18Quellennavigators  Projekt   ]