forked from ddrilling/asb_cloud_front
Added MSE, Spin and Torque indicators (with raw style)
This commit is contained in:
parent
945b119500
commit
f06641a1d6
@ -12,6 +12,11 @@ import {Subscribe} from '../../services/signalr'
|
|||||||
import {DataService} from '../../services/api'
|
import {DataService} from '../../services/api'
|
||||||
import {invokeWebApiWrapperAsync} from '../../components/factory'
|
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'
|
import '../../styles/message.css'
|
||||||
|
|
||||||
const {Option} = Select
|
const {Option} = Select
|
||||||
@ -175,6 +180,9 @@ export default function TelemetryView({idWell}) {
|
|||||||
</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