This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react"; | |
| import { StyleSheet, Text, TextInput, Button, WebView, View, Platform } from "react-native"; | |
| import { Icon } from "react-native-elements"; | |
| import { NavigationActions, StackActions } from "react-navigation"; | |
| import ChartView from "react-native-highcharts"; | |
| import { ScreenOrientation } from "expo"; | |
| import PivotCircle from "../../components/PivotCircle"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2018-11-15 11:42:22 140571112892160 [Note] WSREP: Quorum results: | |
| version = 4, | |
| component = PRIMARY, | |
| conf_id = 69, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| async function tryByMonitor(sensorObject, monitor){ | |
| const sensorQuery = sensorObject.query() | |
| .select('*') | |
| .where('monitor', monitor) | |
| .limit(1) | |
| .then(function (queryResult){ | |
| if (! queryResult.length ) return null | |
| console.log(queryResult[0].monitor + " from function"); | |
| return queryResult[0]; | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| render() { | |
| if(stores.systemStore.preferToScroll == true){ | |
| return( | |
| <View> | |
| {this._renderRegisterDeviceModal} | |
| <FlatList | |
| data={stores.databaseStore.sites.slice()} | |
| keyExtractor={ (item, index) => item.id} | |
| key = {( stores.systemStore.preferToScroll ) ? 1 : 0} | |
| numColumns={1} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Modal | |
| isVisible={this.state.confirmModalVisible} | |
| backdropColor={'orange'} | |
| backdropOpacity={1} | |
| animationType={'slide'} | |
| > | |
| <View > | |
| <Text> {this.state.activeCommandText} </Text> | |
| <View style={styles.row} > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { NavigationActions, DrawerNavigator } from 'react-navigation'; | |
| import RootNavigation from './RootNavigation'; | |
| import { Text } from 'react-native'; | |
| import { Icon, Button } from 'react-native-elements'; | |
| import SiteDetailsScreen from '../screens/SiteDetailsScreen'; | |
| import SiteHistoryScreen from '../screens/SiteHistoryScreen'; | |
| import SiteMessageHistoryScreen from '../screens/SiteMessageHistoryScreen'; |
NewerOlder