Index: SDDs/DD_Calibration.puml =================================================================== diff -u --- SDDs/DD_Calibration.puml (revision 0) +++ SDDs/DD_Calibration.puml (revision 31ff749eb27fa29dc228e61bbdcc8ad33a17695f) @@ -0,0 +1,166 @@ +@startuml dd_calibration + + participant TD as TD + participant SW as SW + participant UI as UI + actor USER as US + + 'Possible actions and interaction types + ' TD -> SW: MSG: Message + ' SW -> UI: CMD: command + ' UI -> UI: ACT: Action + ' US -> UI: User actions are: + ' ENT: User enters a value or string + ' TCH: User touches a button (RadioButton, CheckBox, ...) + ' SET: User sets/slides a slider + ' SCL: User scrolls a flipable area + ' + 'Messages conventions: + '[x \n ,] + '[x \n ,# certain amount of parameters according to the content] + '[x \n ,X The rest of the parameters do not matter.] + + == Service == + TD -> SW: MSG:[x12] OpMode - Standby + UI -> US: ACT: Show Standby screen + US -> UI: TCH: Press Settings option + US -> UI: TCH: Enter service password + UI -> SW: ACT: Verify password + + alt password accepted + SW -> TD: MSG: [xD0: #0] Service Mode Request + TD -> SW: MSG: [xD1: #2] Service Mode Response \ + \n\t(U32) mAccept \ + \n\t(U32) mReject + TD -> SW: MSG:[x12] OpMode - Service + SW -> UI: ACT: Service Mode + UI -> US: ACT: Show Service mode options + else #Pink rejected + SW -> UI: ACT: Reject incorrect password + UI -> US: ACT: Show User Password rejected + end + + US -> UI: TCH: Press Calibrations option + UI -> US: ACT: Show Calibration Screen + US -> UI: TCH: Select Calibration Record + + alt Record Getter + TD -> US: ACT: Show Record Data + UI -> US: ACT: Enable editing records + else #Pink rejected + TD -> US: ACT: Show Rejection Reason + end + + US -> UI: TCH: Select any Calibrations Record + UI -> US: ACT: Display dialog with record parameters + US -> UI: TCH: Edit Calibration record parameters + US -> UI: TCH: Press Confirm + + alt Record Setter + US -> TD: ACT: Update Record Data + else #Pink rejected + TD -> US: ACT: Show Rejection per parameter + end + + == Record Getter == + UI -> SW: ACT: Get Pressure Records + SW -> TD: MSG: [x118: #1] Pressure Records Request + TD -> SW: MSG: [x119: #6] Pressure Records Response + SW -> UI: ACT: Send Pressure Records + + UI -> SW: ACT: Get Temperature Records + SW -> TD: MSG: [x11C: #1] Temperature Records Request + TD -> SW: MSG: [x11D: #6] Temperature Records Response + SW -> UI: ACT: Send Temperature Records + + UI -> SW: ACT: Get Concentrate Pump Records + SW -> TD: MSG: [x120: #1] Concentrate Pump Records Request + TD -> SW: MSG: [x121: #6] Concentrate Pump Records Response + SW -> UI: ACT: Send Concentrate Pump Records + + UI -> SW: ACT: Get D12 Dialysate Pump Records + SW -> TD: MSG: [x124: #0] D12 Dialysate Pump Records Request + TD -> SW: MSG: [x125: #4] D12 Dialysate Pump Records Response + SW -> UI: ACT: Send D12 Dialysate Pump Records + + UI -> SW: ACT: Get D48 Dialysate Pump Records + SW -> TD: MSG: [x128: #0] D48 Dialysate Pump Records Request + TD -> SW: MSG: [x129: #5] D48 Dialysate Pump Records Response + SW -> UI: ACT: Send D48 Dialysate Pump Records + + UI -> SW: ACT: Get Acid Concentrates Records + SW -> TD: MSG: [x12C: #1] Acid Concentrates Records Request + TD -> SW: MSG: [x12D: #8] Acid Concentrates Records Response + SW -> UI: ACT: Send Acid Concentrates Records + + UI -> SW: ACT: Get Bicarb Concentrates Records + SW -> TD: MSG: [x130: #1] Bicarb Concentrates Records Request + TD -> SW: MSG: [x131: #8] Bicarb Concentrates Records Response + SW -> UI: ACT: Send Bicarb Concentrates Records + + UI -> SW: ACT: Get Accelerometer Sensor Records + SW -> TD: MSG: [x134: #0] Accelerometer Sensor Records Request + TD -> SW: MSG: [x135: #6] Accelerometer Sensor Records Response + SW -> UI: ACT: Send Accelerometer Sensor Records + + UI -> SW: ACT: Get Blood Leak Sensor Records + SW -> TD: MSG: [x138: #0] Blood Leak Sensor Records Request + TD -> SW: MSG: [x139: #4] Blood Leak Sensor Records Response + SW -> UI: ACT: Send Blood Leak Sensor Records + + UI -> SW: ACT: Get Conductivity Sensor Records + SW -> TD: MSG: [x13C: #1 ] Conductivity Sensor Records Request + TD -> SW: MSG: [x13D: #16] Conductivity Sensor Records Response + SW -> UI: ACT: Send Conductivity Sensor Records + + == Record Setter == + UI -> SW: ACT: Set Pressure Records + SW -> TD: MSG: [x11A: #4] Adjust Pressure Records Request + TD -> SW: MSG: [x11B: #6] Adjust Pressure Records Response + SW -> UI: ACT: Send Pressure Records + + UI -> SW: ACT: Set Temperature Records + SW -> TD: MSG: [x11E: #4] Adjust Temperature Records Request + TD -> SW: MSG: [x11F: #6] Adjust Temperature Records Response + SW -> UI: ACT: Send Temperature Records + + UI -> SW: ACT: Set Concentrate Pump Records + SW -> TD: MSG: [x122: #4] Adjust Concentrate Pump Records Request + TD -> SW: MSG: [x123: #6] Adjust Concentrate Pump Records Response + SW -> UI: ACT: Send Concentrate Pump Records + + UI -> SW: ACT: Set D12 Dialysate Pump Records + SW -> TD: MSG: [x126: #2] Adjust D12 Dialysate Pump Records Request + TD -> SW: MSG: [x127: #4] Adjust D12 Dialysate Pump Records Response + SW -> UI: ACT: Send D12 Dialysate Pump Records + + UI -> SW: ACT: Set D48 Dialysate Pump Records + SW -> TD: MSG: [x12A: #3] Adjust D48 Dialysate Pump Records Request + TD -> SW: MSG: [x12B: #5] Adjust D48 Dialysate Pump Records Response + SW -> UI: ACT: Send D48 Dialysate Pump Records + + UI -> SW: ACT: Set Acid Concentrates Records + SW -> TD: MSG: [x12E: #6] Adjust Acid Concentrates Records Request + TD -> SW: MSG: [x12F: #8] Adjust Acid Concentrates Records Response + SW -> UI: ACT: Send Acid Concentrates Records + + UI -> SW: ACT: Set Bicarb Concentrates Records + SW -> TD: MSG: [x132: #6] Adjust Bicarb Concentrates Records Request + TD -> SW: MSG: [x133: #8] Adjust Bicarb Concentrates Records Response + SW -> UI: ACT: Send Bicarb Concentrates Records + + UI -> SW: ACT: Set Accelerometer Sensor Records + SW -> TD: MSG: [x136: #4] Adjust Accelerometer Sensor Records Request + TD -> SW: MSG: [x137: #6] Adjust Accelerometer Sensor Records Response + SW -> UI: ACT: Send Accelerometer Sensor Records + + UI -> SW: ACT: Set Blood Leak Sensor Records + SW -> TD: MSG: [x13A: #2] Adjust Blood Leak Sensor Records Request + TD -> SW: MSG: [x13B: #4] Adjust Blood Leak Sensor Records Response + SW -> UI: ACT: Send Blood Leak Sensor Records + + UI -> SW: ACT: Set Conductivity Sensor Records + SW -> TD: MSG: [x13E: #14] Adjust Conductivity Sensor Records Request + TD -> SW: MSG: [x13F: #16] Adjust Conductivity Sensor Records Response + SW -> UI: ACT: Send Conductivity Sensor Records +@enduml \ No newline at end of file Index: SDDs/dd_calibration.png =================================================================== diff -u Binary files differ