// Parse LEVEL I FULL QUOTE ID=S1 (ASCII)
// displaying the fields and values for a full quote to the user form
public string ParseS1(byte[] Data)
{
L1Quote L1Quote = new L1Quote();
short RecordLength = BitConverter.ToInt16(Data, 2);
string full_message = "";
for(int i = 4; i < RecordLength-1;)
{
short FieldID = BitConverter.ToInt16(Data, i);
i+=2;
lock(this)
{
string message="";
i = ParseField(ref L1Quote, FieldID, ref Data, i, ref message);
full_message += message;
}
}
return full_message;
}