|
@ -66,6 +66,9 @@ public class DiActCameraBasler extends DiActuatorBase { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
protected void onDisable() { |
|
|
protected void onDisable() { |
|
|
|
|
|
if ( -1 == this.cam ) { |
|
|
|
|
|
return ; |
|
|
|
|
|
} |
|
|
var pylon = this.getPylon(); |
|
|
var pylon = this.getPylon(); |
|
|
pylon.deviceClose(this.cam); |
|
|
pylon.deviceClose(this.cam); |
|
|
this.cam = -1; |
|
|
this.cam = -1; |
|
|