Load
開車時,如果車輛是自行取餐,系統可能會將預先定義的金額計入車資中;如果為外送車輛,則資訊會扣除。此訊息定義了這類金額。詳情請參閱《loadDemands
》。
JSON 表示法 |
{
"amount": string
} |
欄位 |
amount |
string (int64 format)
執行相應造訪記錄的車輛負載量有所不同。由於為整數,建議使用者選擇適當的單位,以免喪失精確度。必須大於 0。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-21 (世界標準時間)。
[null,null,["上次更新時間:2024-08-21 (世界標準時間)。"],[[["The `Shipment.Load` message defines the amount added or subtracted from a vehicle's load during a pickup or delivery."],["This amount is represented by the `amount` field in the JSON representation, which is a string formatted as an `int64`."],["The `amount` value must be non-negative and users should choose an appropriate unit to maintain precision."],["Refer to `loadDemands` for how this message is used within the broader context of route optimization."]]],["The provided content describes the \"amount\" field within a JSON representation used for vehicle load adjustments during visits. This \"amount\" is a string representing an integer that modifies a vehicle's load. During a pickup, the amount is added, and during a delivery, it's subtracted. The amount must be greater than or equal to zero. The content advises users to select an appropriate unit of measure for precision, given that this is an integer.\n"]]