Please enable JavaScript.
Coggle requires JavaScript to display documents.
duyet tung ban ghi - Coggle Diagram
duyet tung ban ghi
Add new
Level 1
Mode: CusTom
Enable: 0
Level 2
update data by parent
Level 3
check level 2:
Full
Enable = 1
View
IsView = true => Enable = 1 Else = 0
Custom
Enable = 0
Level 4
Check Level 3
one -> enable = 1
Off: enable = 0
Level 5
Check level 4
Same level 4
Exits
Level 1
Get data old
update same data
Level 2
Get data Old
Same level then update same data
Not same level:
Check Mode level 1
Full
Enable = 1
Mode = full
View
Enable = 1
Mode= View
Custom
Level Up:
Enable = 1
Mode = custom
Level down: same value old
Level 3 + 4
Get old Data
Same level then update same data
Not same level:
Check level 2
Full
Enable = 1
View
Enable = 1
Custom
Level Up: same value old
Level Down:
Old data is Full:
Enable = 1
Old data is View:
isView -> Enable = 1 else = 0
Olad data= custom:
Enable = 0
Level 5
Get Old Data
Not same Level:
Check parent
isView = true
Check level 2
View
Enable = 1
Full
Enable 1
Custom
Enable = same old data
isview = false
update same old value