async function createType_LogRecord() {
    const capId = await createCapabilityUnlessExists('LogRecord', [
        { name: 'latitude',  dataType: DataType.FLOAT },
        { name: 'longitude', dataType: DataType.FLOAT },
        { name: 'speed',     dataType: DataType.FLOAT },
        // The time stamp of the measurement
        { name: 'dateTime',  dataType: DataType.DATE }
    ]);
    return createSensorTypeUnlessExists('LogRecord', capId);
}
/**
 * Create the SAP IoT data type to which the data of Geotab typeName 'LogRecord' are mapped.
 *
 * The data type is specified according to the SAP IoT Service rules as a Capability and a Sensor Type
 * providing the corresponding measurement data.
 */
Create the SAP IoT data type to which the data of Geotab typeName 'LogRecord' are mapped.
The data type is specified according to the SAP IoT Service rules as a Capability and a Sensor Type
providing the corresponding measurement data.
Create the SAP IoT data type to which the data of Geotab typeName ' LogRecord ' are mapped . The data type is specified according to the SAP IoT Service rules as a Capability and a Sensor Type providing the corresponding measurement data .
async function createType_LogRecord() {
    const capId = await createCapabilityUnlessExists('LogRecord', [
        { name: 'latitude',  dataType: DataType.FLOAT },
        { name: 'longitude', dataType: DataType.FLOAT },
        { name: 'speed',     dataType: DataType.FLOAT },
        { name: 'dateTime',  dataType: DataType.DATE }
    ]);
    return createSensorTypeUnlessExists('LogRecord', capId);
}
async function createType_LogRecord ( ) { const capId = await createCapabilityUnlessExists ( 'LogRecord' , [ { name : 'latitude' , dataType : DataType . FLOAT } , { name : 'longitude' , dataType : DataType . FLOAT } , { name : 'speed' , dataType : DataType . FLOAT } , { name : 'dateTime' , dataType : DataType . DATE } ] ) ; return createSensorTypeUnlessExists ( 'LogRecord' , capId ) ; }
Create the SAP IoT data type to which the data of Geotab typeName 'LogRecord' are mapped.
Create the SAP IoT data type to which the data of Geotab typeName ' LogRecord ' are mapped .
// The time stamp of the measurement