FaCtrls.Wpf 0.2.0

dotnet add package FaCtrls.Wpf --version 0.2.0
                    
NuGet\Install-Package FaCtrls.Wpf -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FaCtrls.Wpf" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FaCtrls.Wpf" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="FaCtrls.Wpf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FaCtrls.Wpf --version 0.2.0
                    
#r "nuget: FaCtrls.Wpf, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FaCtrls.Wpf@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FaCtrls.Wpf&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=FaCtrls.Wpf&version=0.2.0
                    
Install as a Cake Tool

FaCtrls.Wpf

FA(ファクトリーオートメーション)向けの WPF カスタムコントロール集です。 装置の稼働状態や計測値を、現場で見やすいビジュアルで表示するコントロールを提供します。

  • ターゲット: net10.0-windows(WPF)
  • 依存: WPF-UI 4.3.0

コントロール一覧

コントロール 概要
AlarmMessageControl 状態に応じて色とアイコンが変わる 1 行アラーム/ステータスパネル
AnalogGaugeControl 針が振れるアナログメーターゲージ
FaLineDiagram ベクター部品で構成した FA ライン図
HeartbeatControl PLC ハートビート監視
MarqueeBoardControl LED ドットマトリクス風の横スクロール電光掲示板
OeeGaugeControl 稼働率(OEE)向けの円形プログレスゲージ
SegmentDisplayControl 7 セグメント風の英数字ディスプレイ(消灯ゴースト層付き)
SignalTowerControl ライン状態を示す積層信号灯(シグナルタワー)
SplitFlapControl 文字が反転するスプリットフラップ(空港掲示板)風ディスプレイ
StatusBannerControl 状態ピル付きの固定ラベルバナー(スクロールなしで常に可読)
StatusLedPanel 離散 I/O を可視化する丸型 LED インジケータのパネル
ThermometerControl 水銀柱が上昇する縦型温度計ゲージ
ThresholdBarControl しきい値マーカーに対する値を示す横バー
TrendChartControl リアルタイムのトレンド折れ線グラフ
WaveformChartControl スクロールするセンサー波形チャート
WiredCommControl 有線リンク(RJ45+Link/Act ランプ)状態表示
WirelessCommControl 無線信号強度(アンテナ波)状態表示
SerialActivityControl RS232C シリアル通信の TX/RX 流量・累計バイト・エラー件数を表示
FileCopyProgressControl 送信元→送信先のファイルコピー進捗(進捗バー・転送量・速度)を表示
FileCreateIndicatorControl 単一ファイルの作成状態(作成中/完了/失敗)をアイコンとバッジで表示
TransactionStepperControl トランザクション進行(指示→受け取り→実行中→完了)を横並びステッパーで表示
TransactionChevronControl トランザクション進行を矢羽(シェブロン)フローで表示
TransactionHandshakeControl トランザクションの指示・応答・実行・完了を縦タイムラインで表示
TransactionConveyorControl ワーク(トークン)が段階上を移動するコンベア表現で表示

各コントロールは共通で ApplyState(FaControlState state, bool isAnimationEnabled) を持ち、 Stopped / Running / Fault の 3 状態を切り替えられます。

インストール

GitHub Packages で配布しています。ソース登録の詳細は docs/github-packages.md を参照してください。

dotnet add package FaCtrls.Wpf --source github

使い方

WPF-UI のテーマリソースを利用しているため、アプリの App.xaml で テーマ辞書をマージしてください。

<Application xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
  <Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ui:ThemesDictionary Theme="Dark" />
        <ui:ControlsDictionary />
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Application.Resources>
</Application>

コントロールの配置例:

<Window xmlns:fa="clr-namespace:FaCtrls.Wpf;assembly=FaCtrls.Wpf">
    <fa:AnalogGaugeControl x:Name="Gauge"
                           Caption="主軸回転数"
                           Unit="rpm" />
</Window>
Gauge.ApplyState(FaControlState.Running, isAnimationEnabled: true);

デモアプリ

FaCtrls.Desktop は全コントロールを一覧表示するギャラリーアプリです。 状態(停止/運転/異常)とアニメーションを切り替えて動作を確認できます。

dotnet run --project FaCtrls.Desktop

ドキュメント

ライセンス

MIT License

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 121 8/19/2026