diff --git a/PLCSharpWpf/VVMs/Connects/Connect.cs b/PLCSharpWpf/VVMs/Connects/Connect.cs
index bc42be2..2ef3824 100644
--- a/PLCSharpWpf/VVMs/Connects/Connect.cs
+++ b/PLCSharpWpf/VVMs/Connects/Connect.cs
@@ -159,9 +159,6 @@ namespace PLCSharp.VVMs.Connects
private string _ReceiveInfo = "";
[NotMapped]
- ///
- /// 收到的信息
- ///
public string ReceiveInfo
{
get { return _ReceiveInfo; }
@@ -172,9 +169,6 @@ namespace PLCSharp.VVMs.Connects
private byte[] _ReceiveData;
[NotMapped]
- ///
- /// 收到的数据
- ///
public byte[] ReceiveData
{
get { return _ReceiveData; }
@@ -183,9 +177,6 @@ namespace PLCSharp.VVMs.Connects
private string _SendInfo;
[NotMapped]
- ///
- /// 要发送的信息
- ///
public string SendInfo
{
get { return _SendInfo; }
@@ -257,9 +248,6 @@ namespace PLCSharp.VVMs.Connects
/// 参数集合
///
[NotMapped]
- ///
- /// 连接配置
- ///
public ConnectParams Params
{
get
@@ -279,9 +267,6 @@ namespace PLCSharp.VVMs.Connects
/// Clients
///
[NotMapped]
- ///
- /// 连接 服务器 的 客户端
- ///
public ObservableCollection Clients
{
get { return _Clients; }
@@ -528,9 +513,6 @@ namespace PLCSharp.VVMs.Connects
/// 提示
///
[JsonIgnore]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
diff --git a/PLCSharpWpf/VVMs/GlobalVariables/Variable.cs b/PLCSharpWpf/VVMs/GlobalVariables/Variable.cs
index a40887e..d2d87c7 100644
--- a/PLCSharpWpf/VVMs/GlobalVariables/Variable.cs
+++ b/PLCSharpWpf/VVMs/GlobalVariables/Variable.cs
@@ -41,9 +41,6 @@ namespace PLCSharp.VVMs.GlobalVariables
/// 值
///
[NotMapped]
- ///
- /// 当前值
- ///
public dynamic Value
{
get => _Value;
@@ -86,9 +83,6 @@ namespace PLCSharp.VVMs.GlobalVariables
/// 默认值
///
[NotMapped]
- ///
- /// 初始值
- ///
public dynamic DefaultValue
{
get => _DefaultValue;
@@ -127,9 +121,6 @@ namespace PLCSharp.VVMs.GlobalVariables
/// RetainPersistent
///
[Column(TypeName = "INTEGER")]
- ///
- /// 保持
- ///
public bool RetainPersistent { get; set; }
private static bool IsValidValue(dynamic value, VariableDataType type)
@@ -210,9 +201,6 @@ namespace PLCSharp.VVMs.GlobalVariables
/// 值
///
[NotMapped]
- ///
- /// 当前值
- ///
public dynamic Value
{
get => _Value;
@@ -255,9 +243,6 @@ namespace PLCSharp.VVMs.GlobalVariables
/// 默认值
///
[NotMapped]
- ///
- /// 初始值
- ///
public dynamic DefaultValue
{
get => _DefaultValue;
@@ -296,9 +281,6 @@ namespace PLCSharp.VVMs.GlobalVariables
/// RetainPersistent
///
[Column(TypeName = "INTEGER")]
- ///
- /// 保持
- ///
public bool RetainPersistent { get; set; }
private static bool IsValidValue(dynamic value, VariableDataType type)
diff --git a/PLCSharpWpf/VVMs/Homepage/CustomControl.cs b/PLCSharpWpf/VVMs/Homepage/CustomControl.cs
index b07cf0f..057a646 100644
--- a/PLCSharpWpf/VVMs/Homepage/CustomControl.cs
+++ b/PLCSharpWpf/VVMs/Homepage/CustomControl.cs
@@ -66,9 +66,6 @@ namespace PLCSharp.VVMs.Homepage
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -149,9 +146,6 @@ namespace PLCSharp.VVMs.Homepage
///
[JsonIgnore]
[NotMapped]
- ///
- /// 自定义控件属性
- ///
public ControlParams Params
{
get
@@ -172,9 +166,6 @@ namespace PLCSharp.VVMs.Homepage
/// RangeValues
///
[NotMapped]
- ///
- /// 自定义控件属性
- ///
public ObservableCollection RangeValues
{
get { return _RangeValues; }
diff --git a/PLCSharpWpf/VVMs/MotionController/Axis.cs b/PLCSharpWpf/VVMs/MotionController/Axis.cs
index c7795d4..faaacca 100644
--- a/PLCSharpWpf/VVMs/MotionController/Axis.cs
+++ b/PLCSharpWpf/VVMs/MotionController/Axis.cs
@@ -56,9 +56,6 @@ namespace PLCSharp.VVMs.MotionController
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -113,9 +110,6 @@ namespace PLCSharp.VVMs.MotionController
/// PowerOn
///
[NotMapped]
- ///
- /// 使能
- ///
public bool PowerOn
{
get { return _PowerOn; }
@@ -189,9 +183,6 @@ namespace PLCSharp.VVMs.MotionController
/// Interlock
///
[NotMapped]
- ///
- /// 安全联锁
- ///
public AxisLock Interlock
{
get { return _Interlock; }
@@ -366,9 +357,6 @@ namespace PLCSharp.VVMs.MotionController
/// Velocity
///
[NotMapped]
- ///
- /// 当前速度
- ///
public double Velocity
{
get { return _Velocity; }
@@ -391,9 +379,6 @@ namespace PLCSharp.VVMs.MotionController
/// 参数集合
///
[NotMapped]
- ///
- /// 配置项
- ///
public AxisParams Params
{
get
@@ -487,9 +472,6 @@ namespace PLCSharp.VVMs.MotionController
/// Rate
///
[JsonIgnore]
- ///
- /// 速率 1-100
- ///
public double Rate
{
get { return _Rate; }
diff --git a/PLCSharpWpf/VVMs/MotionController/AxisPoint.cs b/PLCSharpWpf/VVMs/MotionController/AxisPoint.cs
index 0b3e6f1..6981426 100644
--- a/PLCSharpWpf/VVMs/MotionController/AxisPoint.cs
+++ b/PLCSharpWpf/VVMs/MotionController/AxisPoint.cs
@@ -271,9 +271,6 @@ namespace PLCSharp.VVMs.MotionController
/// Rate
///
[NotMapped]
- ///
- /// 速率 1-100
- ///
public double Rate
{
get { return _Rate; }
diff --git a/PLCSharpWpf/VVMs/MotionController/Controller.cs b/PLCSharpWpf/VVMs/MotionController/Controller.cs
index 408769f..47c2cb3 100644
--- a/PLCSharpWpf/VVMs/MotionController/Controller.cs
+++ b/PLCSharpWpf/VVMs/MotionController/Controller.cs
@@ -412,9 +412,6 @@ namespace PLCSharp.VVMs.MotionController
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -426,9 +423,6 @@ namespace PLCSharp.VVMs.MotionController
/// Online
///
[NotMapped]
- ///
- /// 在线
- ///
public bool Online
{
get { return _Online; }
@@ -440,9 +434,6 @@ namespace PLCSharp.VVMs.MotionController
/// Connected
///
[NotMapped]
- ///
- /// 连接成功
- ///
public bool Connected
{
get { return _Connected; }
@@ -528,9 +519,6 @@ namespace PLCSharp.VVMs.MotionController
/// 参数集合
///
[NotMapped]
- ///
- /// 配置项
- ///
public ControllerParams Params
{
get
@@ -556,9 +544,6 @@ namespace PLCSharp.VVMs.MotionController
/// 提示
///
[JsonIgnore]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
diff --git a/PLCSharpWpf/VVMs/MotionController/IO.cs b/PLCSharpWpf/VVMs/MotionController/IO.cs
index e173cba..7426687 100644
--- a/PLCSharpWpf/VVMs/MotionController/IO.cs
+++ b/PLCSharpWpf/VVMs/MotionController/IO.cs
@@ -27,9 +27,6 @@ namespace PLCSharp.VVMs.MotionController
///
[NotMapped]
[ExcelIgnore]
- ///
- /// 所属的控制序号
- ///
public ushort ControllerNo
{
get { return _ControllerNumber; }
@@ -71,9 +68,6 @@ namespace PLCSharp.VVMs.MotionController
///
[NotMapped]
[ExcelIgnore]
- ///
- /// 状态
- ///
public bool Status
{
get { return _Status; }
@@ -104,9 +98,6 @@ namespace PLCSharp.VVMs.MotionController
///
[NotMapped]
[ExcelIgnore]
- ///
- /// 所属的控制序号
- ///
public ushort ControllerNo
{
get { return _ControllerNumber; }
@@ -148,9 +139,6 @@ namespace PLCSharp.VVMs.MotionController
///
[ExcelIgnore]
[NotMapped]
- ///
- /// 状态
- ///
public bool Status
{
get { return _Status; }
diff --git a/PLCSharpWpf/VVMs/MotionController/Interpolation.cs b/PLCSharpWpf/VVMs/MotionController/Interpolation.cs
index 445d265..7f4bd7a 100644
--- a/PLCSharpWpf/VVMs/MotionController/Interpolation.cs
+++ b/PLCSharpWpf/VVMs/MotionController/Interpolation.cs
@@ -85,9 +85,6 @@ namespace PLCSharp.VVMs.MotionController
/// 提示
///
[JsonIgnore]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
diff --git a/PLCSharpWpf/VVMs/MotionController/InterpolationGroup.cs b/PLCSharpWpf/VVMs/MotionController/InterpolationGroup.cs
index cf47545..e7f25bb 100644
--- a/PLCSharpWpf/VVMs/MotionController/InterpolationGroup.cs
+++ b/PLCSharpWpf/VVMs/MotionController/InterpolationGroup.cs
@@ -135,9 +135,6 @@ namespace PLCSharp.VVMs.MotionController
/// 参数集合
///
[NotMapped]
- ///
- /// 配置项
- ///
public InterpolationGroupParams Params
{
get
@@ -162,9 +159,6 @@ namespace PLCSharp.VVMs.MotionController
/// 提示
///
[JsonIgnore]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
diff --git a/PLCSharpWpf/VVMs/Recipe/Recipe.cs b/PLCSharpWpf/VVMs/Recipe/Recipe.cs
index 288b92b..81a414a 100644
--- a/PLCSharpWpf/VVMs/Recipe/Recipe.cs
+++ b/PLCSharpWpf/VVMs/Recipe/Recipe.cs
@@ -65,9 +65,6 @@ namespace PLCSharp.VVMs.Recipe
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
diff --git a/PLCSharpWpf/VVMs/Robots/Robot.cs b/PLCSharpWpf/VVMs/Robots/Robot.cs
index b5e11c9..b123d66 100644
--- a/PLCSharpWpf/VVMs/Robots/Robot.cs
+++ b/PLCSharpWpf/VVMs/Robots/Robot.cs
@@ -139,9 +139,6 @@ namespace PLCSharp.VVMs.Robots
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -165,9 +162,6 @@ namespace PLCSharp.VVMs.Robots
/// 状态信息
///
[NotMapped]
- ///
- /// 状态信息
- ///
public ObservableCollection StatusInfo
{
get { return _StatusInfo; }
diff --git a/PLCSharpWpf/VVMs/Robots/RobotPoint.cs b/PLCSharpWpf/VVMs/Robots/RobotPoint.cs
index 044894d..182edbe 100644
--- a/PLCSharpWpf/VVMs/Robots/RobotPoint.cs
+++ b/PLCSharpWpf/VVMs/Robots/RobotPoint.cs
@@ -181,9 +181,6 @@ namespace PLCSharp.VVMs.Robots
/// Safe
///
[NotMapped]
- ///
- /// 是否安全可运行
- ///
public bool Safe { get; set; } = true;
///
diff --git a/PLCSharpWpf/VVMs/Vision/Camera/CameraBase.cs b/PLCSharpWpf/VVMs/Vision/Camera/CameraBase.cs
index 2f93ed1..19f46d0 100644
--- a/PLCSharpWpf/VVMs/Vision/Camera/CameraBase.cs
+++ b/PLCSharpWpf/VVMs/Vision/Camera/CameraBase.cs
@@ -85,9 +85,6 @@ namespace PLCSharp.VVMs.Vision.Camera
///
[JsonIgnore]
[NotMapped]
- ///
- /// 日志开关
- ///
public bool LogSwitch
{
get { return _LogSwitch; }
@@ -115,9 +112,6 @@ namespace PLCSharp.VVMs.Vision.Camera
///
[JsonIgnore]
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -131,9 +125,6 @@ namespace PLCSharp.VVMs.Vision.Camera
///
[JsonIgnore]
[NotMapped]
- ///
- /// 连接成功
- ///
public bool Connected
{
get { return _Connected; }
@@ -146,9 +137,6 @@ namespace PLCSharp.VVMs.Vision.Camera
///
[JsonIgnore]
[NotMapped]
- ///
- /// 相机配置
- ///
public CameraParams Params
{
get
diff --git a/PLCSharpWpf/VVMs/Vision/ImageData.cs b/PLCSharpWpf/VVMs/Vision/ImageData.cs
index 6a36c08..04a30da 100644
--- a/PLCSharpWpf/VVMs/Vision/ImageData.cs
+++ b/PLCSharpWpf/VVMs/Vision/ImageData.cs
@@ -48,9 +48,6 @@ namespace PLCSharp.VVMs.Vision
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
diff --git a/PLCSharpWpf/VVMs/Vision/LocalVariableItem.cs b/PLCSharpWpf/VVMs/Vision/LocalVariableItem.cs
index e9d1271..180dd2b 100644
--- a/PLCSharpWpf/VVMs/Vision/LocalVariableItem.cs
+++ b/PLCSharpWpf/VVMs/Vision/LocalVariableItem.cs
@@ -30,9 +30,6 @@ namespace PLCSharp.VVMs.Vision
private string _StrValue;
[JsonIgnore]
- ///
- /// 变量值的文本表示(UI 显示用,反序列化后自动计算)
- ///
public string StrValue
{
get { return _StrValue; }
diff --git a/PLCSharpWpf/VVMs/Vision/VisionFunction.cs b/PLCSharpWpf/VVMs/Vision/VisionFunction.cs
index 1f4d018..ff21069 100644
--- a/PLCSharpWpf/VVMs/Vision/VisionFunction.cs
+++ b/PLCSharpWpf/VVMs/Vision/VisionFunction.cs
@@ -9,7 +9,6 @@ using PLCSharp.VVMs.Vision.VisionFlowHandler.Access;
using PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm;
using PLCSharp.VVMs.Vision.VisionFlowHandler.Processing;
using Prism.Mvvm;
-using System;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@@ -55,9 +54,6 @@ namespace PLCSharp.VVMs.Vision
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -92,11 +88,18 @@ namespace PLCSharp.VVMs.Vision
get { return _ControlName; }
set { SetProperty(ref _ControlName, value); }
}
+ #region 结果
+
+ public Pos Pos { get; set; }
+
+ #endregion
+
- [NotMapped]
///
/// 编辑时显示的控件
///
+ [NotMapped]
+
public ImageEdit EditImageEdit { get; set; }
@@ -218,10 +221,10 @@ namespace PLCSharp.VVMs.Vision
{
var customControl = GlobalModel.GetCustomControl(ControlName);
- if (customControl != null && Src!=null)
+ if (customControl != null && Src != null)
{
customControl.ShowMat(Src);
-
+
}
flow.Done = true;
@@ -297,16 +300,10 @@ namespace PLCSharp.VVMs.Vision
};
[NotMapped]
- ///
- /// 全局模型
- ///
public GlobalModel GlobalModel { get; set; }
[NotMapped]
- ///
- /// 绘制命令列表,用于在图像上绘制线条、圆形等图形
- ///
public List DrawCommands { get; set; } = [];
public async Task RenderDrawAsync()
{
diff --git a/PLCSharpWpf/VVMs/Workflows/Workflow.cs b/PLCSharpWpf/VVMs/Workflows/Workflow.cs
index aa435b8..78da818 100644
--- a/PLCSharpWpf/VVMs/Workflows/Workflow.cs
+++ b/PLCSharpWpf/VVMs/Workflows/Workflow.cs
@@ -48,9 +48,6 @@ namespace PLCSharp.VVMs.Workflows
/// 提示
///
[NotMapped]
- ///
- /// 提示
- ///
public string Prompt
{
get { return _Prompt; }
@@ -129,9 +126,6 @@ namespace PLCSharp.VVMs.Workflows
/// IsCompiled
///
[NotMapped]
- ///
- /// 已编译
- ///
public bool IsCompiled
{
get { return _IsCompiled; }
@@ -160,9 +154,6 @@ namespace PLCSharp.VVMs.Workflows
/// Debug日志
///
[NotMapped]
- ///
- /// 调试日志
- ///
public string DebugLog
{
get { return _DebugLog; }
@@ -175,9 +166,6 @@ namespace PLCSharp.VVMs.Workflows
/// 异常
///
[NotMapped]
- ///
- /// 异常
- ///
public bool Exception
{
get { return _Exception; }