![]() |
VOOZH | about |
dotnet add package CleCommonSystems --version 0.2.6
NuGet\Install-Package CleCommonSystems -Version 0.2.6
<PackageReference Include="CleCommonSystems" Version="0.2.6" />
<PackageVersion Include="CleCommonSystems" Version="0.2.6" />Directory.Packages.props
<PackageReference Include="CleCommonSystems" />Project file
paket add CleCommonSystems --version 0.2.6
#r "nuget: CleCommonSystems, 0.2.6"
#:package CleCommonSystems@0.2.6
#addin nuget:?package=CleCommonSystems&version=0.2.6Install as a Cake Addin
#tool nuget:?package=CleCommonSystems&version=0.2.6Install as a Cake Tool
CleCommonSystems is an licensed library for CLE inc. Usage with no permission could lead an legal punishment.
General features including logging, styles, and localization are supported. 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. Custom message boxes are supported. Tester controls for robot and PLC are supported.
Install the package using nuget.
dotnet add package CleCommonSystems --version [version]
First, import MaterialDesign Library.
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
Add Resource Dictionaries.
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="LightGreen" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign2.Defaults.xaml" />
<ResourceDictionary Source="pack://application:,,,/CleCommonSystems;component/Styles/ControlBrushResource.xaml" />
<ResourceDictionary Source="pack://application:,,,/CleCommonSystems;component/Styles/ControlStyles.xaml" />
<ResourceDictionary Source="pack://application:,,,/Localization/Strings.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
The library includes user control for common uses.
User Controls
Setting Manager
Testers
Dialogs
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.)
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);
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.
RichTextBox for logging.
DataGrid for logging.
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.
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();
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);
Prints image for result; None, Ok, Ng, Error, and Pass. (Additional image or resources are not needed.)
ResultPictureControl control = ResultPictureControl();
control.Result = InspectionResult.Ok;
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());
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.Browse path of a directory or a file.
Mode property can be BrowseMode.Folder or BrowseMode.File.
PropertyGrid is included. User can choose the alignment of ComboBox and Property Grid; Vertical and Horizontal.
User can change general settings and engine api path. User can access dark mode, password, language settings.
Set offset. User can change offset values of given car info.
Set Logging. User can change Minimun logging level, Logging channels, logging database settings, task scheduler settings, and production record reset time, etc.
Shows all possible relationship between robots indicated by Calibration File Path.
Robot tester control to test robot communication.
PLC tester control to test PLC communication.
Shows modal with messages.
Two types are supported; YesNo, Ok and each type returns user response as DialogResult.
User can customize Title and Icon for MessageBox.
Show modal that user can enter password.
Show modal for changing password.
Provides logging to file, RichTextBox, DataGrid, and Database(MariaDB).
Copyright (c) CLE inc. Permission Required To Use
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 net8.0-windows7.0 is compatible. net9.0-windows net9.0-windows was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.