Exemple #1
0
 public MiningArmState(MiningArmState?value = null)
 {
     this.state      = value?.state ?? MiningArmStateEnum.UNKNOWN;
     this.hingeAngle = value?.hingeAngle ?? float.NaN;
 }
Exemple #2
0
 public MiningArmState(MiningArmStateEnum state, float hingeAngle)
 {
     this.state      = state;
     this.hingeAngle = hingeAngle;
 }