Added MSE, Spin and Torque indicators (with raw style)

This commit is contained in:
KharchenkoVV 2021-09-13 17:31:09 +05:00
parent 945b119500
commit f06641a1d6

View File

@ -12,6 +12,11 @@ import {Subscribe} from '../../services/signalr'
import {DataService} from '../../services/api'
import {invokeWebApiWrapperAsync} from '../../components/factory'
import MomentStabPicEnabled from "../../images/DempherOn.png"
import MomentStabPicDisabled from "../../images/DempherOff.png"
import SpinPicEnabled from "../../images/SpinEnabled.png"
import SpinPicDisabled from "../../images/SpinDisabled.png"
import '../../styles/message.css'
const {Option} = Select
@ -175,6 +180,9 @@ export default function TelemetryView({idWell}) {
</Select>
</Col>
<span style={{flexGrow: 1}}>&nbsp;</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>
<UserOfWells data={saubData}/>
</Col>