bassgRedaptivePrismExt icon

bassgRedaptivePrismExt

Bassg Redaptive Prism project
bassgRedaptivePrismExtAxon funcs

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 0 watchers.

v3.0.27.1

checkPMInitializationStatus
checkPMInitializationStatus()
createReactivePrismTables
createReactivePrismTables(conn)
Fantom signature:
@Axon static Void createReactivePrismTables(Ref conn)
initializePMFileToSqliteJob
initializePMFileToSqliteJob()

This axon function will create a job to sync meter reading from file to sqlite db. It internally calls initializePMSQLConnector() axon function to get the connector record ID.

So if connector this not created and this axon function is called then it will create a new sql connector as well.

Example:

initializePMFileToSqliteJob()
initializePMSQLConnector
initializePMSQLConnector()

This axon function will create a sql connector to connect to sqlite db. The URI to the db will be /opt/skyspark/powermeter.db. So please make sure that this sqlite db file is available before testing the connector.

If connector is already create it won't create one more connector but just return the record of existing connector. Example:

initializePMSQLConnector()
initializePMSetup
initializePMSetup()
initializePMSqliteToFolioJob
initializePMSqliteToFolioJob()

This axon function will create a job to sync data from sqlite db to folio db. It internally calls initializePMSQLConnector() axon function to get the connector record ID.

So if connector this not created and this axon function is called then it will create a new sql connector as well.

Example:

initializePMSqliteToFolioJob()
removeReactivePrismTables
removeReactivePrismTables(conn)
Fantom signature:
@Axon static Void removeReactivePrismTables(Ref conn)
syncFileToSqlite
syncFileToSqlite(conn)
Fantom signature:
@Axon static Void syncFileToSqlite(Ref conn)
syncSqliteToFolioForExistingPoints
syncSqliteToFolioForExistingPoints(conn)
Fantom signature:
@Axon static Grid syncSqliteToFolioForExistingPoints(Ref conn)
Published by BASSG

Products & Services by BASSG

Packages by BASSG

Free packages