mis/mis library

  • interface-Base class for mis classes
  • dwv: version: 1.1.0. 23.11.2023. created: 27.3.2022
  • devState: 8% PLAN: yes SCHEDULE: NO.

Classes

BlanketChore
Many important dawo classes are extending Alpha class. alpha class
Camp
Effort
Effort class controls resources, that are meant for chore. Common resources are in equ with mission. Effort is working-screen for user, with in and out-data.
Equipment
Material and name resources for Missions and Chore.
MisInterfaceBasis
interface-Base class for mis classes, serves more like a model to further develop more complicated classes. users: affair, bind, mis_interf, misorate, store project: InterfaceBasis
Mission
devl:MIS Use some private methods, for not to spam scope. Mission avoids consciously using clear and handy structure of Chore class, for to leave space for innovation and to find different solutions for ops. Mission handles acts below -app level, but above chore. Mission can include many chores. 7 Chores are build by default. devl:MIS Mission has 31 public members !! TESTED: when extending BaseStruct: Too many arguments in constructor.
MissionData
Fill certain fields
Scout
Scout was ready and easy.. so adopted it for connector.scoutJoin Finding later some connect class Camp. Separated Scout class to own library
Treaty
QUEST: HowTo efficiently use this DailyTreaty class to run dawo-roll? devl:MIS Tie equ.week and month to get #TimeSchedule

Properties

bilateralL List<String>
getter/setter pair
bilateralM Map<String, String>
Map
getter/setter pair
bilateralWeekL List<String>
getter/setter pair
bilateralWeekM Map<String, String>
Map
getter/setter pair
camp Camp
creating instance
getter/setter pair
choreBuf StringBuffer
This is for ALL chores,
getter/setter pair
choreComL List<BlanketChore>
Chores that operate in common area, outside Mission class.
getter/setter pair
dartlangMission Mission
getter/setter pair
dawLibWorkReadiness num
using - getters -example
getter/setter pair
eff Effort
Creating instance of effort class. From now on there is ONLY ONE instance of Effort class. All it's activity is rolled via chore.dart
getter/setter pair
effortReadiness num
getter/setter pair
equ Equipment
Creating instance with short handy name.
getter/setter pair
helsinkiMission Mission
getter/setter pair
misInfo String
getter/setter pair
missionData MissionData
getter/setter pair
missionM Map<String, Mission>
#NOTE: #effort is not visible here. Only in chore.dart. Buffer also outside class, for testing and adding visibility. Generic list to keep all missions. In case for handling other, super- or sub-missions; code something more. buildMissions() fills this Map. It is outside of the Class.
getter/setter pair
myMusicMission Mission
getter/setter pair
myTimeMission Mission
getter/setter pair
nationalParksMission Mission
getter/setter pair
packDawoMission Mission
Create Mission class instances.
getter/setter pair
pBNotNow bool
devl:MIS Temporary hack.
getter/setter pair
scout Scout
creating instance
getter/setter pair
treatyBuf StringBuffer
getter/setter pair
treatyM Map<String, Treaty>
getter/setter pair
treatyRandom Random
getter/setter pair
typeDefTestS String
getter/setter pair

Functions

buildMissions(String caller) → void
Add clay ( data ) maps to missions. devl:MIS Messy function buildMissions. Clean, organize it.
choreEffort(String caller) → void
Quick hack to run effort from test aso files. This is only access to effort. devl:MIS dd parameters: BlanketChore chr, var _act
choreToEffortUserJson(String caller) → void
QuickHack devl:MIS add parameters: BlanketChore chr, var _act
doChore(BlanketChore chr, dynamic _act) → void
main W O R K routines
effortCallingUserJson(String caller) → void
Chaining calls to serve userJson.
effortOperationMapPrint(Map thisMap) → void
howTo: howToMap: Method to print a map. HowToPrintMap:
endChore(BlanketChore chr, dynamic _act) → void
routines, after W O R K is done
handler(String _key, dynamic _inS, BlanketChore chr, dynamic _act) → void
#QUEST: Construct functions outside of Chore and use them for something. Assume that Chore needs outside-activity to organize all-Chore's. Outer functions return a String value to Map<String, String> operations. Some elementary: "execute-in-every-user-command-if-flagged" ideas. Sometimes these 11 functions are executed in EVERY occasion / keystroke..
helloMission() → void
NOTE: Chore-list is inside this class. Most outside activity to Chore, is accessed via Mission-class. To publish name in scope for testing visibility.
initChoreSystem() → void
devl:MIS devMemo: == #chore, that is always in dawoApp So dawoApp uses chore to maintain it's work-projects. Initializing of chore system. Update dev-class. CalledBy: dawo_app build.
lowGrant(BlanketChore chr, dynamic _act) → void
USAGE: Execution of EVENT is meant to be slowed-up.. as long as possible.
missionChoreReport(String caller) → void
Show missions and their chores.
renderChore() StringBuffer
example / testing chore ---------------------------------------------- Should show use-case of all Chore inner and outer methods.
renderMission(String caller) → void
Creating instance of Mission and using it's methods. All render_X functions are for test and presentation.
sideGrant(BlanketChore chr, dynamic _act) → void
USAGE PLAN: Run occasionally / timely, in sidebar.
startChore(dynamic roller, dynamic aLog, dynamic xList, dynamic yChore, dynamic zSignal) → void
flow of chore might be like this... Functions to execute W O R K flow
topGrant(BlanketChore chr, dynamic _act) → void
Function named like this, should act with highest priority.
uniteChore(BlanketChore chr, dynamic _act) → void
United chore W O R K routines.