Skip to content

Please, use State pattern to allow you to manage the corresponding state. Instead of write many IF statements you could ask to status itself which is the corresponding state. #2

@mitofile

Description

@mitofile

if status_str == SAFE_THING_ENTRY_V_STATUS_CONNECTED {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions