def facilityMsToNet(SsVersionIndicator_presence=0):
 a = TpPd(pd=3)
 b = MessageType(mesType=58)
 c = Facility()
 packet = ((a / b) / c)
 if (SsVersionIndicator_presence is 1):
  d = SsVersionIndicatorHdr(ieiSVI=127, eightBitSVI=0)
  packet = (packet / d)
 return packet

def facilityMsToNet ( SsVersionIndicator_presence = 0 ) : a = TpPd ( pd = 3 ) b = MessageType ( mesType = 58 ) c = Facility ( ) packet = ( ( a / b ) / c ) if ( SsVersionIndicator_presence is 1 ) : d = SsVersionIndicatorHdr ( ieiSVI = 127 , eightBitSVI = 0 ) packet = ( packet / d ) return packet
facility section 9 .