Python scripting OLP - Objects

CENPyOlpSensor

Previous  Chapter  Next

 

Methods

 

GetName(): string

 

o

return

the sensor name

 

[Example]   

   sensorName = sensor.GetName()

 


 

GetResourceName(): string

 

o

return

the parent resource name of this sensor

 

 

[Example]

   sensorResName = sensor.GetResourceName()

 


 

AskItemType(): FSItemType

 

o

return

the parent Item type

 

Returns the parent Item type

 

[Example]

   itemType = sensor.AskItemType()

 


 

AskItemSubType(): ItemSubType

 

o

return

the parent Item sub type

 

Returns the parent Item sub type

 

[Example]

   itemSubType = sensor.AskItemSubType()

 

 


Previous
Previous page
Chapter
Chapter page
Next
Next page