Class: Smartware::CCNETConnection
- Inherits:
-
CommandBasedDevice
- Object
- EventMachine::Connection
- CommandBasedDevice
- Smartware::CCNETConnection
- Defined in:
- lib/smartware/drivers/common/ccnet_connection.rb
Constant Summary collapse
- POLYNOMIAL =
0x8408
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
Instance Method Summary collapse
-
#initialize ⇒ CCNETConnection
constructor
A new instance of CCNETConnection.
Methods inherited from CommandBasedDevice
Constructor Details
#initialize ⇒ CCNETConnection
Returns a new instance of CCNETConnection.
10 11 12 13 14 15 |
# File 'lib/smartware/drivers/common/ccnet_connection.rb', line 10 def initialize super @address = 0 @command_timer = nil end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
8 9 10 |
# File 'lib/smartware/drivers/common/ccnet_connection.rb', line 8 def address @address end |