Mercury2 Hardware Manager  1.0dev
The hardware manager component of the Mercury2 ground station suite.
 All Classes Namespaces Functions Variables Pages
hwm.command.command Namespace Reference

Contains a class used to store the state of submitted ground station commands. More...

Classes

class  Command
 Used to represent user commands. More...
 
class  CommandNotFound
 
class  CommandInvalidSchema
 
class  CommandMalformed
 
class  CommandError
 A general purpose exception thrown in the event that a command fails. More...
 

Variables

dictionary schema
 

Detailed Description

Contains a class used to store the state of submitted ground station commands.

Variable Documentation

dictionary hwm.command.command.schema
Initial value:
1 = {
2  "type": "object",
3  "$schema": "http://json-schema.org/draft-03/schema",
4  "required": True,
5  "additionalProperties": False,
6  "properties": {
7  "command": {
8  "type": "string",
9  "id": "command",
10  "required": True
11  },
12  "destination": {
13  "type": "string",
14  "id": "destination",
15  "required": True,
16  "pattern": "^(\w+\.\w+)|(\w+)$"
17  },
18  "parameters": {
19  "type": "object",
20  "additionalProperties": True,
21  "required": False
22  }
23  }
24 }