LaserPowerChange

public class LaserPowerChange implements Message

A message containing information about a fluorophore state transition.

Author:Kyle M. Douglass

Fields

POWER

public final double POWER

TYPE

public final MessageType TYPE

Constructors

LaserPowerChange

public LaserPowerChange(double power)

Methods

getType

public MessageType getType()

An identifier that indicates where this message originated from.

Returns:The message type.

toJson

public JsonElement toJson()

Returns the the message as a JSON string.

Returns:The properties of the fluorophore as a JSON string.