Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 строка
47 KiB

  1. {"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"attribute","text":"@"},{"text":"MainActor","preciseIdentifier":"s:ScM","kind":"attribute"},{"text":" ","kind":"text"},{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"ScanView2","kind":"identifier"}],"platforms":["iOS"],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","level":2,"anchor":"overview","text":"Overview"},{"inlineContent":[{"type":"text","text":"To see the full code for "},{"type":"codeVoice","code":"ScanView2"},{"text":", refer to the ","type":"text"},{"type":"reference","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2_Full_Code","isActive":true},{"type":"text","text":"."}],"type":"paragraph"},{"header":"row","type":"table","rows":[[[{"inlineContent":[{"identifier":"FirstView.png","type":"image"}],"type":"paragraph"}],[{"type":"paragraph","inlineContent":[{"type":"image","identifier":"SecondView.png"}]}],[{"type":"paragraph","inlineContent":[{"identifier":"SecondView.png","type":"image"}]}]],[[{"type":"paragraph","inlineContent":[{"type":"text","text":"—–Saddel Tank View ––––"}]}],[{"inlineContent":[{"type":"text","text":"–After Scan QR –"}],"type":"paragraph"}],[{"type":"paragraph","inlineContent":[{"type":"text","text":"——Third View––"}]}]]]}]}],"variants":[{"paths":["\/documentation\/fueling\/scanview2"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"type":"codeVoice","code":"ScanView2"},{"type":"text","text":" is a SwiftUI view that manages the UI for scanning and displaying tank information."}],"metadata":{"role":"symbol","roleHeading":"Structure","externalID":"s:7Fueling9ScanView2V","title":"ScanView2","modules":[{"name":"Fueling"}],"symbolKind":"struct","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"ScanView2","kind":"identifier"}],"navigatorTitle":[{"text":"ScanView2","kind":"identifier"}]},"relationshipsSections":[{"identifiers":["doc:\/\/rpm.com.production.Scanner\/s8SendableP","doc:\/\/rpm.com.production.Scanner\/7SwiftUI4ViewP"],"type":"conformsTo","kind":"relationships","title":"Conforms To"}],"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2","interfaceLanguage":"swift"},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling"]]},"schemaVersion":{"minor":3,"patch":0,"major":0},"sections":[],"topicSections":[{"title":"Initializers","anchor":"Initializers","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/init()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/init(isShowingScanner:isShowingData:assetId:isShowingPDF:remainingSeconds:rebootButtonColor:isSaddleOrSwitchTankClick:moc:dismiss:webSocket:networkMonitor:coreDataManager:colorScheme:dismiss2:dispenseTankFuelType:dispenseTankType:dispenseTankID:dispenseTankCapacity:ssid:saddleTankFuelLevel:isLoading:userOTASSID:userOTAPwd:partNumber:lm:)"],"generated":true},{"title":"Instance Properties","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/assetId","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/body","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/colorScheme","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/coreDataManager","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dismiss","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dismiss2","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankCapacity","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankFuelType","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankID","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankType","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isDeliveredVolumeGreaterThanZero","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isLoading","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isSaddleOrSwitchTankClick","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isShowingData","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isShowingPDF","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isShowingScanner","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/lm","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/moc","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/networkMonitor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/partNumber","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/rebootButtonColor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/rebootText","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/remainingSeconds","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/saddleTankFuelLevel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/ssid","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userLatitude","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userLongitude","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userOTAPwd","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userOTASSID","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/webSocket"],"generated":true,"anchor":"Instance-Properties"},{"anchor":"Instance-Methods","generated":true,"title":"Instance Methods","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/handleScan(result:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/setupTankValues(webSocket:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/setupTankValuesWithPayLoad(payload:webSocket:)"]},{"generated":true,"title":"Default Implementations","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/View-Implementations"],"anchor":"Default-Implementations"}],"seeAlsoSections":[{"title":"Views","anchor":"Views","generated":true,"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NonTaggedView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/HeaderView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewUI","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingView","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ColorResource","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView_Previews","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper"]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","kind":"symbol","title":"FuelingAPIVIew","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"FuelingAPIVIew"}],"navigatorTitle":[{"kind":"identifier","text":"FuelingAPIVIew"}],"abstract":[{"type":"text","text":"A view that displays and manages fueling data, allowing the user to send data to the server."}],"url":"\/documentation\/fueling\/fuelingapiview","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew_Previews":{"role":"symbol","title":"FuelingAPIVIew_Previews","type":"topic","navigatorTitle":[{"text":"FuelingAPIVIew_Previews","kind":"identifier"}],"url":"\/documentation\/fueling\/fuelingapiview_previews","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"FuelingAPIVIew_Previews","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew_Previews","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/dispenseTankCapacity":{"type":"topic","url":"\/documentation\/fueling\/scanview2\/dispensetankcapacity","title":"dispenseTankCapacity","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"dispenseTankCapacity","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"role":"symbol","abstract":[{"type":"text","text":"The capacity of the dispense tank."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankCapacity"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/userOTAPwd":{"type":"topic","abstract":[{"type":"text","text":"The password for the OTA update."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"userOTAPwd","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"url":"\/documentation\/fueling\/scanview2\/userotapwd","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userOTAPwd","kind":"symbol","title":"userOTAPwd","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView_Previews":{"url":"\/documentation\/fueling\/contentview_previews","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView_Previews","title":"ContentView_Previews","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ContentView_Previews","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ContentView_Previews"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/ContentView":{"type":"topic","role":"symbol","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ContentView","url":"\/documentation\/fueling\/contentview","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ContentView","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"ContentView"}],"title":"ContentView","kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingView":{"navigatorTitle":[{"kind":"identifier","text":"FuelingView"}],"title":"FuelingView","kind":"symbol","url":"\/documentation\/fueling\/fuelingview","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"FuelingView","kind":"identifier"}],"type":"topic","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingView"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/moc":{"kind":"symbol","type":"topic","role":"symbol","title":"moc","abstract":[{"type":"text","text":"The managed object context from the environment."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/moc","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"moc"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"}],"url":"\/documentation\/fueling\/scanview2\/moc"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/body":{"title":"body","url":"\/documentation\/fueling\/scanview2\/body","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/body","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"body"},{"text":": ","kind":"text"},{"kind":"keyword","text":"some"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"}],"kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/rebootButtonColor":{"type":"topic","abstract":[{"type":"text","text":"Stores the color of the reboot button."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"rebootButtonColor","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Color","preciseIdentifier":"s:7SwiftUI5ColorV","kind":"typeIdentifier"}],"url":"\/documentation\/fueling\/scanview2\/rebootbuttoncolor","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/rebootButtonColor","kind":"symbol","title":"rebootButtonColor","role":"symbol"},"doc://rpm.com.production.Scanner/7SwiftUI4ViewP":{"type":"unresolvable","identifier":"doc:\/\/rpm.com.production.Scanner\/7SwiftUI4ViewP","title":"SwiftUICore.View"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2":{"kind":"symbol","abstract":[{"type":"codeVoice","code":"ScanView2"},{"text":" is a SwiftUI view that manages the UI for scanning and displaying tank information.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"ScanView2"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ScanView2"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2","role":"symbol","type":"topic","title":"ScanView2","url":"\/documentation\/fueling\/scanview2"},"doc://rpm.com.production.Scanner/documentation/Fueling/HeaderView":{"type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/HeaderView","url":"\/documentation\/fueling\/headerview","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"HeaderView","kind":"identifier"}],"abstract":[],"navigatorTitle":[{"text":"HeaderView","kind":"identifier"}],"title":"HeaderView"},"doc://rpm.com.production.Scanner/documentation/Fueling/PDFViewUI":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewUI","kind":"symbol","type":"topic","title":"PDFViewUI","abstract":[],"url":"\/documentation\/fueling\/pdfviewui","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"PDFViewUI","kind":"identifier"}],"navigatorTitle":[{"text":"PDFViewUI","kind":"identifier"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/init(isShowingScanner:isShowingData:assetId:isShowingPDF:remainingSeconds:rebootButtonColor:isSaddleOrSwitchTankClick:moc:dismiss:webSocket:networkMonitor:coreDataManager:colorScheme:dismiss2:dispenseTankFuelType:dispenseTankType:dispenseTankID:dispenseTankCapacity:ssid:saddleTankFuelLevel:isLoading:userOTASSID:userOTAPwd:partNumber:lm:)":{"type":"topic","url":"\/documentation\/fueling\/scanview2\/init(isshowingscanner:isshowingdata:assetid:isshowingpdf:remainingseconds:rebootbuttoncolor:issaddleorswitchtankclick:moc:dismiss:websocket:networkmonitor:coredatamanager:colorscheme:dismiss2:dispensetankfueltype:dispensetanktype:dispenseta-2g6nc","title":"init(isShowingScanner:isShowingData:assetId:isShowingPDF:remainingSeconds:rebootButtonColor:isSaddleOrSwitchTankClick:moc:dismiss:webSocket:networkMonitor:coreDataManager:colorScheme:dismiss2:dispenseTankFuelType:dispenseTankType:dispenseTankID:dispenseTankCapacity:ssid:saddleTankFuelLevel:isLoading:userOTASSID:userOTAPwd:partNumber:lm:)","kind":"symbol","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"isShowingScanner","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"isShowingData"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"assetId","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"isShowingPDF"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"remainingSeconds"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sd","text":"Double"},{"kind":"text","text":", "},{"text":"rebootButtonColor","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Color","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI5ColorV"},{"text":", ","kind":"text"},{"text":"isSaddleOrSwitchTankClick","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"moc"},{"kind":"text","text":": "},{"text":"Environment","preciseIdentifier":"s:7SwiftUI11EnvironmentV","kind":"typeIdentifier"},{"text":"<","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSManagedObjectContext","text":"NSManagedObjectContext","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"dismiss","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Environment","preciseIdentifier":"s:7SwiftUI11EnvironmentV"},{"kind":"text","text":"<"},{"text":"DismissAction","preciseIdentifier":"s:7SwiftUI13DismissActionV","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"webSocket","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"EnvironmentObject","preciseIdentifier":"s:7SwiftUI17EnvironmentObjectV"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:7Fueling18WebSocketViewModelC","text":"WebSocketViewModel","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"networkMonitor"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7SwiftUI17EnvironmentObjectV","kind":"typeIdentifier","text":"EnvironmentObject"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:7Fueling14NetworkMonitorC","text":"NetworkMonitor","kind":"typeIdentifier"},{"kind":"text","text":">, "},{"text":"coreDataManager","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"EnvironmentObject","preciseIdentifier":"s:7SwiftUI17EnvironmentObjectV"},{"kind":"text","text":"<"},{"text":"CoreDataManager","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling15CoreDataManagerC"},{"text":">, ","kind":"text"},{"text":"colorScheme","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Environment","preciseIdentifier":"s:7SwiftUI11EnvironmentV","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"text":"ColorScheme","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI11ColorSchemeO"},{"text":">, ","kind":"text"},{"kind":"externalParam","text":"dismiss2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI11EnvironmentV","text":"Environment","kind":"typeIdentifier"},{"kind":"text","text":"<"},{"preciseIdentifier":"s:7SwiftUI13DismissActionV","text":"DismissAction","kind":"typeIdentifier"},{"text":">, ","kind":"text"},{"text":"dispenseTankFuelType","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"dispenseTankType","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"dispenseTankID","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"dispenseTankCapacity","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"ssid","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"saddleTankFuelLevel","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"text":"isLoading","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"kind":"text","text":", "},{"text":"userOTASSID","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":", ","kind":"text"},{"text":"userOTAPwd","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"partNumber","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"lm"},{"text":": ","kind":"text"},{"text":"@autoclosure ","kind":"attribute"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"c:@M@Fueling@objc(cs)LocationManager","text":"LocationManager","kind":"typeIdentifier"},{"text":")","kind":"text"}],"role":"symbol","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/init(isShowingScanner:isShowingData:assetId:isShowingPDF:remainingSeconds:rebootButtonColor:isSaddleOrSwitchTankClick:moc:dismiss:webSocket:networkMonitor:coreDataManager:colorScheme:dismiss2:dispenseTankFuelType:dispenseTankType:dispenseTankID:dispenseTankCapacity:ssid:saddleTankFuelLevel:isLoading:userOTASSID:userOTAPwd:partNumber:lm:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/setupTankValues(webSocket:)":{"type":"topic","abstract":[{"text":"Sets up the tank values for the given WebSocket view model.","type":"text"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"setupTankValues"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"webSocket"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:7Fueling18WebSocketViewModelC","text":"WebSocketViewModel"},{"kind":"text","text":")"}],"url":"\/documentation\/fueling\/scanview2\/setuptankvalues(websocket:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/setupTankValues(webSocket:)","kind":"symbol","title":"setupTankValues(webSocket:)","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/isDeliveredVolumeGreaterThanZero":{"url":"\/documentation\/fueling\/scanview2\/isdeliveredvolumegreaterthanzero","title":"isDeliveredVolumeGreaterThanZero","abstract":[{"type":"text","text":"Indicates if the delivered volume is greater than zero."}],"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isDeliveredVolumeGreaterThanZero","kind":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"isDeliveredVolumeGreaterThanZero"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/webSocket":{"kind":"symbol","type":"topic","role":"symbol","title":"webSocket","abstract":[{"type":"text","text":"The WebSocket view model from the environment."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/webSocket","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"webSocket"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7Fueling18WebSocketViewModelC","kind":"typeIdentifier","text":"WebSocketViewModel"}],"url":"\/documentation\/fueling\/scanview2\/websocket"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/userOTASSID":{"type":"topic","title":"userOTASSID","kind":"symbol","abstract":[{"text":"The SSID for the OTA update.","type":"text"}],"url":"\/documentation\/fueling\/scanview2\/userotassid","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userOTASSID","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"userOTASSID","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]},"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/ScanView2/ssid":{"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/ssid","url":"\/documentation\/fueling\/scanview2\/ssid","title":"ssid","abstract":[{"type":"text","text":"The SSID of the WiFi network."}],"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"ssid","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/isShowingPDF":{"type":"topic","abstract":[{"type":"text","text":"Indicates whether the PDF view is showing."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"isShowingPDF"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"url":"\/documentation\/fueling\/scanview2\/isshowingpdf","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isShowingPDF","kind":"symbol","title":"isShowingPDF","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/dismiss":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"dismiss","kind":"identifier"},{"text":": ","kind":"text"},{"text":"DismissAction","preciseIdentifier":"s:7SwiftUI13DismissActionV","kind":"typeIdentifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dismiss","url":"\/documentation\/fueling\/scanview2\/dismiss","kind":"symbol","type":"topic","title":"dismiss","role":"symbol","abstract":[{"text":"The dismiss action from the environment.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/handleScan(result:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/handleScan(result:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"handleScan","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"result"},{"kind":"text","text":": "},{"preciseIdentifier":"s:s6ResultO","kind":"typeIdentifier","text":"Result"},{"text":"<","kind":"text"},{"text":"ScanResult","preciseIdentifier":"s:11CodeScanner10ScanResultV","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"ScanError","kind":"typeIdentifier","preciseIdentifier":"s:11CodeScanner9ScanErrorO"},{"text":">)","kind":"text"}],"url":"\/documentation\/fueling\/scanview2\/handlescan(result:)","type":"topic","title":"handleScan(result:)","abstract":[{"text":"Handles the scan result from the QR code scanner.","type":"text"}],"role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/dismiss2":{"url":"\/documentation\/fueling\/scanview2\/dismiss2","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"dismiss2"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI13DismissActionV","kind":"typeIdentifier","text":"DismissAction"}],"title":"dismiss2","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dismiss2","kind":"symbol","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Another dismiss action from the environment."}]},"doc://rpm.com.production.Scanner/documentation/Fueling/PressableButtonStyle":{"url":"\/documentation\/fueling\/pressablebuttonstyle","title":"PressableButtonStyle","abstract":[],"kind":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"PressableButtonStyle","kind":"identifier"}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"PressableButtonStyle"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PressableButtonStyle","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/userLongitude":{"title":"userLongitude","abstract":[{"type":"text","text":"The user’s longitude based on the last known location."}],"type":"topic","kind":"symbol","role":"symbol","url":"\/documentation\/fueling\/scanview2\/userlongitude","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userLongitude","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"userLongitude","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/isSaddleOrSwitchTankClick":{"kind":"symbol","type":"topic","role":"symbol","title":"isSaddleOrSwitchTankClick","abstract":[{"type":"text","text":"Indicates whether the click is for a saddle tank or switch tank."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isSaddleOrSwitchTankClick","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"isSaddleOrSwitchTankClick"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"url":"\/documentation\/fueling\/scanview2\/issaddleorswitchtankclick"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/assetId":{"title":"assetId","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"assetId","kind":"identifier"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/assetId","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Stores the asset ID of the scanned tank."}],"url":"\/documentation\/fueling\/scanview2\/assetid","kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/View-Implementations":{"title":"View Implementations","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/View-Implementations","role":"collectionGroup","type":"topic","url":"\/documentation\/fueling\/scanview2\/view-implementations","kind":"article"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/lm":{"type":"topic","abstract":[{"type":"text","text":"The location manager object."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"lm"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@M@Fueling@objc(cs)LocationManager","kind":"typeIdentifier","text":"LocationManager"}],"url":"\/documentation\/fueling\/scanview2\/lm","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/lm","kind":"symbol","title":"lm","role":"symbol"},"SecondView.png":{"identifier":"SecondView.png","type":"image","alt":"Fueling Icon","variants":[{"url":"\/images\/rpm.com.production.Scanner\/SecondView.png","traits":["1x","light"]}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ImagePicker":{"title":"ImagePicker","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ImagePicker","abstract":[{"text":"A view for picking images using the system’s image picker.","type":"text"}],"url":"\/documentation\/fueling\/imagepicker","type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"ImagePicker","kind":"identifier"}],"navigatorTitle":[{"text":"ImagePicker","kind":"identifier"}],"kind":"symbol","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ColorResource":{"abstract":[{"text":"A color resource.","type":"text"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"ColorResource","kind":"identifier"}],"title":"ColorResource","type":"topic","url":"\/documentation\/fueling\/colorresource","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"ColorResource"}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ColorResource"},"FirstView.png":{"identifier":"FirstView.png","type":"image","alt":"Fueling Icon","variants":[{"traits":["1x","light"],"url":"\/images\/rpm.com.production.Scanner\/FirstView.png"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView_Previews":{"url":"\/documentation\/fueling\/saddletankview_previews","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView_Previews","title":"SaddleTankView_Previews","abstract":[],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SaddleTankView_Previews"}],"navigatorTitle":[{"text":"SaddleTankView_Previews","kind":"identifier"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/isShowingData":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isShowingData","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"type":"topic","title":"isShowingData","url":"\/documentation\/fueling\/scanview2\/isshowingdata","abstract":[{"type":"text","text":"Indicates whether the data view is showing."}],"kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isShowingData","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/saddleTankFuelLevel":{"abstract":[{"text":"The fuel level of the saddle tank.","type":"text"}],"title":"saddleTankFuelLevel","kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"saddleTankFuelLevel"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"url":"\/documentation\/fueling\/scanview2\/saddletankfuellevel","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/saddleTankFuelLevel","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/PDFViewWrapper":{"role":"symbol","navigatorTitle":[{"text":"PDFViewWrapper","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/PDFViewWrapper","kind":"symbol","url":"\/documentation\/fueling\/pdfviewwrapper","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"PDFViewWrapper"}],"type":"topic","title":"PDFViewWrapper","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/rebootText":{"kind":"symbol","type":"topic","role":"symbol","title":"rebootText","abstract":[{"type":"text","text":"The reboot text displayed during the reboot countdown."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/rebootText","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"rebootText"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"url":"\/documentation\/fueling\/scanview2\/reboottext"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/init()":{"role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/init()","abstract":[],"title":"init()","fragments":[{"text":"init","kind":"identifier"},{"text":"()","kind":"text"}],"type":"topic","kind":"symbol","url":"\/documentation\/fueling\/scanview2\/init()"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2_Full_Code":{"type":"topic","abstract":[],"url":"\/documentation\/fueling\/scanview2_full_code","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2_Full_Code","kind":"article","title":"ScanView2_Full_Code","role":"article"},"doc://rpm.com.production.Scanner/documentation/Fueling/LoginView":{"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"LoginView","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"LoginView"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView","type":"topic","url":"\/documentation\/fueling\/loginview","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"A SwiftUI view for handling user login with username and password."}],"title":"LoginView"},"doc://rpm.com.production.Scanner/documentation/Fueling/LoginView_Previews":{"url":"\/documentation\/fueling\/loginview_previews","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LoginView_Previews","title":"LoginView_Previews","abstract":[],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"LoginView_Previews"}],"navigatorTitle":[{"text":"LoginView_Previews","kind":"identifier"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/dispenseTankType":{"kind":"symbol","type":"topic","role":"symbol","title":"dispenseTankType","abstract":[{"type":"text","text":"The type of the dispense tank."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankType","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"dispenseTankType"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"url":"\/documentation\/fueling\/scanview2\/dispensetanktype"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/dispenseTankFuelType":{"type":"topic","abstract":[{"type":"text","text":"The fuel type for the dispense tank."}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dispenseTankFuelType"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"url":"\/documentation\/fueling\/scanview2\/dispensetankfueltype","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankFuelType","kind":"symbol","title":"dispenseTankFuelType","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/coreDataManager":{"kind":"symbol","type":"topic","role":"symbol","title":"coreDataManager","abstract":[{"type":"text","text":"The core data manager from the environment."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/coreDataManager","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"coreDataManager","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:7Fueling15CoreDataManagerC","text":"CoreDataManager","kind":"typeIdentifier"}],"url":"\/documentation\/fueling\/scanview2\/coredatamanager"},"doc://rpm.com.production.Scanner/documentation/Fueling/SaddleTankView":{"kind":"symbol","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SaddleTankView"}],"navigatorTitle":[{"kind":"identifier","text":"SaddleTankView"}],"abstract":[{"type":"text","text":"A view that displays information about the saddle tank, including its type, fuel level, and capacity."}],"url":"\/documentation\/fueling\/saddletankview","title":"SaddleTankView","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/SaddleTankView"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/isLoading":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isLoading","abstract":[{"text":"Indicates whether the app is loading.","type":"text"}],"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isLoading","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"}],"role":"symbol","kind":"symbol","type":"topic","url":"\/documentation\/fueling\/scanview2\/isloading","title":"isLoading"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/networkMonitor":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/networkMonitor","role":"symbol","url":"\/documentation\/fueling\/scanview2\/networkmonitor","kind":"symbol","title":"networkMonitor","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"networkMonitor","kind":"identifier"},{"text":": ","kind":"text"},{"text":"NetworkMonitor","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling14NetworkMonitorC"}],"type":"topic","abstract":[{"text":"The network monitor from the environment.","type":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/isShowingScanner":{"type":"topic","abstract":[{"type":"text","text":"Indicates whether the QR code scanner is showing."}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"isShowingScanner"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/fueling\/scanview2\/isshowingscanner","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/isShowingScanner","kind":"symbol","title":"isShowingScanner","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/partNumber":{"kind":"symbol","type":"topic","role":"symbol","title":"partNumber","abstract":[{"type":"text","text":"The part number."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/partNumber","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"partNumber","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"url":"\/documentation\/fueling\/scanview2\/partnumber"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/dispenseTankID":{"type":"topic","abstract":[{"type":"text","text":"The ID of the dispense tank."}],"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"kind":"identifier","text":"dispenseTankID"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"url":"\/documentation\/fueling\/scanview2\/dispensetankid","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/dispenseTankID","kind":"symbol","title":"dispenseTankID","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/setupTankValuesWithPayLoad(payload:webSocket:)":{"kind":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setupTankValuesWithPayLoad","kind":"identifier"},{"text":"(","kind":"text"},{"text":"payload","kind":"externalParam"},{"kind":"text","text":": ["},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"], ","kind":"text"},{"text":"webSocket","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"WebSocketViewModel","kind":"typeIdentifier","preciseIdentifier":"s:7Fueling18WebSocketViewModelC"},{"kind":"text","text":")"}],"title":"setupTankValuesWithPayLoad(payload:webSocket:)","url":"\/documentation\/fueling\/scanview2\/setuptankvalueswithpayload(payload:websocket:)","role":"symbol","abstract":[{"text":"Sets up the tank values using the given payload.","type":"text"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/setupTankValuesWithPayLoad(payload:webSocket:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/remainingSeconds":{"kind":"symbol","type":"topic","role":"symbol","title":"remainingSeconds","abstract":[{"type":"text","text":"Stores the remaining seconds for the reboot countdown."}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/remainingSeconds","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"remainingSeconds","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sd","text":"Double","kind":"typeIdentifier"}],"url":"\/documentation\/fueling\/scanview2\/remainingseconds"},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/userLatitude":{"url":"\/documentation\/fueling\/scanview2\/userlatitude","role":"symbol","type":"topic","abstract":[{"text":"The user’s latitude based on the last known location.","type":"text"}],"kind":"symbol","title":"userLatitude","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/userLatitude","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"userLatitude","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/NonTaggedView":{"abstract":[{"text":"A view that handles the scenario when the machine being fueled is not tagged.","type":"text"},{"type":"text","text":" "},{"text":"Allows the user to take a picture and provide asset information.","type":"text"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NonTaggedView","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"NonTaggedView","kind":"identifier"}],"title":"NonTaggedView","url":"\/documentation\/fueling\/nontaggedview","navigatorTitle":[{"kind":"identifier","text":"NonTaggedView"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/colorScheme":{"url":"\/documentation\/fueling\/scanview2\/colorscheme","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/colorScheme","type":"topic","abstract":[{"type":"text","text":"The color scheme from the environment."}],"kind":"symbol","title":"colorScheme","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"colorScheme"},{"text":": ","kind":"text"},{"text":"ColorScheme","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI11ColorSchemeO"}]},"doc://rpm.com.production.Scanner/s8SendableP":{"identifier":"doc:\/\/rpm.com.production.Scanner\/s8SendableP","type":"unresolvable","title":"Swift.Sendable"}}}