- reset calc solo di pezzo e feature su disabilitazione
This commit is contained in:
@@ -1640,8 +1640,8 @@ Public Class BTLPartVM
|
||||
m_BTLPartM.nCALC_GlobalERR = nCALC_ERR
|
||||
m_BTLPartM.nGlobalState = nState
|
||||
For Each Feature In BTLFeatureVMList
|
||||
If Not Feature.bDO Then Continue For
|
||||
If Feature.nState = CalcStates.NOTCALCULATED And bFeatureFirst And nState < CalcStates.ERROR_ Then
|
||||
If Not Feature.bDO And Not bFeatureFirst Then Continue For
|
||||
If ((Feature.nState = CalcStates.NOTCALCULATED And nState < CalcStates.ERROR_) Or Not Feature.bDO) And bFeatureFirst Then
|
||||
m_BTLPartM.nGlobalState = Feature.nState
|
||||
m_BTLPartM.nCALC_GlobalERR = Feature.nCALC_ERR
|
||||
Exit For
|
||||
@@ -1983,7 +1983,8 @@ Public Class BTLPartVM
|
||||
Case NameOf(sender.bDO)
|
||||
NotifyPropertyChanged(NameOf(bDOALL))
|
||||
' setto pezzo da ricalcolare
|
||||
ResetCalcTotalPart()
|
||||
'ResetCalcTotalPart()
|
||||
CalcGlobalUpdate(True)
|
||||
End Select
|
||||
End Sub
|
||||
Private Sub OnBTLPParamVMPropertyChanged(sender As Object, e As PropertyChangedEventArgs)
|
||||
|
||||
Reference in New Issue
Block a user