source: main/eko-disco-specs/trunk/use-cases/meter-reading.rst @ 12321

Last change on this file since 12321 was 10781, checked in by Henrik Bettermann, 11 years ago

Shorten use case titles.

Link data entities to use cases only if necessary/interesting.

File size: 2.0 KB
RevLine 
[10781]1Reading a Meter
[10584]2***********************************************************************
3
4Short Description
5-----------------------------------------------------------------------
6
7A meter is read and the read values are stored in system.
8
9
10Actor(s)
11-----------------------------------------------------------------------
12
[10753]13Meter Reader
[10584]14
15
16Trigger(s)
17-----------------------------------------------------------------------
18
[10753]19A read-meter form is requested from portal.
[10584]20
21
22Result(s)
23-----------------------------------------------------------------------
24
25The new meter values are stored in database.
26
27
28Incoming Data
29-----------------------------------------------------------------------
30
[10753]31Meter ID, meter value, date and time of reading
[10584]32
33
34Outgoing Data
35-----------------------------------------------------------------------
36
[10753]37- Message about successful reading
38- Log message
[10584]39
40
41Precondition(s)
42-----------------------------------------------------------------------
43
44
45
46Postcondition(s)
47-----------------------------------------------------------------------
48
49
50
51Invariant(s)
52-----------------------------------------------------------------------
53
54
55
56Essential Steps
57-----------------------------------------------------------------------
58
[10753]59* Authenticate meter reader
60* Get meter id, meter value, datetime
61* Check input values:
[10584]62
[10753]63  * Does the meter id exist?
64  * If not, ask and add a new one.
[10584]65  * value >= old value?
66
[10753]67* Add new reading in database
68* Output success message
[10584]69
70
71Open Issues
72-----------------------------------------------------------------------
73
74Meter data input can also be performed by some automatic system:
75
76  - automatic meters send their data automatically (how does these
77    data look like and where is it stored?)
78
79  - a smartphone/tablet app might deliver the data by photograph/OCR
80
81These input devices need an API to deliver data or they require some
82API to be able to input data into the system.
83
84
85Remarks
86-----------------------------------------------------------------------
87
88
89.. raw:: latex
90
91      \pagebreak[2]
Note: See TracBrowser for help on using the repository browser.