CleCommonSystems 0.0.21

There is a newer version of this package available.
See the version list below for details.
dotnet add package CleCommonSystems --version 0.0.21                
NuGet\Install-Package CleCommonSystems -Version 0.0.21                
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="CleCommonSystems" Version="0.0.21" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CleCommonSystems --version 0.0.21                
#r "nuget: CleCommonSystems, 0.0.21"                
#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.
// Install CleCommonSystems as a Cake Addin
#addin nuget:?package=CleCommonSystems&version=0.0.21

// Install CleCommonSystems as a Cake Tool
#tool nuget:?package=CleCommonSystems&version=0.0.21                

CLE Common Systems

Common Systems for wpf

Build Status

CleCommonSystems is an licensed library for CLE inc. Usage with no permission could lead an legal punishment.

Common Controls such as CarInfoControl, ConnectionStatusControl, GlManager, LoggingBox, ModeControlButton, PlcStatusBar, ResultPictureControl, and RobotPoseTable are supported. Setting Page Control such as CommonSetting, LoggingSetting, are OffsetSetting are supported.

About

  • Common systems are supported.
  • Controls for main program and setting manager are supported.
  • Saves time for creating new projects.
  • Provides similar templates for the projects.

Installation

Install the package using nuget.

dotnet add package CleCommonSystems --version [version]

Controls

The library includes user control for common uses.

User Controls

Setting Manager

CarInfoControl

Indicates car info using ComboBoxes and TextBoxs.

User can set ComboBoxs Name List and ItemSource by using string or calling methods.

CarInfoControl control = new CarInfoControl();
control.CmbSourcesList = "CarType,0,1,2,,ObjectId,1,2,3,4";
control.SetCmbSource("CarType", new List<string>() { "0" });

User can set TextBox Name List.

control.TbNamesList = "SeqNum,BodyNum";

User also can change align style of the control. (Use AlignStyle property.)

ConnectionStatusControl

shows connection status of PLC, Robots, Cameras.

String or the type of Enum is used as the list of object.

Enum ConnectionMonitorType { PLC, Hyundai, Camera }

ConnectionStatusControl control = new ConnectionStatusControl();
control.ConnectionsEnumType = typeof(ConnectionMonitorType);
control.ConnectionsTypeList = "PLC,Hyundai,Camera";

User can update connection status.

control.UpdateConnectionStatus("PLC", true);
control.UpdateConnectionStatus(ConnectionMonitorType.PLC, true);

GlManager

Renders point cloud. Automatically binds event for KeyDown, MouseDown, MouseMove, MouseWheel, Render. Maximize or Minimize the GlControl when double-click.

SceneCount property adjusts the number of GlControls.

LoggingBox

RichTextBox for logging.

LoggingGrid (Some Bugs Exist)

DataGrid for logging.

ModeControlButton

Provides the set of buttons to control program mode; Auto, Manual, and Set.

Chage current mode.

ModeControlButton control = new ModeControlButton();
control.Mode = ProgramMode.Auto;

Event Binding is neccessary for the project.

PlcStatusBar

Shows PLC status.

String or the type of Enum is used as the list of status.

Enum PlcStatus {Update, Start, End, Reset}

PlcStatusBar control = new PlcStatusBar();
control.PlcStatusEnumType = typeof(PlcStatus);
control.PlcStatusList = "Update,Start,End,Reset";

User can update current plc status, blink livebit, and reset status.

control.UpdatePlcStatus("Update");
control.UpdatePlcStatus(PlcStatus.Update);
control.BlinkLiveBit();
control.SetAllPlcStatusOff();

ProductionRecordControl

Indicates production record using simple bar chart and grid.

Set column name(header) list for grid.

ProductionRecordControl control = new ProductionRecordControl();
control.columnNamesList = "Id,CarType,SeqNum,BodyNum,Time";

Adding production result automatically updates all components.

class ProductionResult { Id, CarType, ObjectId, SeqNum, BodyNum, Time = DateTime.Now }

control.AddProductionResult(new ProductionResult("1", "0", "1", "0002", "DL  1234"), true);

ResultPictureControl

Prints image for result; None, Ok, Ng, Error, and Pass. (Additional image or resources are not needed.)

ResultPictureControl control = ResultPictureControl();
control.Result = InspectionResult.Ok;

RobotPoseTable

Provides compact view for various RobotPoses.

Set Robot Pose variable names.

RobotPoseTable control = new RobotPoseTable();
control.PoseVariableNames = "Install,Scan,Calculate";

Update Robot Pose for specific variable name. This automatically adds new row for not existing variable name.

control.UpdatePoseValue("Install", new RobotPose());

IntegerOnlyTextBox/FloatOnlyTextBox

Only accepts Int/Double as valid value for text.

  • Unit property sets the unit as suffix of the control.
  • Title property sets the title of the control.
  • IsValid property indicates the validation of input text.

PathBrowseControl

Browse path of a directory or a file.

Mode property can be BrowseMode.Folder or BrowseMode.File.

Setting Manager

Common Setting Control

PropertyGrid is included. User can choose the alignment of ComboBox and Property Grid; Vertical and Horizontal.

Offset Setting Control

Set offset. User can change offset values of given car info.

Logging Setting Control

Set Logging. User can change Minimun logging level, Logging channels, logging database settings, task scheduler settings, and production record reset time, etc.

Logging

Provides logging to file, RichTextBox, DataGrid, and Database(MariaDB).

License

Copyright (c) CLE inc. Permission Required To Use

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

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.0.39 38 11/29/2024
0.0.38 39 11/28/2024
0.0.37 37 11/28/2024
0.0.36 38 11/28/2024
0.0.35 35 11/28/2024
0.0.34 44 11/28/2024
0.0.33 43 11/28/2024
0.0.32 41 11/28/2024
0.0.31 31 11/27/2024
0.0.30 43 11/27/2024
0.0.29 35 11/27/2024
0.0.28 34 11/27/2024
0.0.27 35 11/27/2024
0.0.26 35 11/27/2024
0.0.25 45 11/27/2024
0.0.24 41 11/27/2024
0.0.23 36 11/27/2024
0.0.22 33 11/27/2024
0.0.21 34 11/27/2024
0.0.20 48 11/27/2024
0.0.19 42 11/27/2024
0.0.18 48 11/27/2024
0.0.17 52 11/27/2024
0.0.16 65 11/27/2024
0.0.15 57 11/26/2024
0.0.14 62 11/26/2024
0.0.13 68 11/26/2024
0.0.12 63 11/26/2024
0.0.11 64 11/26/2024
0.0.10 66 11/26/2024
0.0.9 69 11/26/2024
0.0.8 64 11/26/2024
0.0.7 60 11/26/2024
0.0.6 69 11/26/2024
0.0.5 61 11/25/2024
0.0.4 66 11/25/2024
0.0.3 84 11/22/2024