def setSingleSurvey(self,swin):
"""
When user chooses to enter manually start and end dates of a single
survey. Fill in the caimpagndata property.
"""
self.surveydates=[(datetime(int(swin.yrEdit.text()),int(swin.monthEdit.text()),
int(swin.dayEdit.text()),int(swin.hrEdit.text()),
int(swin.mnEdit.text()),int(swin.ssEdit.text())),
datetime(int(swin.yrEditend.text()),int(swin.monthEditend.text()),
int(swin.dayEditend.text()),int(swin.hrEditend.text()),
int(swin.mnEditend.text()),int(swin.ssEditend.text())))]
#call the next generic step of the survey selection process
self.baseStationSelection()
评论列表
文章目录