These constants specify the time scale in the time_scale field of the tAcuSSAocDuration extended data structure.
The scale constant is used with an integer (for example, granularity or time fields) to specify the time unit applied for the calculation of charges by the network.
For example, one way to indicate the network will charge on each 6 second interval is to set the time field to 6 and the time_scale field to ACU_SS_AOC_SCALE_ONE_SEC.
|
Constant |
Description/Notes |
|---|---|
|
ACU_SS_AOC_SCALE_HUNDREDTH_SEC |
0.01 seconds |
|
ACU_SS_AOC_SCALE_TENTH_SEC |
0.1 seconds |
|
ACU_SS_AOC_SCALE_ONE_SEC |
1 second |
|
ACU_SS_AOC_SCALE_TEN_SEC |
10 seconds |
|
ACU_SS_AOC_SCALE_ONE_MIN |
1 minute |
|
ACU_SS_AOC_SCALE_ONE_HOUR |
1 hour |
|
ACU_SS_AOC_SCALE_24_HOURS |
24 hours |