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

Last change on this file since 10781 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
Line 
1Reading a Meter
2***********************************************************************
3
4Short Description
5-----------------------------------------------------------------------
6
7A meter is read and the read values are stored in system.
8
9
10Actor(s)
11-----------------------------------------------------------------------
12
13Meter Reader
14
15
16Trigger(s)
17-----------------------------------------------------------------------
18
19A read-meter form is requested from portal.
20
21
22Result(s)
23-----------------------------------------------------------------------
24
25The new meter values are stored in database.
26
27
28Incoming Data
29-----------------------------------------------------------------------
30
31Meter ID, meter value, date and time of reading
32
33
34Outgoing Data
35-----------------------------------------------------------------------
36
37- Message about successful reading
38- Log message
39
40
41Precondition(s)
42-----------------------------------------------------------------------
43
44
45
46Postcondition(s)
47-----------------------------------------------------------------------
48
49
50
51Invariant(s)
52-----------------------------------------------------------------------
53
54
55
56Essential Steps
57-----------------------------------------------------------------------
58
59* Authenticate meter reader
60* Get meter id, meter value, datetime
61* Check input values:
62
63  * Does the meter id exist?
64  * If not, ask and add a new one.
65  * value >= old value?
66
67* Add new reading in database
68* Output success message
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.