Sha256: 2518153046b85b3192f9179a0c62bc34afd379142a96d5f0ba874d5cee1ed0ba
Contents?: true
Size: 767 Bytes
Versions: 3
Compression:
Stored size: 767 Bytes
Contents
# encoding: ascii-8bit # Copyright 2023 OpenC3, Inc. # All Rights Reserved. # # Licensed for Evaluation and Educational Use # # This file may only be used commercially under the terms of a commercial license # purchased from OpenC3, Inc. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # The development of this software was funded in-whole or in-part by MethaneSAT LLC. require 'openc3/utilities/store' class CfdpModel def self.get_next_transaction_seq_num key = "cfdp/#{ENV['OPENC3_MICROSERVICE_NAME']}/transaction_seq_num" transaction_seq_num = OpenC3::Store.incr(key) return transaction_seq_num end end
Version data entries
3 entries across 3 versions & 1 rubygems