On 6/26/21 10:26 AM, Roger Price wrote:> On Fri, 25 Jun 2021, Mark Hansen wrote:
>
>> On 6/24/2021 5:48 AM, Roger Price wrote:
>>> Comment: had the command LOGIN been called SETACTIVE, with the
>>> upsmon flag ST_LOGIN changed to ST_ACTIVE, and NUMLOGINS changed to
>>> NUMACTIVE this mechanism would probably be easier to understand.?
>>> LOGOUT might be NOTACTIVE.
>>>
>>> ??? Current?? Proposed
>>> ??? LOGIN???? SETACTIVE
>>> ??? LOGOUT??? NOTACTIVE
>>> ??? NUMLOGINS NUMACTIVE
>>> ??? ST_LOGIN? ST_ACTIVE
>
>> What about:
>> ??? Current??? Proposed
>> ??? LOGIN????? ATTACH
>> ??? LOGOUT???? DETACH
>> ??? NUMLOGINS? NUMATTACHED
>> ??? ST_LOGIN?? ST_ATTACHED
>
> Better.? ATTACH is simpler and clearer than SETACTIVE.? Roger
+1 !