|
@@ -91,9 +91,9 @@ namespace XdCxRhDW.App.EditForms
|
|
|
{
|
|
|
deWay.Add(EnumDetectionWay.IBS);
|
|
|
}
|
|
|
- if (info.DetectionWay.Value.HasFlag(EnumDetectionWay.EnergyDetection))
|
|
|
+ if (info.DetectionWay.Value.HasFlag(EnumDetectionWay.Ky5758))
|
|
|
{
|
|
|
- deWay.Add(EnumDetectionWay.EnergyDetection);
|
|
|
+ deWay.Add(EnumDetectionWay.Ky5758);
|
|
|
}
|
|
|
this.txtDetectionWay.EditValue =string.Join(",", deWay);
|
|
|
this.txtDetectionWay.RefreshEditValue();
|
|
@@ -264,7 +264,7 @@ namespace XdCxRhDW.App.EditForms
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- info.DetectionWay = EnumDetectionWay.EnergyDetection;
|
|
|
+ info.DetectionWay = null;
|
|
|
}
|
|
|
//string strResult = info.DetectionWay.ToString() + " " + ((int)info.DetectionWay);
|
|
|
info.TaskType = (EnumTaskType)txtTaskType.SelectedIndex;
|