var myRactive = this;
myRactive.prettyValue = GetPrettyValue(point);
myRactive.myValue = point.curVal;
myRactive.myNavName = this.shortName || point.navName;
myRactive.minInputValue = this.minVal || point.minVal || 0;
myRactive.maxInputValue = this.maxVal || point.maxVal || 100;
myRactive.minOutputValue1 = myRactive.minOutputVal || 580.686;
myRactive.maxOutputValue1 = myRactive.maxOutputVal || -200.686;
myRactive.minOutputValue2 = myRactive.minOutputVal || 579.022;
myRactive.maxOutputValue2 = myRactive.maxOutputVal || -201.022;
myRactive.minOutputValue3 = myRactive.minOutputVal || 559.78;
myRactive.maxOutputValue3 = myRactive.maxOutputVal || -221.78;
myRactive.minOutputValue4 = myRactive.minOutputVal || 600.264;
myRactive.maxOutputValue4 = myRactive.maxOutputVal || -180.264;
myRactive.minOutputValue5 = myRactive.minOutputVal || 600.887;
myRactive.maxOutputValue5 = myRactive.maxOutputVal || -178;
myRactive.minOutputValue6 = myRactive.minOutputVal || 607.686;
myRactive.maxOutputValue6 = myRactive.maxOutputVal || -173;
myRactive.minOutputValue7 = myRactive.minOutputVal || 580.686;
myRactive.maxOutputValue7 = myRactive.maxOutputVal || -200;
myRactive.myAccentColor = this.color || "#29ABE2";
var myRotateValue1 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue1, myRactive.maxOutputValue1);
var myRotateValue2 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue2, myRactive.maxOutputValue2);
var myRotateValue3 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue3, myRactive.maxOutputValue3);
var myRotateValue4 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue4, myRactive.maxOutputValue4);
var myRotateValue5 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue5, myRactive.maxOutputValue5);
var myRotateValue6 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue6, myRactive.maxOutputValue6);
var myRotateValue7 = fin.Utils.ResetBAS(point.curVal, myRactive.minInputValue , myRactive.maxInputValue , myRactive.minOutputValue7, myRactive.maxOutputValue7);
myRactive.ractive.animate('rotateValue1',myRotateValue1);
myRactive.ractive.animate('rotateValue2',myRotateValue2);
myRactive.ractive.animate('rotateValue3',myRotateValue3);
myRactive.ractive.animate('rotateValue4',myRotateValue4);
myRactive.ractive.animate('rotateValue5',myRotateValue5);
myRactive.ractive.animate('rotateValue6',myRotateValue6);
myRactive.ractive.animate('rotateValue7',myRotateValue7); |