00001 __author__ = 'tom1231' 00002 from BAL.Header.Response.ParamBuildResponse import ParamBuildResponse, PPM 00003 00004 MSG_LEN = 14 00005 00006 00007 class PPMParamResponse(ParamBuildResponse): 00008 def __init__(self, param): 00009 ParamBuildResponse.__init__(self, PPM, 0, param.getPPMPubHz()) 00010 self._length = MSG_LEN 00011 self._checkSum = 0 00012 self._checkSum = self.calCheckSum(self.dataTosend())