Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configファイルの書式 #11

Open
KazukiHiraizumi opened this issue Jul 22, 2019 · 2 comments
Open

Configファイルの書式 #11

KazukiHiraizumi opened this issue Jul 22, 2019 · 2 comments

Comments

@KazukiHiraizumi
Copy link
Contributor

KazukiHiraizumi commented Jul 22, 2019

  • JSON形式(Pythonでは辞書型に展開)
    • パーサが楽(evalを通すだけ)
    • 拡張性(propertyの追加など)
  • 1Widget=1行
    • TextとVisualの一致性
@KazukiHiraizumi
Copy link
Contributor Author

KazukiHiraizumi commented Jul 22, 2019

プロトタイピング

  • 数値パラメータ入力
旧) "Number:camera/ExposureTime","露光時間(usec)"
新) class:"number",label:"露光時間(usec)",name:"camera/ExposureTime"
  • 文字パラメータ入力
旧) "Text:camera/ID","カメラID"
新) class:"text",label:"カメラID",name:"camera/ID"
  • パラメータコンボボックス入力
class:"text",label:"カメラID",name:"camera/ID",combo:["1234","ABCD","FB78"]
  • トピックの表示
旧) "Echo:gridboard/error","再投影誤差"
新) class:"echo",label:"再投影誤差",name:"gridboard/error"
  • トピック発行(Boolのみ)
旧) "Publish:/rovi/X1","3D撮像"
新) class:"pub[lish]",label:"3D撮像",name:"/rovi/X1"
  • トピック発行(confirmなし)
    受け付けたかどうかが分かるように、1s程度でclose itselfの方がいいかな。
class:"pub[lish]",label:"3D撮像",confirm:False,name:"/rovi/X1"
  • 以下仕様は現行を継承
    • $(...)にて環境変数を展開
  • 以下仕様は新仕様での共通仕様
    • class名はignore case
    • {}を付けるかどうか??

@KazukiHiraizumi
Copy link
Contributor Author

KazukiHiraizumi commented Jul 22, 2019

プロトタイピング続き

  • 見出し
class:"title",label:"Solverパラメータ"
  • 改ページを行うとき
class:"title",label:"Solverパラメータ",pagebreak:True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant