public void CallOrSelectFiles(int commonAddress, CauseOfTransmission cot, int informationObjectAddress, IeNameOfFile nameOfFile, IeNameOfSection nameOfSection, IeSelectAndCallQualifier qualifier) { var aSdu = new ASdu(TypeId.F_SC_NA_1, false, cot, false, false, originatorAddress, commonAddress, new[] { new InformationObject(informationObjectAddress, new[] { new InformationElement[] { nameOfFile, nameOfSection, qualifier } }) }); Send(aSdu); }
public void SendSegment(int commonAddress, int informationObjectAddress, IeNameOfFile nameOfFile, IeNameOfSection nameOfSection, IeFileSegment segment) { var aSdu = new ASdu(TypeId.F_SG_NA_1, false, CauseOfTransmission.FILE_TRANSFER, false, false, originatorAddress, commonAddress, new[] { new InformationObject(informationObjectAddress, new[] { new InformationElement[] { nameOfFile, nameOfSection, segment } }) }); Send(aSdu); }
public void AckFileOrSection(int commonAddress, int informationObjectAddress, IeNameOfFile nameOfFile, IeNameOfSection nameOfSection, IeAckFileOrSectionQualifier qualifier) { var aSdu = new ASdu(TypeId.F_AF_NA_1, false, CauseOfTransmission.FILE_TRANSFER, false, false, originatorAddress, commonAddress, new[] { new InformationObject( informationObjectAddress, new[] { new InformationElement[] { nameOfFile, nameOfSection, qualifier } }) }); Send(aSdu); }
public void LastSectionOrSegment(int commonAddress, int informationObjectAddress, IeNameOfFile nameOfFile, IeNameOfSection nameOfSection, IeLastSectionOrSegmentQualifier qualifier, IeChecksum checksum) { var aSdu = new ASdu(TypeId.F_LS_NA_1, false, CauseOfTransmission.FILE_TRANSFER, false, false, originatorAddress, commonAddress, new[] { new InformationObject( informationObjectAddress, new[] { new InformationElement[] { nameOfFile, nameOfSection, qualifier, checksum } }) }); Send(aSdu); }