Yoctopuce Yocto-Serial Mode D'emploi page 285

Table des Matières

Publicité

module→hasFunction()
Teste la présence d'une fonction pour le module courant.
function hasFunction( funcId)
js
bool hasFunction( string funcId)
cpp
-(bool) hasFunction : (NSString*)
m
boolean hasFunction( funcId: string): boolean
pas
function hasFunction( ByVal
vb
bool hasFunction( string funcId)
cs
boolean hasFunction( String funcId)
java
async Task<bool> hasFunction( string funcId)
uwp
hasFunction( funcId)
py
function hasFunction( $funcId)
php
async hasFunction( funcId)
es
bool hasFunction( string funcId)
dnp
bool hasFunction( string funcId)
cp
YModule
target
cmd
La méthode prend en paramètre l'identifiant de la fonction (relay1, voltage2,...) et retourne un booléen.
Paramètres :
identifiant matériel de la fonction
funcId
Retourne :
vrai si le module inclut la fonction demandée
www.yoctopuce.com
funcId
funcId
As String) As Boolean
hasFunction
funcId
24. Référence de l'API de haut niveau
YModule
279

Publicité

Table des Matières
loading

Table des Matières