{"topicSections":[{"title":"Initializers","generated":true,"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/init()"],"anchor":"Initializers"},{"title":"Instance Properties","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/alertMessage","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/alertTitle","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/amountDelivered","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/asset","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/assetType","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/controllerVersion","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/dispenseTankCapacity","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/fuelType","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/image","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/imageData","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/informationMessage","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isConnected","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isOverride","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isScanPerformed","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isShowingAlert","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isShowingNoTag","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isShowingRental","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/latestControllerFirmware","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/make","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/model","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/product","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootButtonColor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootButtonText","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootTime","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/refillStatusMessage","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/remainingSeconds","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/saddleTankFuelLevel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/scan","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/scannedTank","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/serialNumber","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/socket","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/ssid","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/tankCapacity","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/tankNumber","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateAvailable","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateComplete","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateFileSize","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateStatus","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updating"],"generated":true,"anchor":"Instance-Properties"},{"anchor":"Instance-Methods","title":"Instance Methods","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/checkForControllerUpdates(iFrame:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/connect()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/dateInSeconds()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/didReceive(event:client:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/handleError(_:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/handleInformationFrame(payload:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootController(seconds:networkMonitor:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/resetSystem(webSocket:coreDataManager:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/sendUpdateOverTCP()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/setupTankValues(payload:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/startRebootCountdown(seconds:networkMonitor:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateRefillStatusMessage(rsm:)"],"generated":true},{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/ObservableObject-Implementations"],"anchor":"Default-Implementations","title":"Default Implementations","generated":true}],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","abstract":[{"text":"The ","type":"text"},{"code":"WebSocketViewModel","type":"codeVoice"},{"text":" class is responsible for managing WebSocket connections, handling messages, and updating application state based on WebSocket events.","type":"text"}],"primaryContentSections":[{"declarations":[{"tokens":[{"text":"final","kind":"keyword"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"WebSocketViewModel"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"}],"sections":[],"metadata":{"role":"symbol","roleHeading":"Class","externalID":"s:7Fueling18WebSocketViewModelC","title":"WebSocketViewModel","modules":[{"name":"Fueling"}],"symbolKind":"class","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"WebSocketViewModel","kind":"identifier"}],"navigatorTitle":[{"text":"WebSocketViewModel","kind":"identifier"}]},"relationshipsSections":[{"type":"conformsTo","identifiers":["doc:\/\/rpm.com.production.Scanner\/7Combine16ObservableObjectP","doc:\/\/rpm.com.production.Scanner\/10Starscream17WebSocketDelegateP"],"kind":"relationships","title":"Conforms To"}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel"},"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/websocketviewmodel"]}],"seeAlsoSections":[{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ConfigurationViewModel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NotificationManager","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader"],"generated":true,"title":"ViewModels","anchor":"ViewModels"}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/imageData":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/imageData","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"imageData","kind":"identifier"},{"kind":"text","text":": "},{"text":"Data","preciseIdentifier":"s:10Foundation4DataV","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/imagedata","kind":"symbol","abstract":[{"text":"The data of the image associated with the scanned tank.","type":"text"}],"title":"imageData","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/sendUpdateOverTCP()":{"abstract":[{"text":"Sends an update over TCP.","type":"text"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/sendUpdateOverTCP()","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"sendUpdateOverTCP","kind":"identifier"},{"kind":"text","text":"()"}],"url":"\/documentation\/fueling\/websocketviewmodel\/sendupdateovertcp()","title":"sendUpdateOverTCP()","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/connect()":{"type":"topic","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"connect"},{"kind":"text","text":"()"}],"url":"\/documentation\/fueling\/websocketviewmodel\/connect()","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/connect()","abstract":[{"type":"text","text":"Connects to the WebSocket server."}],"title":"connect()","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/updateComplete":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"updateComplete","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateComplete","kind":"symbol","title":"updateComplete","abstract":[{"text":"A flag indicating whether the update is complete.","type":"text"}],"url":"\/documentation\/fueling\/websocketviewmodel\/updatecomplete","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/scannedTank":{"abstract":[{"type":"text","text":"The scanned tank identifier."}],"kind":"symbol","role":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/scannedtank","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/scannedTank","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"scannedTank","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"title":"scannedTank"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/rebootController(seconds:networkMonitor:)":{"title":"rebootController(seconds:networkMonitor:)","kind":"symbol","abstract":[{"type":"text","text":"Reboots the controller."}],"role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootController(seconds:networkMonitor:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"rebootController"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"seconds"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sd","text":"Double","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"networkMonitor"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7Fueling14NetworkMonitorC","kind":"typeIdentifier","text":"NetworkMonitor"},{"text":")","kind":"text"}],"type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/rebootcontroller(seconds:networkmonitor:)"},"doc://rpm.com.production.Scanner/7Combine16ObservableObjectP":{"type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/7Combine16ObservableObjectP","title":"Combine.ObservableObject"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/dateInSeconds()":{"abstract":[{"type":"text","text":"Gets the current timestamp in seconds."}],"kind":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"dateInSeconds"},{"text":"() -> ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"dateInSeconds()","url":"\/documentation\/fueling\/websocketviewmodel\/dateinseconds()","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/dateInSeconds()","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/rebootButtonText":{"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootButtonText","url":"\/documentation\/fueling\/websocketviewmodel\/rebootbuttontext","title":"rebootButtonText","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"rebootButtonText","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"role":"symbol","abstract":[{"type":"text","text":"The text displayed on the reboot button."}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/model":{"kind":"symbol","type":"topic","role":"symbol","title":"model","url":"\/documentation\/fueling\/websocketviewmodel\/model","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/model","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"model","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"abstract":[{"text":"The model of the tank.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/isShowingNoTag":{"role":"symbol","title":"isShowingNoTag","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isShowingNoTag","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"isShowingNoTag","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"type":"topic","kind":"symbol","abstract":[{"text":"A flag indicating whether the no-tag alert is showing.","type":"text"}],"url":"\/documentation\/fueling\/websocketviewmodel\/isshowingnotag"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/init()":{"url":"\/documentation\/fueling\/websocketviewmodel\/init()","title":"init()","abstract":[],"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/init()","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/saddleTankFuelLevel":{"kind":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/saddletankfuellevel","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/saddleTankFuelLevel","title":"saddleTankFuelLevel","type":"topic","abstract":[{"text":"The fuel level of the saddle tank, stored in app storage.","type":"text"}],"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"saddleTankFuelLevel","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/refillStatusMessage":{"type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/refillstatusmessage","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/refillStatusMessage","abstract":[{"text":"The status message received from the refill system.","type":"text"}],"title":"refillStatusMessage","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"refillStatusMessage"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7Fueling24RefillStatusMessageModelV","text":"RefillStatusMessageModel","kind":"typeIdentifier"}]},"doc://rpm.com.production.Scanner/10Starscream17WebSocketDelegateP":{"type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/10Starscream17WebSocketDelegateP","title":"Starscream.WebSocketDelegate"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/asset":{"url":"\/documentation\/fueling\/websocketviewmodel\/asset","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/asset","type":"topic","abstract":[{"text":"The asset identifier.","type":"text"}],"title":"asset","kind":"symbol","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"asset"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/tankCapacity":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"tankCapacity"},{"kind":"text","text":": "},{"text":"Double","preciseIdentifier":"s:Sd","kind":"typeIdentifier"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/tankCapacity","role":"symbol","title":"tankCapacity","type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/tankcapacity","abstract":[{"type":"text","text":"The capacity of the tank."}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/checkForControllerUpdates(iFrame:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/checkForControllerUpdates(iFrame:)","kind":"symbol","role":"symbol","abstract":[{"type":"text","text":"Checks for controller updates based on the information frame."}],"url":"\/documentation\/fueling\/websocketviewmodel\/checkforcontrollerupdates(iframe:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"checkForControllerUpdates"},{"kind":"text","text":"("},{"kind":"externalParam","text":"iFrame"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7Fueling18InformationMessageV","text":"InformationMessage","kind":"typeIdentifier"},{"text":")","kind":"text"}],"title":"checkForControllerUpdates(iFrame:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/alertMessage":{"type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/alertmessage","title":"alertMessage","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"alertMessage","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"role":"symbol","abstract":[{"text":"The message displayed in the alert.","type":"text"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/alertMessage"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/controllerVersion":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"controllerVersion","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"type":"topic","title":"controllerVersion","url":"\/documentation\/fueling\/websocketviewmodel\/controllerversion","abstract":[{"type":"text","text":"The version of the controller firmware."}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/controllerVersion","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/updateStatus":{"role":"symbol","kind":"symbol","abstract":[{"text":"The status of the update process.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"updateStatus"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"updateStatus","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateStatus","url":"\/documentation\/fueling\/websocketviewmodel\/updatestatus"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/handleError(_:)":{"abstract":[{"text":"Handles errors during WebSocket communication.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"handleError"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:s5ErrorP","text":"Error"},{"kind":"text","text":"?)"}],"title":"handleError(_:)","type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/handleerror(_:)","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/handleError(_:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/make":{"kind":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/make","type":"topic","abstract":[{"type":"text","text":"The make of the tank."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/make","role":"symbol","title":"make","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"make","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/fuelType":{"type":"topic","kind":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/fueltype","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/fuelType","abstract":[{"type":"text","text":"The fuel type associated with the tank."}],"title":"fuelType","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"fuelType","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/scan":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/scan","kind":"symbol","role":"symbol","abstract":[{"type":"text","text":"The scan data as an array of strings."}],"url":"\/documentation\/fueling\/websocketviewmodel\/scan","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"scan"},{"text":": [","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":"]"}],"title":"scan"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/isConnected":{"title":"isConnected","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isConnected","url":"\/documentation\/fueling\/websocketviewmodel\/isconnected","type":"topic","role":"symbol","abstract":[{"text":"A flag indicating whether the WebSocket is connected.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isConnected"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/setupTankValues(payload:)":{"role":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/setuptankvalues(payload:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setupTankValues"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Array","preciseIdentifier":"s:Sa"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Substring","preciseIdentifier":"s:Ss"},{"text":">)","kind":"text"}],"abstract":[{"type":"text","text":"Sets up tank values based on the received payload."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/setupTankValues(payload:)","title":"setupTankValues(payload:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/socket":{"role":"symbol","title":"socket","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/socket","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"socket","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Starscream9WebSocketC","text":"WebSocket","kind":"typeIdentifier"},{"kind":"text","text":"!"}],"type":"topic","kind":"symbol","abstract":[{"text":"The WebSocket object managing the connection.","type":"text"}],"url":"\/documentation\/fueling\/websocketviewmodel\/socket"},"doc://rpm.com.production.Scanner/documentation/Fueling/ConfigurationViewModel":{"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ConfigurationViewModel","type":"topic","abstract":[],"url":"\/documentation\/fueling\/configurationviewmodel","title":"ConfigurationViewModel","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"ConfigurationViewModel"}],"fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"ConfigurationViewModel"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/isShowingRental":{"url":"\/documentation\/fueling\/websocketviewmodel\/isshowingrental","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"isShowingRental","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isShowingRental","title":"isShowingRental","abstract":[{"text":"A flag indicating whether the rental alert is showing.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/NetworkMonitor":{"navigatorTitle":[{"text":"NetworkMonitor","kind":"identifier"}],"url":"\/documentation\/fueling\/networkmonitor","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor","kind":"symbol","title":"NetworkMonitor","role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"NetworkMonitor"}],"type":"topic","abstract":[{"type":"text","text":"A class that monitors network connectivity, particularly WiFi."}]},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/ssid":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/ssid","role":"symbol","kind":"symbol","abstract":[{"text":"The SSID of the WiFi network, stored in app storage.","type":"text"}],"title":"ssid","type":"topic","url":"\/documentation\/fueling\/websocketviewmodel\/ssid","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"ssid","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/tankNumber":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/tankNumber","url":"\/documentation\/fueling\/websocketviewmodel\/tanknumber","kind":"symbol","title":"tankNumber","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"tankNumber"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"role":"symbol","abstract":[{"type":"text","text":"The tank number."}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/updateRefillStatusMessage(rsm:)":{"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"updateRefillStatusMessage"},{"kind":"text","text":"("},{"kind":"externalParam","text":"rsm"},{"text":": ","kind":"text"},{"text":"RefillStatusMessageModel","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling24RefillStatusMessageModelV"},{"kind":"text","text":")"}],"title":"updateRefillStatusMessage(rsm:)","abstract":[{"type":"text","text":"Updates the "},{"type":"codeVoice","code":"refillStatusMessage"},{"type":"text","text":" property with new values."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateRefillStatusMessage(rsm:)","url":"\/documentation\/fueling\/websocketviewmodel\/updaterefillstatusmessage(rsm:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/isShowingAlert":{"url":"\/documentation\/fueling\/websocketviewmodel\/isshowingalert","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"isShowingAlert"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"type":"topic","role":"symbol","kind":"symbol","title":"isShowingAlert","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isShowingAlert","abstract":[{"text":"A flag indicating whether an alert is showing.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel":{"kind":"symbol","role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"kind":"identifier","text":"WebSocketViewModel"}],"navigatorTitle":[{"kind":"identifier","text":"WebSocketViewModel"}],"abstract":[{"text":"The ","type":"text"},{"type":"codeVoice","code":"WebSocketViewModel"},{"type":"text","text":" class is responsible for managing WebSocket connections, handling messages, and updating application state based on WebSocket events."}],"url":"\/documentation\/fueling\/websocketviewmodel","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel","title":"WebSocketViewModel"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/didReceive(event:client:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/didReceive(event:client:)","url":"\/documentation\/fueling\/websocketviewmodel\/didreceive(event:client:)","title":"didReceive(event:client:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"didReceive"},{"text":"(","kind":"text"},{"text":"event","kind":"externalParam"},{"text":": Starscream","kind":"text"},{"kind":"text","text":"."},{"preciseIdentifier":"s:10Starscream14WebSocketEventO","kind":"typeIdentifier","text":"WebSocketEvent"},{"kind":"text","text":", "},{"kind":"externalParam","text":"client"},{"kind":"text","text":": Starscream"},{"text":".","kind":"text"},{"preciseIdentifier":"s:10Starscream15WebSocketClientP","kind":"typeIdentifier","text":"WebSocketClient"},{"text":")","kind":"text"}],"role":"symbol","abstract":[{"text":"Handles WebSocket events.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/handleInformationFrame(payload:)":{"url":"\/documentation\/fueling\/websocketviewmodel\/handleinformationframe(payload:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"handleInformationFrame","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"payload"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sa","kind":"typeIdentifier","text":"Array"},{"kind":"text","text":"<"},{"text":"Substring","kind":"typeIdentifier","preciseIdentifier":"s:Ss"},{"text":">)","kind":"text"}],"type":"topic","role":"symbol","kind":"symbol","title":"handleInformationFrame(payload:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/handleInformationFrame(payload:)","abstract":[{"text":"Handles information frames received from the WebSocket.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/informationMessage":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"informationMessage","kind":"identifier"},{"kind":"text","text":": "},{"text":"InformationMessage","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling18InformationMessageV"}],"url":"\/documentation\/fueling\/websocketviewmodel\/informationmessage","role":"symbol","abstract":[{"text":"The information message received from the controller.","type":"text"}],"title":"informationMessage","kind":"symbol","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/informationMessage"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"text":"CoreDataManager","kind":"identifier"}],"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager","kind":"symbol","title":"CoreDataManager","abstract":[],"navigatorTitle":[{"text":"CoreDataManager","kind":"identifier"}],"url":"\/documentation\/fueling\/coredatamanager","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/LocationManager":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager","kind":"symbol","role":"symbol","abstract":[{"text":"A class that manages location services and provides updates on the device’s location and authorization status.","type":"text"}],"title":"LocationManager","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"LocationManager","kind":"identifier"}],"navigatorTitle":[{"text":"LocationManager","kind":"identifier"}],"url":"\/documentation\/fueling\/locationmanager"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/updateFileSize":{"title":"updateFileSize","kind":"symbol","type":"topic","role":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/updatefilesize","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"updateFileSize"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Float","preciseIdentifier":"s:Sf"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateFileSize","abstract":[{"text":"The size of the update file.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/latestControllerFirmware":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/latestControllerFirmware","url":"\/documentation\/fueling\/websocketviewmodel\/latestcontrollerfirmware","title":"latestControllerFirmware","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"latestControllerFirmware"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"role":"symbol","abstract":[{"text":"The latest controller firmware version, stored in app storage.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/isScanPerformed":{"kind":"symbol","title":"isScanPerformed","url":"\/documentation\/fueling\/websocketviewmodel\/isscanperformed","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isScanPerformed","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"type":"topic","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isScanPerformed","abstract":[{"type":"text","text":"A flag indicating whether a scan was performed."}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/alertTitle":{"url":"\/documentation\/fueling\/websocketviewmodel\/alerttitle","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"alertTitle"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"type":"topic","role":"symbol","kind":"symbol","title":"alertTitle","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/alertTitle","abstract":[{"text":"The title of the alert.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/serialNumber":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/serialNumber","url":"\/documentation\/fueling\/websocketviewmodel\/serialnumber","title":"serialNumber","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"serialNumber"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"role":"symbol","abstract":[{"text":"The serial number of the tank.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/NFCReader":{"navigatorTitle":[{"kind":"identifier","text":"NFCReader"}],"abstract":[{"text":"A class that handles NFC reading operations and notifies observers about the results.","type":"text"}],"kind":"symbol","title":"NFCReader","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"NFCReader","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader","role":"symbol","type":"topic","url":"\/documentation\/fueling\/nfcreader"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/rebootTime":{"url":"\/documentation\/fueling\/websocketviewmodel\/reboottime","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"rebootTime"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"}],"type":"topic","role":"symbol","kind":"symbol","title":"rebootTime","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootTime","abstract":[{"text":"The remaining time for the reboot process.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/assetType":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/assetType","url":"\/documentation\/fueling\/websocketviewmodel\/assettype","title":"assetType","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"assetType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"role":"symbol","abstract":[{"text":"The type of the asset being scanned.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/remainingSeconds":{"url":"\/documentation\/fueling\/websocketviewmodel\/remainingseconds","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"remainingSeconds"},{"text":": ","kind":"text"},{"text":"Double","kind":"typeIdentifier","preciseIdentifier":"s:Sd"}],"type":"topic","role":"symbol","kind":"symbol","title":"remainingSeconds","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/remainingSeconds","abstract":[{"text":"The remaining seconds for the current timer.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/image":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/image","url":"\/documentation\/fueling\/websocketviewmodel\/image","title":"image","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"image"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftUI5ImageV","kind":"typeIdentifier","text":"Image"},{"kind":"text","text":"?"}],"role":"symbol","abstract":[{"text":"The image associated with the scanned tank.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/ObservableObject-Implementations":{"url":"\/documentation\/fueling\/websocketviewmodel\/observableobject-implementations","type":"topic","role":"collectionGroup","kind":"article","title":"ObservableObject Implementations","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/ObservableObject-Implementations","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/NotificationManager":{"url":"\/documentation\/fueling\/notificationmanager","role":"symbol","type":"topic","title":"NotificationManager","kind":"symbol","abstract":[{"type":"text","text":"A class that manages notifications for the application."}],"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"NotificationManager","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"NotificationManager"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NotificationManager"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/startRebootCountdown(seconds:networkMonitor:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/startRebootCountdown(seconds:networkMonitor:)","url":"\/documentation\/fueling\/websocketviewmodel\/startrebootcountdown(seconds:networkmonitor:)","title":"startRebootCountdown(seconds:networkMonitor:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"startRebootCountdown"},{"kind":"text","text":"("},{"text":"seconds","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"networkMonitor"},{"text":": ","kind":"text"},{"text":"NetworkMonitor","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling14NetworkMonitorC"},{"kind":"text","text":")"}],"role":"symbol","abstract":[{"text":"Starts the reboot countdown timer.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/updating":{"url":"\/documentation\/fueling\/websocketviewmodel\/updating","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"updating","kind":"identifier"},{"kind":"text","text":": "},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"type":"topic","role":"symbol","kind":"symbol","title":"updating","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updating","abstract":[{"text":"A flag indicating whether the system is currently updating.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/rebootButtonColor":{"kind":"symbol","type":"topic","abstract":[{"type":"text","text":"The color of the reboot button."}],"title":"rebootButtonColor","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/rebootButtonColor","url":"\/documentation\/fueling\/websocketviewmodel\/rebootbuttoncolor","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"rebootButtonColor","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftUI5ColorV","kind":"typeIdentifier","text":"Color"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/updateAvailable":{"type":"topic","title":"updateAvailable","url":"\/documentation\/fueling\/websocketviewmodel\/updateavailable","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"updateAvailable","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/updateAvailable","abstract":[{"text":"A flag indicating whether an update is available.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/dispenseTankCapacity":{"type":"topic","kind":"symbol","title":"dispenseTankCapacity","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/dispenseTankCapacity","url":"\/documentation\/fueling\/websocketviewmodel\/dispensetankcapacity","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dispenseTankCapacity","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The capacity of the dispense tank, stored in app storage."}],"role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/resetSystem(webSocket:coreDataManager:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/resetSystem(webSocket:coreDataManager:)","title":"resetSystem(webSocket:coreDataManager:)","role":"symbol","url":"\/documentation\/fueling\/websocketviewmodel\/resetsystem(websocket:coredatamanager:)","type":"topic","abstract":[{"text":"Resets the system.","type":"text"}],"kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"resetSystem","kind":"identifier"},{"kind":"text","text":"("},{"text":"webSocket","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"WebSocketViewModel","preciseIdentifier":"s:7Fueling18WebSocketViewModelC"},{"text":", ","kind":"text"},{"text":"coreDataManager","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CoreDataManager","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling15CoreDataManagerC"},{"text":")","kind":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/amountDelivered":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/amountDelivered","url":"\/documentation\/fueling\/websocketviewmodel\/amountdelivered","title":"amountDelivered","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"amountDelivered","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"role":"symbol","abstract":[{"text":"The amount of fuel delivered.","type":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/isOverride":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/isOverride","title":"isOverride","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"isOverride","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/fueling\/websocketviewmodel\/isoverride","kind":"symbol","abstract":[{"type":"text","text":"A flag indicating whether the operation is an override."}]},"doc://rpm.com.production.Scanner/documentation/Fueling/WebSocketViewModel/product":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel\/product","kind":"symbol","type":"topic","abstract":[{"type":"text","text":"The product associated with the tank."}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"product","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/fueling\/websocketviewmodel\/product","role":"symbol","title":"product"}}}