This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"profiles": | |
{ | |
"defaults": {}, | |
"list": | |
[ | |
{ | |
"commandline": "cmd.exe /K \"d:/scripts/cdffmpeg4.4.bat\"", | |
"guid": "{860a4840-31bd-43bb-aaa9-b2b4b74af000}", | |
"hidden": false, | |
"name": "FFMpeg 4.4 Command Prompt", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
// Add custom actions and keybindings to this array. | |
// To unbind a key combination from your defaults.json, set the command to "unbound". | |
// To learn more about actions and keybindings, visit https://aka.ms/terminal-keybindings | |
"actions": | |
[ | |
// Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. | |
// These two lines additionally bind them to Ctrl+C and Ctrl+V. | |
// To learn more about selection, visit https://aka.ms/terminal-selection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void SMA1::Draw() | |
{ | |
if (firmware.IsA1() == true) | |
{ | |
drawNormal(); | |
} | |
else if (firmware.IsA2() == true) | |
{ | |
drawDoubleThick(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void SMA1_1.0::Draw() | |
{ | |
drawNormal (); | |
} | |
void SMA1_2.0::Draw() | |
{ | |
drawDoubleThick(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void SMA1::Draw() | |
{ | |
firmware->Draw(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SMA1::SMA1(string firmwareType) | |
{ | |
if (firmwareType=="1.0") | |
{ | |
firmware = new firmware1_0(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colour SMA1::GetColourLED() | |
{ | |
if (Firmware() == 1.0) | |
return colour::Blue; | |
else if (Firmware() == 2.0) | |
return colour::Green; | |
etc. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colour Firmware1_0::GetColourLED( | |
{ | |
if (GetMuxType() == SMA1) | |
return colour::Blue; | |
else (GetMuxType() == SMA4) | |
return colour::Green; | |
} |