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