コンテンツにスキップ

GetDoorStatus()#

GetDoorStatus(doornumber)#

ドアの状態を取得します。

パラメータ#

int doornumber

ドア番号

戻り値#

int

ドアの状態。

0 : 初期状態 1 : OPEN 2 : CLOSE 3 : 開く動作中 4 : 閉じる動作中 5 : 開く動作一時停止 6 : 閉じる動作一時停止

コメント#

サンプル#

1
s = obj.GetDoorStatus(1)