public void SetShortFloatCommand(int commonAddress, CauseOfTransmission cot, int informationObjectAddress, IeShortFloat shortFloat, IeQualifierOfSetPointCommand qualifier) { var aSdu = new ASdu(TypeId.C_SE_NC_1, false, cot, false, false, originatorAddress, commonAddress, new[] { new InformationObject(informationObjectAddress, new[] { new InformationElement[] { shortFloat, qualifier } }) }); Send(aSdu); }
public void SetNormalizedValueCommand(int commonAddress, CauseOfTransmission cot, int informationObjectAddress, IeNormalizedValue normalizedValue, IeQualifierOfSetPointCommand qualifier) { var aSdu = new ASdu(TypeId.C_SE_NA_1, false, cot, false, false, originatorAddress, commonAddress, new[] { new InformationObject(informationObjectAddress, new[] { new InformationElement[] { normalizedValue, qualifier } }) }); Send(aSdu); }
public void SetScaledValueCommandWithTimeTag(int commonAddress, CauseOfTransmission cot, int informationObjectAddress, IeScaledValue scaledValue, IeQualifierOfSetPointCommand qualifier, IeTime56 timeTag) { var aSdu = new ASdu(TypeId.C_SE_TB_1, false, cot, false, false, originatorAddress, commonAddress, new[] { new InformationObject(informationObjectAddress, new[] { new InformationElement[] { scaledValue, qualifier, timeTag } }) }); Send(aSdu); }