TPMOEEGoodQuantityAvailable Property
General info
Label |
Good Quantity Available |
Description |
Defines whether the good quantity input is to be registered. |
Data type |
Boolean |
Type |
Regular |
Code |
13011 |
Symbolic name |
MODEL_PROP_TPMOEEGOODQUANTITYAVAILABLE |
Lua access code |
syslib.model.properties.TPMOEEGoodQuantityAvailable |
Available since |
1.80 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
Examples
Read from or write to the TPMOEEGoodQuantityAvailable property.
-- Read from the TPMOEEGoodQuantityAvailable
syslib.getvalue("<OBJECT FULL PATH>.TPMOEEQuantityOptions.TPMOEEGoodQuantityAvailable")
-- Write to the TPMOEEGoodQuantityAvailable
syslib.setvalue("<OBJECT FULL PATH>.TPMOEEQuantityOptions.TPMOEEGoodQuantityAvailable", true)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the TPMOEEGoodQuantityAvailable
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TPMOEEQuantityOptions.TPMOEEGoodQuantityAvailable"));
// Write to the TPMOEEGoodQuantityAvailable
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.TPMOEEQuantityOptions.TPMOEEGoodQuantityAvailable"));