NsecondBlock | 秒ブロックの個数。
関数win_countSecondBlock
の戻り値を与える。 The number of second blocks obtained by function win_countSecondBlock. |
winData | WINファイルから読み込んだWINデータ(秒ブロックのデータを並べた配列;
関数read_win_fileの戻り値)を与える。
各配列要素は1つの秒ブロックのデータを表す構造体であり、
そのメンバchannelBlockにはチャンネルブロックのデータを並べた配列が格納されている。
この関数内でこの「チャンネルブロックのデータを並べた配列」がソートされる。 Give a WIN data that was read from a WIN file (an array composed of the data of second blocks; the return value of function read_win_file). Each array component represents the data for each second block, which is a structure. The member channelBlock of this structure is an array composed of the data of channel blocks. Within this function, this “array composed of the data of channel blocks” is sorted. |
channelTable | チャンネルテーブルのデータ。
関数win_selectChannelTable
の戻り値を与える。 A channel table data given by function win_selectChannelTable. |
チャンネル Channels |
処理 Processings |
チャンネルテーブルとブロックのデータの両方に登場するチャンネル Channels that are present both in a channel table and the data of second blocks |
チャンネルテーブルにおける登場順と同じ順番になるように並べ替える。 Sorted in the order of channel table. |
チャンネルテーブルには登場するがブロックのデータには登場しないチャンネル Channels that are present in a channel table but absent in the data of second blocks |
メンバsize=0のダミーのチャンネルブロックデータを追加する。 A dummy channel block data with a member size=0 is added. |
チャンネルテーブルには登場せず秒ブロックのデータのみにチャンネル Channels that are absent in a channel table but presernt in the data of second blocks |
該当する配列要素を削除する。 The corresponding array components are removed. |