/// <summary>
 /// Abstract override to toggle read only properties
 /// </summary>
 public override void toggleReadOnlyProps(bool IsReadOnly, CswNbtPropertySetRequestItem ItemInstance)
 {
     if (null != ItemInstance)
     {
         CswNbtObjClassRequestContainerDispense ThisRequest = (CswNbtObjClassRequestContainerDispense)ItemInstance;
         ThisRequest.Quantity.setReadOnly(value: IsReadOnly, SaveToDb: true);
         ThisRequest.Container.setReadOnly(value: IsReadOnly, SaveToDb: true);
         ThisRequest.Material.setReadOnly(value: IsReadOnly, SaveToDb: true);
     }
 }
 /// <summary>
 /// Cast a the Object Class as a PropertySet
 /// </summary>
 public static CswNbtPropertySetRequestItem toPropertySet(CswNbtObjClassRequestContainerDispense ObjClass)
 {
     return(ObjClass);
 }