I don't use TOS so I can't help you with the nuances of their platform display. But perhaps I can explain some or all, of what you are asked.
To make sense of 315 contracts trading with an Open Interest of 10, you'd have to know yesterday's OI to judge how many of the 315 contracts were closing executions (both sides) versus calls just changing hands. It's not a meaningful piece of data but only an explanation of the disparity between the two numbers.
In the second set of data, other than the last line, all of the trades occurred at the Ask price and were marked green. It's a reasonable assumption that these were all Buy orders but it's not etched in stone that all of them were because one leg of a spread order can be filled at any price. Let's assume they were all Buy orders. Again, not important.
The last fill for 5 contracts at 15:52 is suspicious (red line) because the price jumped along with the IV and delta while the underlying was virtually unchanged. It's very possible that a spread order triggered this aberrant quote and proof of that would be found in another option chain that traded 5 contracts also at 15:52 and away from the market. If you want an explanation of that, ask away but otherwise, accept that it is possible.
The salient point is your question about whether these transactions were "Buy to open (going long) or Sell to open (going short)". As mentioned above, if 310 contracts traded at the Ask price, they were most likely all Buy orders. If so, there is no way to discern the intent of the buyer. They could have been any combination of the following:
Buyers closing existing short call positions
Buyers opening bullish long call positions
Buyers of spreads taking bullish positions or sellers taking bearish
positions
Bearish short sellers of stock hedging the upside by buying long calls
I hope that explains what you were asking about and if not, feel free to provide more details and ask away.