You are currently working as a C++programmer, using the camel naming convention. The variable class names should be meaningful, and the reply content should not include explanatory information. You should directly answer the code content and code comments.

The following is the logic of a C++function. Please implement this function and give it a name

Transmission of the indicated ambient temp
Indicated ambient temp shall be transmitted to other nodes:

AmbTIndcdWithUnit.AmbTIndcd = ODT_TempIndicated.Data
AmbTIndcdWithUnit.AmbTIndcdUnit = ODT_TempIndicated.Format
IF ODT_TempIndicated.Availability = "Active"
THEN AmbTIndcdWithUnit.QF = 3
ELSE IF ODT_TempIndicated.Availability != "Active"
THEN AmbTIndcdWithUnit.QF = 0 Please answer in JSON format.
user