2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00
fhem-mirror/fhem/www/frontend/app/model/TableDataModel.js
johannnes e9ec74a1f1 initial upload of new Javascript Frontend based on ExtJS (by Johannes)
- contains ExtJS Library 4.1.1a, together with css and images
  - is related to the module 93_DbLog.pm, which holds some functions used by the frontend

git-svn-id: https://svn.fhem.de/fhem/trunk@2767 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-19 18:54:42 +00:00

37 lines
685 B
JavaScript

/**
* Model for DatabaseTables
*/
Ext.define('FHEM.model.TableDataModel', {
extend: 'Ext.data.Model',
fields: [
{
name: 'TIMESTAMP',
type: 'date',
dateFormat: "Y-m-d H:i:s"
},
{
name: 'DEVICE',
type: 'text'
},
{
name: 'TYPE',
type: 'text'
},
{
name: 'EVENT',
type: 'text'
},
{
name: 'READING',
type: 'text'
},
{
name: 'VALUE',
type: 'text'
},
{
name: 'UNIT',
type: 'text'
}
]
});