Commit graph

35 commits

Author SHA1 Message Date
John Lewin
45f7063879 Upgrade framework to 4.7.1 2018-03-21 23:05:08 -07:00
Lars Brubaker
ab2fa6e910 Extruders beyond 0 only have temperature
Removed ability to set material for extruders other than the first
added settings for extruder 1-4 temp
Refactored emulator (move classes to new files)
Made the emulator support multiple extruders
2018-01-10 12:56:50 -08:00
John Lewin
ab2ddc71bc Fix emulator - prime queue with firmware startup message 2017-12-31 06:15:16 -08:00
John Lewin
369835d314 Move SerialPortCommunication to MatterControl.Printing project 2017-12-29 15:33:02 -08:00
John Lewin
70c1894c9a Use default WaitFor timeouts
- Issue MatterHackers/MCCentral#2427
2017-12-15 20:25:07 -08:00
John Lewin
b5d8832fe4 Overridable emulator heatup 2017-12-15 18:19:36 -08:00
John Lewin
7900faeb01 Emulator should process queued commands before exiting 2017-11-30 15:17:22 -08:00
John Lewin
cad3c23ef3 Improve emulator thread shutdown 2017-11-30 09:43:33 -08:00
John Lewin
8a559f29d4 Handle trailing text in M104/M109 temp parsing after S\d+ values
- Issue MatterHackers/MCCentral#2253
Emulator -> SetExtruderTemperature throws FormatException in Int.Parse
2017-11-15 07:32:42 -08:00
John Lewin
3bdf6a5b92 Reset projects to AnyCPU 2017-11-02 18:01:37 -07:00
Lars Brubaker
cc4dc1b954 Switch to any cpu 2017-11-02 15:58:12 -07:00
John Lewin
1b819b66eb Fix ExpectedEmulatorResponses test 2017-09-22 23:51:19 -07:00
John Lewin
83b7085aea Fix CompletingPrintTurnsoffHeat test 2017-09-22 23:38:15 -07:00
John Lewin
b2800b60a2 Fix insidious bug with commands being dropped on MC shutdown
- When not gated at WaitOne, with queued commands, MC port shutdown
  causes emulator read loop to exit without processing queue
- Don't exit loop until queue is empty
2017-09-16 21:25:32 -07:00
John Lewin
a10a8fd9e0 Add heaters to emulator, add ZPositionChanged event for test Z tracking 2017-09-16 21:25:31 -07:00
John Lewin
9f8fab01a9 Fix observed exception due to null/empty command varuiable 2017-09-14 13:31:43 -07:00
John Lewin
ce1e6d2c0c Only set .IsOpen = false after connection shutdown 2017-07-05 09:10:30 -07:00
John Lewin
a9bbd83b16 Use Initializer syntax on emulator commands 2017-07-04 10:36:34 -07:00
John Lewin
306bb1c718 Fix failing CloseShouldNotStopSDPrint test - append newlines 2017-07-03 17:07:11 -07:00
John Lewin
84f7142d07 Use queues for send/receive buffers, only Wait for received commands
- More clearly indicate non-used Read/Write signatures with exceptions
2017-07-03 15:49:44 -07:00
John Lewin
a2e632d53d Replace emulator with experimental implementation 2017-07-01 19:50:09 -07:00
John Lewin
c4b2e88921 Add Emulator test category 2017-06-11 07:59:13 -07:00
John Lewin
39fb56453e Revise PrinterRequestsResumeWorkingAsExpected test
- Test still failing due to pause dialogs not appearing
- Make WaitForPrintFinished helper/extension method
2017-06-02 21:20:56 -07:00
Lars Brubaker
352eb792f1 Merge branch 'smash_1.7.1' into design_tools
# Conflicts:
#	PartPreviewWindow/View3D/View3DWidget.cs
#	SlicerConfiguration/SliceSettingsWidget.cs
#	SlicerConfiguration/SlicingQueue.cs
#	StaticData/SliceSettings/Properties.json
2017-05-19 14:57:04 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
Lars Brubaker
84afaf8292 Update to framework 4.6.1 2017-03-15 14:45:14 -07:00
Lars Brubaker
5218a82783 Fixed regression where we turned off sd card printing temps.
Wrote regression test for cancel print code
Made the emulator able to simulate sd card files
2017-03-07 17:52:44 -08:00
John Lewin
6233620705 Fix typo, call Dispose 2017-02-14 10:15:13 -08:00
Lars Brubaker
b72d6b0c85 Wrote new test for cancel working. 2017-02-13 11:52:56 -08:00
Lars Brubaker
117c09b9f1 Cleaned up the new macro command syntax 2017-02-06 14:23:55 -08:00
Lars Brubaker
83832c77e1 Made the emulator track and report position
Made a failing test for print leveling working
2017-01-10 17:20:24 -08:00
Lars Brubaker
df4cf416d8 Put back in the dispose 2017-01-10 13:43:12 -08:00
Lars Brubaker
21376eed4e set correct target 2017-01-10 12:38:41 -08:00
Lars Brubaker
fe80c09668 Took out old emulator and put in a new c# one 2017-01-10 12:24:01 -08:00
larsbrubaker
f9f2d2c836 Porting the python emulator to c# 2017-01-10 08:21:11 -08:00