Module prototypeslg :: Class TELUSLGCALREPEAT
[hide private]
[frames] | no frames]

Class TELUSLGCALREPEAT

source code

                  object --+        
                           |        
prototypes.BaseProtogenClass --+    
                               |    
              prototypes.UINTlsb --+
                                   |
                                  TELUSLGCALREPEAT

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
A 32-bit bitmapped value used to store repeat info for events in the LG calendar
source code
 
_update(self, args, kwargs) source code
 
getvalue(self)
Returns the integer we are
source code
 
_converttoint(self, repeat) source code

Inherited from prototypes.UINTlsb: packetsize, readfrombuffer, writetobuffer

Inherited from prototypes.BaseProtogenClass: autologread, autologwrite, iscontainer, packetspan, update

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _caldomvalues = {1: 0, 2: 1, 4: 2, 8: 3, 16: 4, 32: 5, 64: 6}
  _to_bp_dow = {0: 1, 1: 2, 2: 4, 3: 8, 4: 16, 5: 32, 6: 64}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

A 32-bit bitmapped value used to store repeat info for events in the LG calendar

Parameters:
  • constant - (Optional) A constant value. All reads must have this value
  • constantexception - (Optional) Type of exception raised when data doesn't match constant.
  • sizeinbytes - (Mandatory for writing, else Optional) How big we are in bytes
  • default - (Optional) Our default value
  • value - (Optional) The value
Overrides: object.__init__

_update(self, args, kwargs)

source code 
Overrides: prototypes.BaseProtogenClass._update

getvalue(self)

source code 

Returns the integer we are

Overrides: prototypes.BaseProtogenClass.getvalue
(inherited documentation)