{
case Boolean:
{
if (p.contains("true") || p.contains("false"))
{
newval = new BooleanValue(Boolean.parseBoolean(p));
break;
}
try
{
newval = new BooleanValue(Double.valueOf(p) > 0 ? true
: false);
} catch (NumberFormatException e)
{
debugErr(e);
throw new RemoteSimulationException("Faild to setvalue from: "