PwsProjectorLock

Overview


This structure contains the complete set of information about a lock that has been or could be acquired.

Format


PwsProjectorLock

Elements


Element

Data Type

Description

Sample Data

EntityIdentity

PwsProjectorLockEntity

This structure uniquely identifies the entity that is or could be locked.


EntityTimestamp

String

This is a Base64 encoded timestamp optionally used for entity locking.

AAAAABCnqY8=

LockStolenFlag

Boolean

'True' if another lock was stolen in acquiring or testing this lock.

true

StolenLocks

PwsEntityLockSummaryItem[]

This structure contains key information about the lock(s) that have been stolen in acquiring or testing this lock.


Usage Example(s)


Example 01
             <b:PwsProjectorLock>
                  <b:EntityIdentity>
                     <b:EntityCode>P001468-001</b:EntityCode>
                     <b:EntityId i:nil="true"/>
                     <b:EntityUid>1152921504607429941</b:EntityUid>
                     <b:LockType>P</b:LockType>
                  </b:EntityIdentity>
                  <b:EntityTimestamp>AAAAABCnqY8=</b:EntityTimestamp>
                  <b:LockStolenFlag>true</b:LockStolenFlag>
                  <b:StolenLocks>
                     <b:PwsEntityLockSummaryItem>
                        <b:LockCount>1</b:LockCount>
                        <b:LockHolderUserIdentity>
                           <b:UserDisplayName>IT Manager</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>IT Manager</b:UserReferenceSystemId>
                           <b:UserUid>1152921504607134339</b:UserUid>
                        </b:LockHolderUserIdentity>
                        <b:MostRecentLockAcquisitionTimestamp>2018-10-17T15:24:42.897Z</b:MostRecentLockAcquisitionTimestamp>
                     </b:PwsEntityLockSummaryItem>
                  </b:StolenLocks>
               </b:PwsProjectorLock>