|
- {"relationshipsSections":[{"type":"conformsTo","identifiers":["doc:\/\/rpm.com.production.Scanner\/7Combine16ObservableObjectP","doc:\/\/rpm.com.production.Scanner\/s8SendableP"],"kind":"relationships","title":"Conforms To"}],"seeAlsoSections":[{"title":"ViewModels","generated":true,"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ConfigurationViewModel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/WebSocketViewModel","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NetworkMonitor","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NotificationManager","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader"],"anchor":"ViewModels"}],"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling"]]},"topicSections":[{"anchor":"Initializers","generated":true,"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/init()"],"title":"Initializers"},{"generated":true,"title":"Instance Properties","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/alertMessage","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/alertTitle","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/container","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/dispenseTankFuelType","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/filteringAsset","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/firstPilot","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/fuelingsArray","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/isConnected","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/isDataSendToServerTestVariable","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/isShowingAlert","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/pilotTankArray","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/preventAlertShowInActiveMode","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/response","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/responseCode","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/sentDataToServer","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/ssid","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/webSocket"],"anchor":"Instance-Properties"},{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addFueling(amount:isOverride:tank:latitude:longitude:userId:imageData:context:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addFueling(amount:isOverride:tank:userId:context:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addPilotTanks()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addTank(capacity:fuelType:number:context:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/checkAndSendData()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/checkInternetConnectivity()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/closeControllerWiFi(ssid:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/delay(seconds:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/deleteData()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/fetchData()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/fetchPilotTankArray(filteringAsset:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/saveData(context:)","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/seedData()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/sendOverWiFi()","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/sendToServer()"],"anchor":"Instance-Methods","title":"Instance Methods","generated":true},{"identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/shared"],"anchor":"Type-Properties","title":"Type Properties","generated":true},{"anchor":"Default-Implementations","identifiers":["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/ObservableObject-Implementations"],"generated":true,"title":"Default Implementations"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/coredatamanager"]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager","interfaceLanguage":"swift"},"metadata":{"title":"CoreDataManager","symbolKind":"class","navigatorTitle":[{"text":"CoreDataManager","kind":"identifier"}],"externalID":"s:7Fueling15CoreDataManagerC","modules":[{"name":"Fueling"}],"role":"symbol","roleHeading":"Class","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"CoreDataManager","kind":"identifier"}]},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["iOS"],"languages":["swift"],"tokens":[{"text":"@","kind":"attribute"},{"text":"MainActor","kind":"attribute","preciseIdentifier":"s:ScM"},{"text":" ","kind":"text"},{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CoreDataManager","kind":"identifier"}]}]}],"kind":"symbol","references":{"doc://rpm.com.production.Scanner/7Combine16ObservableObjectP":{"identifier":"doc:\/\/rpm.com.production.Scanner\/7Combine16ObservableObjectP","type":"unresolvable","title":"Combine.ObservableObject"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/addPilotTanks()":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addPilotTanks()","title":"addPilotTanks()","type":"topic","url":"\/documentation\/fueling\/coredatamanager\/addpilottanks()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"addPilotTanks"},{"text":"()","kind":"text"}],"abstract":[{"type":"text","text":"Adds pilot tanks to Core Data."}],"kind":"symbol","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/pilotTankArray":{"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"pilotTankArray","kind":"identifier"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:@M@Fueling@objc(cs)PilotTank","text":"PilotTank","kind":"typeIdentifier"},{"text":"]","kind":"text"}],"type":"topic","title":"pilotTankArray","url":"\/documentation\/fueling\/coredatamanager\/pilottankarray","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/pilotTankArray","abstract":[{"text":"Array of PilotTank objects fetched from Core Data.","type":"text"}],"kind":"symbol","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/init()":{"abstract":[],"url":"\/documentation\/fueling\/coredatamanager\/init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/init()","kind":"symbol","title":"init()","type":"topic","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/addFueling(amount:isOverride:tank:userId:context:)":{"abstract":[{"text":"Adds a fueling record to Core Data without latitude, longitude, or image data.","type":"text"}],"title":"addFueling(amount:isOverride:tank:userId:context:)","url":"\/documentation\/fueling\/coredatamanager\/addfueling(amount:isoverride:tank:userid:context:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"addFueling"},{"kind":"text","text":"("},{"text":"amount","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sd","kind":"typeIdentifier","text":"Double"},{"kind":"text","text":", "},{"text":"isOverride","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":", "},{"kind":"externalParam","text":"tank"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"text":"], ","kind":"text"},{"text":"userId","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"context","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSManagedObjectContext","text":"NSManagedObjectContext","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol","role":"symbol","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addFueling(amount:isOverride:tank:userId:context:)"},"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/CoreDataManager/isConnected":{"abstract":[{"text":"Published property indicating whether the device is connected.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"isConnected"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/isConnected","title":"isConnected","url":"\/documentation\/fueling\/coredatamanager\/isconnected","kind":"symbol","role":"symbol","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/isShowingAlert":{"fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isShowingAlert","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"title":"isShowingAlert","type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/isShowingAlert","abstract":[{"type":"text","text":"Published property indicating whether an alert is being shown."}],"url":"\/documentation\/fueling\/coredatamanager\/isshowingalert"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/ObservableObject-Implementations":{"url":"\/documentation\/fueling\/coredatamanager\/observableobject-implementations","title":"ObservableObject Implementations","abstract":[],"kind":"article","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/ObservableObject-Implementations","role":"collectionGroup"},"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/CoreDataManager/closeControllerWiFi(ssid:)":{"url":"\/documentation\/fueling\/coredatamanager\/closecontrollerwifi(ssid:)","abstract":[{"text":"Closes the connection to the specified WiFi network.","type":"text"}],"title":"closeControllerWiFi(ssid:)","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/closeControllerWiFi(ssid:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"closeControllerWiFi","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"ssid"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":")","kind":"text"}],"role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/responseCode":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"responseCode"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"}],"type":"topic","title":"responseCode","url":"\/documentation\/fueling\/coredatamanager\/responsecode","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/responseCode","kind":"symbol","abstract":[{"type":"text","text":"Published property for the response code."}],"role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/seedData()":{"abstract":[{"text":"Seeds the database with initial data.","type":"text"}],"kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"seedData"},{"text":"()","kind":"text"}],"title":"seedData()","type":"topic","url":"\/documentation\/fueling\/coredatamanager\/seeddata()","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/seedData()","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/preventAlertShowInActiveMode":{"kind":"symbol","abstract":[{"text":"Published property indicating whether to prevent alert showing in active mode.","type":"text"}],"role":"symbol","url":"\/documentation\/fueling\/coredatamanager\/preventalertshowinactivemode","type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/preventAlertShowInActiveMode","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"preventAlertShowInActiveMode","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"title":"preventAlertShowInActiveMode"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/delay(seconds:)":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"delay","kind":"identifier"},{"text":"(","kind":"text"},{"text":"seconds","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") "},{"text":"async","kind":"keyword"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/delay(seconds:)","url":"\/documentation\/fueling\/coredatamanager\/delay(seconds:)","type":"topic","title":"delay(seconds:)","abstract":[{"type":"text","text":"Delays the execution by a specified number of seconds."}],"kind":"symbol","role":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/ssid":{"role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"text":"ssid","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"title":"ssid","abstract":[{"text":"AppStorage property for the SSID of the WiFi network.","type":"text"}],"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/ssid","kind":"symbol","url":"\/documentation\/fueling\/coredatamanager\/ssid"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/dispenseTankFuelType":{"role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/dispenseTankFuelType","kind":"symbol","url":"\/documentation\/fueling\/coredatamanager\/dispensetankfueltype","abstract":[{"type":"text","text":"AppStorage property for the dispense tank fuel type."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"dispenseTankFuelType","kind":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"title":"dispenseTankFuelType"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/checkAndSendData()":{"url":"\/documentation\/fueling\/coredatamanager\/checkandsenddata()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"checkAndSendData"},{"kind":"text","text":"() "},{"text":"async","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"}],"title":"checkAndSendData()","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/checkAndSendData()","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Checks internet connectivity and sends data if connected."}]},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/container":{"role":"symbol","fragments":[{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"text":"container","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"NSPersistentContainer","preciseIdentifier":"c:objc(cs)NSPersistentContainer"}],"title":"container","abstract":[],"type":"topic","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/container","url":"\/documentation\/fueling\/coredatamanager\/container"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/isDataSendToServerTestVariable":{"kind":"symbol","abstract":[{"text":"Published property for testing whether data has been sent to the server.","type":"text"}],"role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/isDataSendToServerTestVariable","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"isDataSendToServerTestVariable","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"title":"isDataSendToServerTestVariable","type":"topic","url":"\/documentation\/fueling\/coredatamanager\/isdatasendtoservertestvariable"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/addFueling(amount:isOverride:tank:latitude:longitude:userId:imageData:context:)":{"url":"\/documentation\/fueling\/coredatamanager\/addfueling(amount:isoverride:tank:latitude:longitude:userid:imagedata:context:)","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addFueling(amount:isOverride:tank:latitude:longitude:userId:imageData:context:)","type":"topic","abstract":[{"text":"Adds a fueling record to Core Data.","type":"text"}],"kind":"symbol","title":"addFueling(amount:isOverride:tank:latitude:longitude:userId:imageData:context:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"addFueling"},{"kind":"text","text":"("},{"text":"amount","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sd","kind":"typeIdentifier","text":"Double"},{"text":", ","kind":"text"},{"text":"isOverride","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","kind":"typeIdentifier","text":"Bool"},{"text":", ","kind":"text"},{"text":"tank","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"], "},{"text":"latitude","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"longitude"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"userId"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"imageData"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation4DataV","text":"Data","kind":"typeIdentifier"},{"kind":"text","text":"?, "},{"text":"context","kind":"externalParam"},{"kind":"text","text":": "},{"text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext","kind":"typeIdentifier"},{"text":")","kind":"text"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/sentDataToServer":{"abstract":[{"text":"Published property indicating whether data has been sent to the server.","type":"text"}],"type":"topic","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"sentDataToServer"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"}],"title":"sentDataToServer","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/sentDataToServer","kind":"symbol","url":"\/documentation\/fueling\/coredatamanager\/sentdatatoserver"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/alertMessage":{"type":"topic","url":"\/documentation\/fueling\/coredatamanager\/alertmessage","kind":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/alertMessage","abstract":[{"text":"Published property for the alert message.","type":"text"}],"title":"alertMessage","role":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"alertMessage"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/response":{"fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"response","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"}],"abstract":[{"text":"Published property for the response status.","type":"text"}],"role":"symbol","url":"\/documentation\/fueling\/coredatamanager\/response","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/response","type":"topic","kind":"symbol","title":"response"},"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/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/CoreDataManager/firstPilot":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"firstPilot","kind":"identifier"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":"]","kind":"text"}],"url":"\/documentation\/fueling\/coredatamanager\/firstpilot","kind":"symbol","abstract":[{"text":"Published property for the first pilot data.","type":"text"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/firstPilot","title":"firstPilot","type":"topic"},"doc://rpm.com.production.Scanner/s8SendableP":{"identifier":"doc:\/\/rpm.com.production.Scanner\/s8SendableP","title":"Swift.Sendable","type":"unresolvable"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/fetchData()":{"kind":"symbol","title":"fetchData()","type":"topic","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/fetchData()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"fetchData"},{"text":"()","kind":"text"}],"url":"\/documentation\/fueling\/coredatamanager\/fetchdata()","abstract":[{"type":"text","text":"Fetches all fueling data from Core Data."}]},"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/CoreDataManager/alertTitle":{"kind":"symbol","title":"alertTitle","type":"topic","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/alertTitle","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"alertTitle","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"url":"\/documentation\/fueling\/coredatamanager\/alerttitle","abstract":[{"type":"text","text":"Published property for the alert title."}]},"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/CoreDataManager/checkInternetConnectivity()":{"type":"topic","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/checkInternetConnectivity()","abstract":[{"text":"Checks internet connectivity.","type":"text"}],"kind":"symbol","url":"\/documentation\/fueling\/coredatamanager\/checkinternetconnectivity()","title":"checkInternetConnectivity()","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"checkInternetConnectivity"},{"text":"() ","kind":"text"},{"kind":"keyword","text":"async"},{"text":" -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}]},"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/CoreDataManager/fuelingsArray":{"title":"fuelingsArray","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/fuelingsArray","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"fuelingsArray","kind":"identifier"},{"kind":"text","text":": ["},{"preciseIdentifier":"c:@M@Fueling@objc(cs)FuelingTest","text":"FuelingTest","kind":"typeIdentifier"},{"kind":"text","text":"]"}],"url":"\/documentation\/fueling\/coredatamanager\/fuelingsarray","role":"symbol","type":"topic","abstract":[{"text":"Array of FuelingTest objects fetched from Core Data.","type":"text"}],"kind":"symbol"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/sendOverWiFi()":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"sendOverWiFi"},{"text":"()","kind":"text"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/sendOverWiFi()","title":"sendOverWiFi()","kind":"symbol","url":"\/documentation\/fueling\/coredatamanager\/sendoverwifi()","type":"topic","role":"symbol","abstract":[{"type":"text","text":"Sends data over WiFi."}]},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/filteringAsset":{"role":"symbol","kind":"symbol","abstract":[{"text":"Published property for filtering asset.","type":"text"}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"filteringAsset","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"}],"title":"filteringAsset","url":"\/documentation\/fueling\/coredatamanager\/filteringasset","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/filteringAsset"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/saveData(context:)":{"url":"\/documentation\/fueling\/coredatamanager\/savedata(context:)","kind":"symbol","title":"saveData(context:)","abstract":[{"text":"Saves the data to Core Data.","type":"text"}],"type":"topic","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/saveData(context:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"saveData","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"context"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSManagedObjectContext","text":"NSManagedObjectContext"},{"kind":"text","text":")"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/sendToServer()":{"kind":"symbol","abstract":[{"type":"text","text":"Sends fueling data to the server."}],"role":"symbol","title":"sendToServer()","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/sendToServer()","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"sendToServer","kind":"identifier"},{"text":"() ","kind":"text"},{"text":"async","kind":"keyword"}],"url":"\/documentation\/fueling\/coredatamanager\/sendtoserver()","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/webSocket":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/webSocket","type":"topic","abstract":[{"type":"text","text":"EnvironmentObject for the WebSocket view model."}],"role":"symbol","title":"webSocket","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"webSocket"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"WebSocketViewModel","preciseIdentifier":"s:7Fueling18WebSocketViewModelC"}],"kind":"symbol","url":"\/documentation\/fueling\/coredatamanager\/websocket"},"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/CoreDataManager/fetchPilotTankArray(filteringAsset:)":{"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"fetchPilotTankArray","kind":"identifier"},{"text":"(","kind":"text"},{"text":"filteringAsset","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":")","kind":"text"}],"url":"\/documentation\/fueling\/coredatamanager\/fetchpilottankarray(filteringasset:)","kind":"symbol","abstract":[{"text":"Fetches the pilot tank array based on the filtering asset.","type":"text"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/fetchPilotTankArray(filteringAsset:)","title":"fetchPilotTankArray(filteringAsset:)","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/addTank(capacity:fuelType:number:context:)":{"kind":"symbol","abstract":[{"text":"Adds a tank record to Core Data.","type":"text"}],"role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/addTank(capacity:fuelType:number:context:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"addTank","kind":"identifier"},{"text":"(","kind":"text"},{"text":"capacity","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"text":", ","kind":"text"},{"text":"fuelType","kind":"externalParam"},{"kind":"text","text":": "},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"number"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"context","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"c:objc(cs)NSManagedObjectContext","text":"NSManagedObjectContext","kind":"typeIdentifier"},{"kind":"text","text":")"}],"title":"addTank(capacity:fuelType:number:context:)","type":"topic","url":"\/documentation\/fueling\/coredatamanager\/addtank(capacity:fueltype:number:context:)"},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/shared":{"url":"\/documentation\/fueling\/coredatamanager\/shared","kind":"symbol","title":"shared","abstract":[],"type":"topic","role":"symbol","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/shared","fragments":[{"text":"static","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"keyword","text":"let"},{"text":" ","kind":"text"},{"kind":"identifier","text":"shared"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7Fueling15CoreDataManagerC","text":"CoreDataManager"}]},"doc://rpm.com.production.Scanner/documentation/Fueling/CoreDataManager/deleteData()":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"deleteData","kind":"identifier"},{"kind":"text","text":"()"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/CoreDataManager\/deleteData()","title":"deleteData()","type":"topic","url":"\/documentation\/fueling\/coredatamanager\/deletedata()","abstract":[{"type":"text","text":"Deletes all fueling data from Core Data."}],"kind":"symbol","role":"symbol"}}}
|