|
Bogdan Timofte
authored
a week ago
|
1
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
|
2
|
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="16119" systemVersion="19E287" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithCloudKit="YES" userDefinedModelVersionIdentifier="">
|
|
|
3
|
<entity name="Entity" representedClassName="Entity" syncable="YES" codeGenerationType="class"/>
|
|
|
4
|
|
|
|
5
|
<entity name="Observer" representedClassName="Observer" syncable="YES" codeGenerationType="class">
|
|
|
6
|
<attribute name="deviceID" optional="YES" attributeType="String"/>
|
|
|
7
|
<attribute name="deviceName" optional="YES" attributeType="String"/>
|
|
|
8
|
<attribute name="lastKeepalive" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
9
|
<attribute name="bluetoothEnabled" optional="YES" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES"/>
|
|
|
10
|
</entity>
|
|
|
11
|
|
|
|
12
|
<entity name="MeterObservation" representedClassName="MeterObservation" syncable="YES" codeGenerationType="class">
|
|
|
13
|
<attribute name="observerDeviceID" optional="YES" attributeType="String"/>
|
|
|
14
|
<attribute name="meterMAC" optional="YES" attributeType="String"/>
|
|
|
15
|
<attribute name="lastSeen" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
16
|
<attribute name="isConnected" optional="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
|
|
17
|
<attribute name="modelType" optional="YES" attributeType="String"/>
|
|
|
18
|
<attribute name="peripheralName" optional="YES" attributeType="String"/>
|
|
|
19
|
<attribute name="meterName" optional="YES" attributeType="String"/>
|
|
|
20
|
<attribute name="tc66TemperatureUnit" optional="YES" attributeType="String"/>
|
|
|
21
|
<attribute name="connectionEstablishedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
22
|
<attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
23
|
</entity>
|
|
|
24
|
|
|
|
25
|
<entity name="DeviceSettings" representedClassName="DeviceSettings" syncable="YES" codeGenerationType="class">
|
|
|
26
|
<attribute name="macAddress" optional="YES" attributeType="String"/>
|
|
|
27
|
<attribute name="meterName" optional="YES" attributeType="String"/>
|
|
|
28
|
<attribute name="tc66TemperatureUnit" optional="YES" attributeType="String"/>
|
|
|
29
|
<attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
30
|
<attribute name="modelType" optional="YES" attributeType="String"/>
|
|
|
31
|
<attribute name="connectedByDeviceID" optional="YES" attributeType="String"/>
|
|
|
32
|
<attribute name="connectedByDeviceName" optional="YES" attributeType="String"/>
|
|
|
33
|
<attribute name="connectedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
34
|
<attribute name="connectedExpiryAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
35
|
<attribute name="lastSeenAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
36
|
<attribute name="lastSeenByDeviceID" optional="YES" attributeType="String"/>
|
|
|
37
|
<attribute name="lastSeenByDeviceName" optional="YES" attributeType="String"/>
|
|
|
38
|
<attribute name="lastSeenPeripheralName" optional="YES" attributeType="String"/>
|
|
|
39
|
</entity>
|
|
|
40
|
|
|
|
41
|
<elements>
|
|
|
42
|
<element name="Entity" positionX="-63" positionY="-18" width="128" height="43"/>
|
|
|
43
|
<element name="Observer" positionX="-200" positionY="100" width="128" height="103"/>
|
|
|
44
|
<element name="MeterObservation" positionX="0" positionY="100" width="128" height="193"/>
|
|
|
45
|
<element name="DeviceSettings" positionX="160" positionY="-18" width="128" height="103"/>
|
|
|
46
|
</elements>
|
|
|
47
|
</model>
|