|
@@ -4,6 +4,9 @@ public class HolonTransformer extends CpsObject {
|
|
|
|
|
|
/* Ratio of the transformer */
|
|
/* Ratio of the transformer */
|
|
float transformRatio;
|
|
float transformRatio;
|
|
|
|
+
|
|
|
|
+ /*Fixed transform value */
|
|
|
|
+ float transformFixed;
|
|
|
|
|
|
/**
|
|
/**
|
|
* Constructor Set type of object (Transformer), its transform ratio and the
|
|
* Constructor Set type of object (Transformer), its transform ratio and the
|
|
@@ -41,4 +44,23 @@ public class HolonTransformer extends CpsObject {
|
|
public float getTransformRatio() {
|
|
public float getTransformRatio() {
|
|
return this.transformRatio;
|
|
return this.transformRatio;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Set fixed Transform Value
|
|
|
|
+ *
|
|
|
|
+ * @param fixed
|
|
|
|
+ * desired fixed Transform Value
|
|
|
|
+ */
|
|
|
|
+ public void setTransformFixed(float fixed) {
|
|
|
|
+ this.transformFixed = fixed;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Output the actual fixed Transform Value
|
|
|
|
+ *
|
|
|
|
+ * @return actual fixed Transform Value
|
|
|
|
+ */
|
|
|
|
+ public float getTransformFixed() {
|
|
|
|
+ return this.transformFixed;
|
|
|
|
+ }
|
|
}
|
|
}
|