These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Prerequisites
What things you need to install the software and how to install them
```
Give examples
```
### Installing
A step by step series of examples that tell you have to get a development env running
Say what the step will be
```
Give the example
```
And repeat
```
until finished
```
End with an example of getting some data out of the system or using it for a little demo
## Running the tests
Explain how to run the automated tests for this system
### Break down into end to end tests
Explain what these tests test and why
```
Give an example
```
### And coding style tests
Explain what these tests test and why
```
Give an example
```
## Deployment
Add additional notes about how to deploy this on a live system
## Built With
*[Dropwizard](http://www.dropwizard.io/1.0.2/docs/) - The web framework used
*[ROME](https://rometools.github.io/rome/) - Used to generate RSS Feeds
## Contributing
Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).
@@ -67,6 +67,16 @@ class MAROCDebug : public TANGO_BASE_CLASS
/*----- PROTECTED REGION END -----*/// MAROCDebug::Data Members
// Device property data members
public:
// coincEnabled: Toggles coincidence logic. When disabled, raw data of entire MAROC boards will be transmitted, sorted by time.
Tango::DevBooleancoincEnabled;
// coincSingle: Use only one single coincidence entity
Tango::DevBooleancoincSingle;
// coincOnlyXY: Transfer only first X/Y pair (event + location). Do not set during aquisition because additional information will be discarded due to lack of additional coincidence data.
Tango::DevBooleancoincOnlyXY;
// coincMark:
Tango::DevBooleancoincMark;
// Attribute data members
public:
...
...
@@ -116,6 +126,10 @@ public:
* Initialize the device
*/
virtualvoidinit_device();
/*
* Read the device properties from database
*/
voidget_device_property();
/*
* Always executed method before execution command method.
<devicePropertiesname="coincEnabled"description="Toggles coincidence logic. When disabled, raw data of entire MAROC boards will be transmitted, sorted by time.">
<devicePropertiesname="coincOnlyXY"description="Transfer only first X/Y pair (event + location). Do not set during aquisition because additional information will be discarded due to lack of additional coincidence data.">
<commandsname="State"description="This command gets the device state (stored in its device_state data member) and returns it to the caller."execMethod="dev_state"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
<commandsname="loadSettings"description="Load settings from configuration files. Will overwrite current hardware values."execMethod="load_settings"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
<commandsname="saveSettings"description="Write current settings to configuration files."execMethod="save_settings"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
prop_desc="Toggles coincidence logic. When disabled, raw data of entire MAROC boards will be transmitted, sorted by time.";
prop_def="true";
vect_data.clear();
vect_data.push_back("true");
if(prop_def.length()>0)
{
Tango::DbDatumdata(prop_name);
data<<vect_data;
dev_def_prop.push_back(data);
add_wiz_dev_prop(prop_name,prop_desc,prop_def);
}
else
add_wiz_dev_prop(prop_name,prop_desc);
prop_name="coincSingle";
prop_desc="Use only one single coincidence entity";
prop_def="false";
vect_data.clear();
vect_data.push_back("false");
if(prop_def.length()>0)
{
Tango::DbDatumdata(prop_name);
data<<vect_data;
dev_def_prop.push_back(data);
add_wiz_dev_prop(prop_name,prop_desc,prop_def);
}
else
add_wiz_dev_prop(prop_name,prop_desc);
prop_name="coincOnlyXY";
prop_desc="Transfer only first X/Y pair (event + location). Do not set during aquisition because additional information will be discarded due to lack of additional coincidence data.";