Coverage for backend/core/auxiliary/enums/generalEnums.py: 100%

30 statements  

« prev     ^ index     » next       coverage.py v7.10.7, created at 2025-11-06 23:27 +0000

1from django.db import models 

2 

3 

4class TabState(models.IntegerChoices): 

5 Closed = 0 

6 Open = 1 

7 UnSaved = 2 

8 Locked = 3 

9 Root = 4 

10 

11class TabType(models.TextChoices): 

12 Group = "group" 

13 PinchAnalysis = "pinchAnalysis" 

14 MultiSteady = "multiSteadyState" 

15 Dashboard = "dashboard" 

16 Export = "export" 

17 Dynamics = "dynamics" 

18 

19class PropertyType(models.TextChoices): 

20 InletProperty = "inletProperty" 

21 OutletProperty = "outletProperty" 

22 

23class AbstractionType(models.TextChoices): 

24 Region = "Region" 

25 Community = "Community" 

26 Site = "Site" 

27 Zone = "Process Zone" 

28 SubZone = "Sub-Zone" 

29 Utility = "Utility Zone" 

30 

31class TaskStatus(models.TextChoices): 

32 Pending = "pending" 

33 Running = "running" 

34 Completed = "completed" 

35 Failed = "failed" 

36 Cancelled = "cancelled" 

37