import * as classNames from "classnames";
import {observer} from "mobx-react";
import * as React from "react";
import {Header, Item} from "semantic-ui-react";
import {ProgramTable, RunSectionForm, SectionTable} from ".";
import {SprinklersDevice} from "../sprinklers";
import FontAwesome = require("react-fontawesome");
const ConnectionState = ({connected}: { connected: boolean }) =>
{connected ? "Connected" : "Disconnected"}
;
@observer
export default class DeviceView extends React.PureComponent<{ device: SprinklersDevice }, {}> {
render() {
const {id, connected, sections, programs} = this.props.device;
return (
-
("app/images/raspberry_pi.png")}/>
);
}
}