parent
37d18a439d
commit
97fe557575
|
@ -2174,7 +2174,7 @@
|
|||
BorderThickness="1"
|
||||
CornerRadius="3"
|
||||
BorderBrush="#91b0cd" >
|
||||
<TextBlock Text="{Binding Name}" FontSize="18" FontFamily="Bold" />
|
||||
<TextBlock Text="{Binding Name}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="18" FontFamily="Bold" />
|
||||
</Border>
|
||||
|
||||
|
||||
|
|
|
@ -1649,8 +1649,12 @@ namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
|||
get => _gasNameList;
|
||||
set
|
||||
{
|
||||
if (_gasNameList != value)
|
||||
if (_gasNameList == null)
|
||||
{
|
||||
_gasNameList = value;
|
||||
SelectGasName= _gasNameList[0];
|
||||
}
|
||||
//_gasNameList = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1661,8 +1665,11 @@ namespace MECF.Framework.UI.Client.CenterViews.Modules.PM
|
|||
get => _gasFlowSumList;
|
||||
set
|
||||
{
|
||||
if (_gasFlowSumList != value)
|
||||
if (_gasFlowSumList == null)
|
||||
_gasFlowSumList = value;
|
||||
if (JsonConvert.SerializeObject(_gasFlowSumList) != JsonConvert.SerializeObject(value))
|
||||
_gasFlowSumList = value;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue