forked from ddrilling/asb_cloud_front
Убрал картинки и захардкож
This commit is contained in:
parent
a56ca1671a
commit
fba38ed023
@ -8,10 +8,6 @@ import {CustomColumn} from '../components/CustomColumn'
|
|||||||
import {UserOfWells} from '../components/UserOfWells'
|
import {UserOfWells} from '../components/UserOfWells'
|
||||||
import {ModeDisplay} from '../components/ModeDisplay'
|
import {ModeDisplay} from '../components/ModeDisplay'
|
||||||
import {Display} from '../components/Display'
|
import {Display} from '../components/Display'
|
||||||
import SpinPicEnabled from "../images/SpinEnabled.png"
|
|
||||||
import SpinPicDisabled from "../images/SpinDisabled.png"
|
|
||||||
import MomentStabPicEnabled from "../images/DempherOn.png"
|
|
||||||
import MomentStabPicDisabled from "../images/DempherOff.png"
|
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import {Subscribe} from '../services/signalr'
|
import {Subscribe} from '../services/signalr'
|
||||||
import {DataService, MessageService} from '../services/api'
|
import {DataService, MessageService} from '../services/api'
|
||||||
@ -34,8 +30,6 @@ const blockSpeedGroup = {
|
|||||||
yDisplay: false,
|
yDisplay: false,
|
||||||
linePv: {label: "blockSpeed", units: 'м/ч', xAccessorName: "blockSpeed", yAccessorName: "date", color: '#0a0'},
|
linePv: {label: "blockSpeed", units: 'м/ч', xAccessorName: "blockSpeed", yAccessorName: "date", color: '#0a0'},
|
||||||
lineSp: {label: "blockSpeedSp", units: 'м/ч', xAccessorName: "blockSpeedSp", yAccessorName: "date", color: '#0a0'},
|
lineSp: {label: "blockSpeedSp", units: 'м/ч', xAccessorName: "blockSpeedSp", yAccessorName: "date", color: '#0a0'},
|
||||||
lineAvg: {label: "blockSpeedAvg", units: 'м/ч', xAccessorName: "blockSpeed", yAccessorName: "date", color: '#38C3FF', calc:(v) => 14, dash},
|
|
||||||
lineMax: {label: "blockSpeedMax", units: 'м/ч', xAccessorName: "blockSpeed", yAccessorName: "date", color: '#38C3FF', calc:(v) => 23, dash},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const pressureGroup = {
|
const pressureGroup = {
|
||||||
@ -279,9 +273,6 @@ export default function TelemetryView(props) {
|
|||||||
</Select>
|
</Select>
|
||||||
</Col>
|
</Col>
|
||||||
<span style={{flexGrow: 1}}> </span>
|
<span style={{flexGrow: 1}}> </span>
|
||||||
<img src={saubData[saubData.length - 1]?.isMomentStabEnabled ? MomentStabPicEnabled : MomentStabPicDisabled} style={{marginRight: "15px"}}/>
|
|
||||||
<img src={saubData[saubData.length - 1]?.isSpinEnabled ? SpinPicEnabled : SpinPicDisabled} style={{marginRight: "15px"}}/>
|
|
||||||
<h2 style={{marginBottom: 0, marginRight: "15px",fontWeight: "bold", color: saubData[saubData.length - 1]?.mseEnabled == 24968 ? "green" : "lightgrey"}}>MSE</h2>
|
|
||||||
<Col>
|
<Col>
|
||||||
<UserOfWells data={saubData}/>
|
<UserOfWells data={saubData}/>
|
||||||
</Col>
|
</Col>
|
||||||
|
Loading…
Reference in New Issue
Block a user