public void Main(string argument, UpdateType updateSource) { var debug = string.Empty; //AutoMove.Get(GridTerminalSystem).MoveAll(Welder1DesiredQuantities.Keys.ToList(), "S.HERM Cargo Components Container", new List<string>{ "Welder 1 Cargo Container" }); //AutoMove.Get(GridTerminalSystem).MoveAll(ores, "S.HERM Cargo Ore / Ingot Container", new List<string>() { }); //AutoMove.Get(GridTerminalSystem).MoveAll(new List<string>() { "Ice" }, "S.HERM Cargo Ice Container", new List<string>() { }); // Fill welder contents //debug = AutoMove.Get(GridTerminalSystem).MoveToQuota("S.HERM Cargo Components Container", "Welder 1 Cargo Container", Welder1DesiredQuantities); // Show contents of components container ShowContainerContents.Get(GridTerminalSystem).PrintContents("S.HERM LCD Components", "S.HERM Cargo Components Container", "=== S.HERM Cargo Components ==="); // Show contents of ores container ShowContainerContents.Get(GridTerminalSystem).PrintContents("S.HERM LCD Ores", "S.HERM Cargo Ore / Ingot Container", "=== S.HERM Cargo Ore / Ingot ==="); // Show contents of welder1 container ShowContainerContents.Get(GridTerminalSystem).PrintContents("S.HERM LCD Welder 1", "Welder 1 Cargo Container", "=== Welder 1 contents ==="); //Debug messages var lcds = GridBlocksHelper.Prefixed(GridTerminalSystem, "S.HERM LCD Airlock debug").GetLcdsPrefixed(); if (lcds.Count == 0) { throw new Exception(string.Format("No lcd found with name starting with {0}", "S.HERM LCD Airlock debug")); } // Print the message on the lcd(s) LcdOutputHelper.ShowMessageOnLcd(lcds[0], new LcdOutputHelper.LcdMessage("Debug:\n" + debug)); }
public void Main(string argument, UpdateType updateSource) { var debug = string.Empty; // Move timmer timer++; ShowContainerContents.Get(GridTerminalSystem).PrintGroupContents("LCD Panel", "=== MNR 2 Contents ===", "MNR 2 Contents", timer); }