{"version":"1.0","provider_name":"Go UML \u7e41\u9ad4\u4e2d\u6587","provider_url":"https:\/\/www.go-uml.com\/tw","author_name":"curtis","author_url":"https:\/\/www.go-uml.com\/tw\/author\/curtis\/","title":"Case Study: Temperature Control System State Diagram - Go UML \u7e41\u9ad4\u4e2d\u6587","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"j4Nl5o2Yf0\"><a href=\"https:\/\/www.go-uml.com\/tw\/case-study-temperature-control-system-state-diagram\/\">Case Study: Temperature Control System State Diagram<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/www.go-uml.com\/tw\/case-study-temperature-control-system-state-diagram\/embed\/#?secret=j4Nl5o2Yf0\" width=\"600\" height=\"338\" title=\"Case Study: Temperature Control System State Diagram &#8212; Go UML \u7e41\u9ad4\u4e2d\u6587\" data-secret=\"j4Nl5o2Yf0\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><script>\n\/*! This file is auto-generated *\/\n!function(d,l){\"use strict\";l.querySelector&&d.addEventListener&&\"undefined\"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!\/[^a-zA-Z0-9]\/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret=\"'+t.secret+'\"]'),o=l.querySelectorAll('blockquote[data-secret=\"'+t.secret+'\"]'),c=new RegExp(\"^https?:$\",\"i\"),i=0;i<o.length;i++)o[i].style.display=\"none\";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute(\"style\"),\"height\"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):\"link\"===t.message&&(r=new URL(s.getAttribute(\"src\")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener(\"message\",d.wp.receiveEmbedMessage,!1),l.addEventListener(\"DOMContentLoaded\",function(){for(var e,t,s=l.querySelectorAll(\"iframe.wp-embedded-content\"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute(\"data-secret\"))||(t=Math.random().toString(36).substring(2,12),e.src+=\"#?secret=\"+t,e.setAttribute(\"data-secret\",t)),e.contentWindow.postMessage({message:\"ready\",secret:t},\"*\")},!1)))}(window,document);\n<\/script>\n","thumbnail_url":"https:\/\/www.go-uml.com\/tw\/wp-content\/uploads\/sites\/2\/2024\/10\/img_67035cbcbbee2.png","thumbnail_width":"700","thumbnail_height":"439","description":"In this case study, we will explore a temperature control system using state diagrams. This tutorial will guide you through the components of the state diagram, illustrating how the system behaves based on temperature changes and control actions. Overview of the Temperature Control System The temperature control system is designed to maintain a desired temperature in an environment, such as a room or an industrial space. It consists of two main functions: heating and cooling. The system continuously monitors the current temperature and adjusts its state accordingly to maintain the desired temperature. &nbsp; Components of the State Diagram Let&#8217;s break down the state diagram into its key components: 1. States The state diagram contains the following main states: Idle: The default state when the system is not actively heating or cooling. Cooling: The state where the system is actively cooling the environment. Heating: The state where the system is actively heating the environment."}