ISISComputingGroup / ISISComputingGroup/DataStreaming

`kafka_dae_control`: periods: attempt to prevent invalid configurations

未关闭
#103 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
没有语言数据
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

In `COMPUTER` control mode:
- If I try to set `PERIODS:SP` to larger than `NUMPERIODS:MAX`, I should get an error.
- If I'm in period `N` and I try to change `NUMPERIODS:MAX` to less than `N`, put back to period 0 (user period 1)?
- I probably shouldn't be allowed to set `NUMPERIODS:MAX` to zero
- If I was previously in period N and this was done by `EXTERNAL` or `LOOKUP` control mode, then when I change to `COMPUTER` control mode this should be verified against `NUMPERIODS:MAX` and set back to something valid if `N` is larger than `NUMPERIODS:MAX`.
- As per discussion below, `NOT_USED` is not a real control mode (it was meant to say that this bit-pattern does not correspond to anything in the hardware). Remove references to `NOT_USED` in our code.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start at the `kafka_dae_control` entry point named in the issue and trace how control modes, `PERIODS:SP`, and `NUMPERIODS:MAX` are handled. Verify the COMPUTER-mode bounds, period reset behavior, validation when switching from EXTERNAL or LOOKUP, and removal of NOT_USED references; add or run the relevant tests to confirm each case.

由索引模型根据 Issue 内容生成。

评估

技术栈
kafka
领域
embedded-iot
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。