|
@@ -20,8 +20,8 @@ namespace DW5S.App.EditForms
|
|
|
{
|
|
|
public partial class FixedStationEditor : DevExpress.XtraEditors.XtraForm
|
|
|
{
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
public FixedStation info;
|
|
|
private List<FixedStation> infos;
|
|
@@ -48,7 +48,7 @@ namespace DW5S.App.EditForms
|
|
|
infos.AddRange(res);
|
|
|
var repsSig = unitOfWork.Of<SigInfo>();
|
|
|
var sigs = await repsSig.GetAllAsync();
|
|
|
- this.txtFreqUp.UseDefault().SetData(sigs.To<List<SigViewModel>>(), displayField: nameof(SigViewModel.FreqUpDis)).UseDoubleClickToSelectAll();
|
|
|
+ this.txtFreqUp.UseDefault().SetData(sigs, nameof(SigInfo.FreqUpDis)).UseDoubleClickToSelectAll();
|
|
|
if (this.Text == "固定站编辑" && info != null)
|
|
|
{
|
|
|
this.txtName.Text = info.StationName;
|