dd-firmware

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merged staging and resolved conflicts

    • -2
    • +2
    /firmware/App/Modes/ModeGenDialysate.c
Bamboo Commit: Updated DDCommon.h with build versions from Bamboo.

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

Merged LDT-3272

On DD f/w side, this should just be a simple pump controller. States should be Off and On (control to commanded Qsub). There is no flow sensor for feedback control, so assuming this is open loop si...

On DD f/w side, this should just be a simple pump controller. States should be Off and On (control to commanded Qsub). There is no flow sensor for feedback control, so assuming this is open loop similar to UF pump.
GenDialysate mode will have an HDF sub-state that signals this controller from Off to On and would also call separate controller for heater and separate (Switches) monitor for door sensors.

With all of that in mind, I think this unit should have a simpler name like SubPump.

I think there should be some state monitoring for potential alarm(s) in here too. Similar to BP door on TD f/w side where the current mode/state can signal this unit that it expects specific switch...

I think there should be some state monitoring for potential alarm(s) in here too. Similar to BP door on TD f/w side where the current mode/state can signal this unit that it expects specific switch state(s) (e.g. while in HDF state, we would expect the cap to be open and stowed and we would want to alarm if that was not the case).

Remove extra blank line.

Remove extra blank line.

LDT-3272 addressed the code review comments

    • -16
    • +0
    /firmware/App/Services/SystemCommDD.h
Where is call to HDF controller?

Where is call to HDF controller?

Monitors should come before mode mgmt above.

Monitors should come before mode mgmt above.

What about HemoDiaFiltration.h?

What about HemoDiaFiltration.h?

What about initHDF?

What about initHDF?

Where is HemoDiaFiltration.h?

Where is HemoDiaFiltration.h?

Why does this file name have pound signs pre/post?

Why does this file name have pound signs pre/post?

This macro is already defined in Common.h.

This macro is already defined in Common.h.

Align all "=" or none of them.

Align all "=" or none of them.

DD HDF control data published should just be state and set rate. TD HDF data would have volume, etc...

DD HDF control data published should just be state and set rate. TD HDF data would have volume, etc...

This looks like pump control function. I think TD f/w should be doing this when setting Qsub before sending to DD f/w. Again, I think DD f/w should just be controlling pump to the Qsub rate given b...

This looks like pump control function. I think TD f/w should be doing this when setting Qsub before sending to DD f/w. Again, I think DD f/w should just be controlling pump to the Qsub rate given by TD f/w.
HDF volume should be calculated by TD f/w by integrating commanded Qsub over time.

Remove blank line.

Remove blank line.

Refactor so that only one return statement at end of function. This is in our coding standards.

Refactor so that only one return statement at end of function. This is in our coding standards.

This file has been updated by HALCoGen automatically.

This file has been updated by HALCoGen automatically.

This file has been updated by HALCoGen automatically.

This file has been updated by HALCoGen automatically.

I think TD should be handling all of these rules before setting Qsub and sending to DD.

I think TD should be handling all of these rules before setting Qsub and sending to DD.

This file has been updated by HALCoGen automatically.

This file has been updated by HALCoGen automatically.

This file has been updated by HALCoGen automatically.

This file has been updated by HALCoGen automatically.

Done

Done

Done

Done

Generally, DD shouldn't need TMP. TD is calculating TMP. TD is using TMP to calculate Qsub. DD is just getting Qsub from TD and controlling the pump to that rate.

Generally, DD shouldn't need TMP. TD is calculating TMP. TD is using TMP to calculate Qsub. DD is just getting Qsub from TD and controlling the pump to that rate.

Indent declarations.

Indent declarations.