Skip to content

Commit

Permalink
tlmcmddb: Add comments for display info
Browse files Browse the repository at this point in the history
  • Loading branch information
kobkaz committed Jan 15, 2024
1 parent 4b08ac6 commit 163cfb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tlmcmddb/src/tlm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,15 @@ impl VariableType {
}
}

/// GS SW などでテレメトリを表示するときの情報
/// 各フィールドの具体的な解釈と利用方法は GS SW に依存する
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct DisplayInfo {
/// 表示名
pub label: String,
/// 単位
pub unit: String,
/// フォーマットの指定
pub format: String,
}

Expand Down

0 comments on commit 163cfb0

Please sign in to comment.