Opened 8 years ago
Closed 8 years ago
#132 closed task (fixed)
get userID/runID/proposalID from neon and update
Reported by: | yanll | Owned by: | yanll |
---|---|---|---|
Priority: | minor | Milestone: | alpa |
Component: | general | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Parent ID: | Parent Tickets: | ||
Estimated Number of Hours: | 0.0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Description (last modified by yanll)
1 main.py
def getCommand(self, parent, gui):
userPath = '/GPPD/cockpit/user_information'
2 model/getNeonData.py
signalUser = QtCore?.pyqtSignal(str)
#user information
try:
#get json date after json.dumps from neon
user = self.neonServer.get(self.userPath)
if user is None:
self.signalLog.emit("Empty User Information Data!")
else:
try:
self.signalUser.emit(user)
except:
pass
except:
pass
3 model/neonReceiver.py
self.worker.signalUser.connect(self.gui.setUserInfo)
4 main.py
@QtCore?.pyqtSlot(str)
def setUserInfo(self, value):
self.userWidget.setUserInfo(value)
Subtickets
Child Tickets
Change History (2)
comment:1 Changed 8 years ago by yanll
- Description modified (diff)
- Priority changed from major to minor
- Summary changed from a listenning to listen status change to trigge status button update to get userID/runID/proposalID from neon and update
comment:2 Changed 8 years ago by yanll
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.